Question about a range of cells

C

Cerberus

I have a few drop-down categories that make numerous product options but I
want to encourage the customers to pick the products we keep on stock. I
have a list of the on hand products in cells B2 thru B88. Is there a way to
use that range of cells in something like an IF statement where I can say “on
stock†if it falls in that range or “special order†if it is not one of the
87 options we keep on hand?
 
T

Tom Hutchins

=IF(ISERROR(VLOOKUP($A$1,$B$2:$B$88,1,FALSE)),"Special Order","On Stock")

where A1 contains the product selected.

Hope this helps,

Hutch
 
C

Cerberus

Thank you for your help on this.

Tom Hutchins said:
=IF(ISERROR(VLOOKUP($A$1,$B$2:$B$88,1,FALSE)),"Special Order","On Stock")

where A1 contains the product selected.

Hope this helps,

Hutch
 

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