Google Sheets Help!

Soldato
Joined
25 Oct 2014
Posts
3,065
Location
East of the Middle
Quick one here!
https://docs.google.com/spreadsheets/d/1kJI0TwIIbEVXBmvPx2WytDdqPu-ECgbeRovjAIcqvds/edit?usp=sharing

I am trying to get this sheet to take values from the K and Q column to represent an outcome in the R column.
So for example, if the target (Column K) is 'E'. I want it to use the formula
Code:
=IF(Q4>=3,"Rapid",IF(Q4>=2.8,"Good","Slow"))
But if the target is 'S' I want it to use the formula
Code:
=IF(Q4>=2.8,"Rapid",IF(Q4>=2.6,"Good","Slow"))
and so on.

Can this be done?

Cheers
 
Thanks for the input but it needs to take the value in the target column (K) in order to get the correct output.
Hope that makes sense!
 
Could you please elaborate? :D

I basically want this:
If value in column K is E
Then the formula in column R should show
=IF(Q4>=3,"Rapid",IF(Q4>=2.8,"Good","Slow"))
But if the value in column K is S it should show
=IF(Q4>=2.8,"Rapid",IF(Q4>=2.6,"Good","Slow"))
and so on...
How would I get an ElseIF to do that?
 
Ok I think I have done it using a bunch of IF statements!
This seems to work, if anyone has a more efficient way please let me know!
Code:
=IF(K4="E",IF(Q4>=3,"Rapid",IF(Q4>=2.8,"Good","Slow")),IF(K4="S",IF(Q4>=2.8,"Rapid",IF(Q4>=2.6,"Good","Slow")),IF(K4="CT",IF(Q4>=2.6,"Rapid",IF(Q4>=2.4,"Good","Slow")),IF(K4="WT",IF(Q4>=2.2,"Rapid",IF(Q4>=2,"Good","Slow"))))))
 
There is no such thing as ELSEIF in Excel, it's If(y,n,else), so what you've come up with makes sense.

Sorry I couldn't quite understand what you were after before.

Indeed,

Sorry I was dragged away before I could explain myself!
You can nest up to (I think 7-8) IF statements which you can use to create ELSEIF logic.

What you've put together is essentially that. :D
 
Back
Top Bottom