How do I do an IF with a range?

M

Marcelo

Hi,
I need to find in a range if I have a certain value (>100 and <200) I was
trying =IF(AND(D3:H3>100,D3:H3<200),"OK","Neg")
but it give me the error: #value!
How do I do this?
Thanks
 
I

iliace

=IF(SUM((D3:H3>100)*(D3:H3<200)),"Neg","OK")

Use Ctrl+Shift+Enter after pasting in formula bar.
 

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