Re: Nested IF(AND is not working
- From: Ron Rosenfeld <ronrosenfeld@xxxxxxxxxx>
- Date: Thu, 23 Jun 2005 20:55:59 -0400
On Thu, 23 Jun 2005 13:20:02 -0700, "Todd F." <ToddF@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
>I searched & searched for an old post to cover this but nothing out there.
>
>I have the following formula that is got an error in it:
>
>=IF(I2<30, "< 30"), IF(AND(I2>=30, I2<=60),"31-60"), IF(AND(I2>60,
>I2<=90),"61-90"), IF(I2>=91, "> 91")
>
>my goal is tot have the following for statements placed in a cell via this
>calculation to cover 4 possible variables.
>
>if number is then or equal to 30 then tag "<30"
>if number is 31 or greater and 60 or less then tag "31-60"
>if number is greater then 60 but less then or equal to 90 then tag "61-90"
>if number is greater then or equal to 91 then tag "91+"
>
>I use to do these all the time what is up with this formula:
>
>Thanks Todd Frisch tfrisch9@xxxxxxxxxxx
>
Try:
=VLOOKUP(A2,{0,"<30";31,"31-60";61,"61-90";91,"91+"},2)
--ron
.
- Follow-Ups:
- Re: Nested IF(AND is not working
- From: Todd F.
- Re: Nested IF(AND is not working
- References:
- Nested IF(AND is not working
- From: Todd F.
- Nested IF(AND is not working
- Prev by Date: Re: Counting cells with intervals
- Next by Date: Re: COUNT IF NOT EQUAL TO ZERO
- Previous by thread: Re: Nested IF(AND is not working
- Next by thread: Re: Nested IF(AND is not working
- Index(es):
Relevant Pages
|