Link to home
Start Free TrialLog in
Avatar of wrt1mea
wrt1mea

asked on

I need to update the following formula

I am trying to come up with an IF statement to look at column A and see if its between two numbers...

=IFERROR(IF(2000<=$A2>=1000,$E2/$A2,""),"")

What I am using doesnt seem to be working correctly. I have tried to swap the < >, but it doesnt seem to work.
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

=IFERROR(IF(AND(2000<=$A2,$A2>=1000),$E2/$A2,""),"")

Kevin
Or...

=IF(AND($A2>=1000,$A2<=2000),$E2/$A2,"")

because you don't need to worry about #DIV/0 if A2 is always between 1000 and 2000.

Kevin
ASKER CERTIFIED SOLUTION
Avatar of PC_Bob
PC_Bob

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wrt1mea
wrt1mea

ASKER

Works great!!!