• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Ageing bucket using if then else

Hello Friends,

I have a range of numbers where I need to group them as below :

Can you guys please help me with simple if then else statement

Appreciate your help

Condtions Remarks
Less than equal to 7 daysGreen
7 days to 30 DaysAmber
More than 30 daysGreen
 
assuming the value is in A2
=If(And(A2>7, A2<30),"Amber","Green")
 
Back
Top