Training Update formula

tim677

New Member
Joined
Mar 11, 2011
Messages
6
I'm still struggling with this formula

I have the following
=IF(V9+365>P3,AB1,AB2)
V9 = the cell a date is typed in
P3 is using =NOW() function
AB1 = 1
AB2 = 2
This sheet will be used to identify if training requires updating annually (1) meaning in date and (2) meaning out of date.
I may need to re-write this formula but I need
1 = greater than 0 but less than 335
2= greater than 335 but less than 365
3 = greater than 365

 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Does this help?

=IF(V9+334>P3,AB1,IF(V9+364>P3,AB2,AB3))

I suggest that P3 should use the TODAY function so that the results won't change during the day.
 
Upvote 0
Thank you all for your responses. The point of using the =NOW() function is for the results to change every day, allow me to elaborate:-
I have produced a training matrix which managers use to identify staff training updates.
They type in the date e.g 24/03/2011 and this feeds of the =NOW() cell so when they open the spreadsheet on 24/03/2012 it will automatically alert them that training it required. This is indicated with ticks and crosses (using conditional formating) I now need to give them a months warning that the training will soon need to require an update using an exclamation mark.
 
Upvote 0
all giordano was saying was the now function has minutes and second whilst today() just has the date.
I am a little lost now,

we have all given you different formulas to achieve a 1 2 or three, is this not what you are looking for after all?
 
Upvote 0
Comparing this to the duplicate thread, which has slightly different criteria, maybe

=LOOKUP(TODAY()-V9,{0,335,365},{1,3,2})
 
Upvote 0
Right you are, I didn't consider the conditional formatting I had on at the time.
Thank you so much, this has been driving me mad.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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