Countdown Formula?

mcintoshmc

Active Member
Joined
Aug 10, 2007
Messages
277
I would like to create a countdown formula that would calculate how many days until someone's start date. I know I can do A2-TODAY(), but that will result into a negative number if the date has passed, or if a person just doesn't have a date period. If there is no date, the result would be -43172.

I would like the formula to only reflect a positive number if the date is still in the future, and the word "Hired" if a negative number. I will make sure everybody has some type of start date.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about this:

=IF(A2-TODAY()>0,A2-TODAY(),"HIRED")

This will return HIRED if the Start Date = TODAY. If you want it to just show 0, then change the > to >=.
 
Last edited:
Upvote 0
I just realized that I didn't account for not having a hire date. If you need to account for that, try this:

=IF(A2="","",IF(A2-TODAY()>0,A2-TODAY(),"HIRED"))
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,636
Members
452,663
Latest member
MEMEH

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