Enter Range

H

holyman

I have a list of data in Column B, and I need a formula in column A that
returns either dependant on what the cell value is in column B.

Needs to return on of the following '<31', '31 - 60', 61 - 90', '91 - 180',
'>180'

e.g
Column A Coulmn B
31 - 60 45
31 - 60 52
91 - 180 118
etc

Can this be done at all?
 
D

Don Guillett

You can use nested IF functions or LOOKUP .
Look in the help index for LOOKUP
 
H

holyman

Many thanks for pointing me in right direction. Now got what I need (well it
returns the correct values!!

=LOOKUP(I2,{0,31,61,91,181,1000},{"<31","31 - 60","61 - 90","91 -
180",">180"})
 

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