# Countdown Formula?

#### mcintoshmc

##### Active Member
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.

#### dreid1011

##### Well-known Member

=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:

#### mcintoshmc

##### Active Member

=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 >=.
That'll work. Thanks.

#### dreid1011

##### Well-known Member
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"))

1,081,415
Messages
5,358,533
Members
400,502
Latest member
price83

### This Week's Hot Topics

• VBA (Userform)
Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
• List box that changes fill color
Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
• Remove duplicates and retain one. Cross-linked cases
Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
• VBA Copy and Paste With Duplicates
Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
• Macro
is it possible for a macro to run if the active cell value is different to the value above it
• IF DATE and TIME
I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...