Counting Days Formula

DyingIsis

New Member
Joined
Mar 26, 2010
Messages
9
Hello Everyone -

First, super thanks for the assist.

Second, my problem.

I'm trying to find a formula that helps me to count the days to a target date and then counts the days since the target date.

Meaning, if I want to count the number of days from today until my birthday in May (for example), I would like the output of the formula to be a negative number. (The negative number would tell me that it is before my birthday.)

If it is now June, and I use the formula to count from my birthday, it would tell me how many days have passed since my birthday. (The positive number would tell me that it is my birthday has passed.)

I have set up a table in which Column A has target dates. I would like a formula to live in Column B that tells me which rows are not yet to the target date based on today's date and which rows are past the target date based on today's date.

Any help would greatly be appreciated.

Thanks for your time.

- DyingIsis :confused:
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Put this in B1 and copy it down column B. Make sure you format column B as "General". Excel will try to automatically format it as a Date because the formula contains dates.

=Today()-A1
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

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