How do I create a formula that searchs 1-cell for a range of numbe

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm looking to search 1-cell for a range of numbers i.e
I want to enter a formula in cell C-1
if cell A-1 is >16 or <30, I want the formula to provide me the info in
cell B-1. If the criteria is not met, I want to see a null value.

Let me know. Thanks!
 
=IF(AND(A1>16,A1<30),A1,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Thanks Bob. I was missing the second A1 entry for the <30! This eleviated
my 2 hours of torture trying to figure this out.
 
Glad to be of service.

Bob

Greg Bobak said:
Thanks Bob. I was missing the second A1 entry for the <30! This eleviated
my 2 hours of torture trying to figure this out.
 

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

Back
Top