If statement between months on hand and a date

Vincent Thank You

New Member
Joined
Oct 3, 2017
Messages
18
=IF(G74<((I74)-(MONTH(TODAY()))), "ALERT", "")


[TABLE="width: 382"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]MONTHS ON O/H[/TD]
[TD]ALERT[/TD]
[TD]EXPECTED DATE[/TD]
[/TR]
[TR]
[TD]0.3[/TD]
[TD]ALERT[/TD]
[TD="align: right"]8/30/2019
[/TD]
[/TR]
</tbody>[/TABLE]

Hello!

I can't get this formula to work correctly!
I'd like to have the word "Alert" added to the center cell if the difference between today and the expected date is less than the months on hand. If I had 1 weeks worth of inventory left on hand and the inventory won't arrive for 3 weeks based on the expected date, the word Alert would appear. Thanks in advance for any advice!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
What does 0.3 for "MONTHS ON O/H" actually mean?
Is that 0.3 of 1 month, which would be about 9 days?
 
Upvote 0
But what EXACTLY does 0.3 mean (in plain English)?
What does it translate to?
Is it 0.3 months, as in "9 days", or something else?

Please explain exactly how it is to be interpretted, in reference to this formula, where you want to compare it to elapsed time.
 
Last edited:
Upvote 0
But what EXACTLY does 0.3 mean (in plain English)?
What does it translate to?
Is it 0.3 months, as in "9 days", or something else?

Please explain exactly how it is to be interpreted, in reference to this formula, where you want to compare it to elapsed time.

I apologize Joe, yes, .3 months would be roughly 9 days. .5 would 1/2 month. The actual business days in a month change slightly though but 9 days would be roughly .3 months i guess.
 
Upvote 0
OK, in that case try something like:
Code:
[COLOR=#333333]=IF((G74*30)<(I74-TODAY()), "ALERT", "")[/COLOR]
(assuming 30 days in a month)
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,143
Members
453,021
Latest member
Justyna P

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