IF Statement

S

Susan Ireland

I am trying to create a IF statement that will take value in cell V3
and if its greater than 90% but less than or equal to 100% lookup up a
table and return a value from the table.

This is what I have so far and I know it's not right (as it doesn't
take into account values greater than 90%) but can't work out how to
correct it -

=IF(V4<=1,(LOOKUP(V4,Tables!$B$4:$C$104)*R4),0)

Help!
 
D

Don Guillett

=IF(V4<=1,(LOOKUP(V4,Tables!$B$4:$C$104)*R4),0)
=IF(and(v4>.9,V4<=1),(LOOKUP(V4,Tables!$B$4:$C$104)*R4),0)
 
G

gbowes

Try something like this:
=IF((V4>=.9 AND V4<=1),(LOOKUP(V4,Tables!$B$4:$C$104)
*R4),0)

The Boolean 'AND' operator requires BOTH conditions:
greater than/equal to 90% through LessThan/Equal to 100%

gary b
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top