Help with formula

mazher

Active Member
Joined
Nov 26, 2003
Messages
363
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

I am using this formula

=IF(E2<=0,"Expired",IF(E2<=7,"1 Weeks Left",IF(E2<=14,"2 Weeks Left",IF(E2<=21,"3 Weeks Left",IF(E2<=30,"4 Weeks Left",IF(E2<=60,"2 Months Left","More Than 3 Month"))))))

e2<= 0 its expired
e2 = 1 to 6 than "Less than a week"
e2 = 7 to 13 then "Less than 2 weeks"
e2= 14 to 20 then "Less than 3 weeks
e2= 21 to 31 then "Less than month"
e2= 32 to 60 then "Less than 2 months"
e2= 61 to 90 "Less than 3 months"

else " More than 3 Months


Can some one help me constructing this =if() or some better approach.

Regards

Mazher
 
Thnaks T. Valko

It was simple and it worked like a charm.

MaZhEr
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,225,155
Messages
6,183,212
Members
453,151
Latest member
Lizamaison

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top