Count in Reverse the Number of Days from a Target Date (TD-X)

isadoko

Active Member
Joined
Jan 10, 2005
Messages
322
Office Version
  1. 365
Platform
  1. Windows
I need count backwards from a date, eg, 3/16/18. I have entered a dateline starting B2 (2/16/18) through AD2 (3/16/18)--AD2 is my target date. Am looking for something like TargetDate-1 (TD-1)..TD-2, TD-3, etc, all the way back to B2 (2/16/18) or TD-28. Would appreciate a formula that counts backwards and displays as I've written it TD-X. Thanks.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
So worked out this =Concatenate($AD$2,"-",AC2-$AD$2). However, must extend timeline to 9/16/18. Given longer timeline how then to know when in dragging back from FH2 will it know that a particular cell contains a target, ie, TD-X, and so not count it but instead recognize it as target and resume count backward one cell to the left. Targets and cells, after AD2 are: BI2, CM2, DR2, EV2, GA2 and HF2.
 
Upvote 0
Hi,

If you add a Header on the column(s) where it contains a "Target Date", then you can incorporate it in a formula.
 
Upvote 0
Do you mean something like =CONCATENATE(AD2,"",AD2-$AD$2)? I tried and simple but works--did not think of that. Will carry it to conclusion and see what comes of it. Thanks!
 
Upvote 0
Hitch... When target date changes, ie, TD1 to TD2 formula return nonsense...TD10 and next TD range starts with TD21. Need work out the transition.
 
Upvote 0
Can you show some sample data and what you want done, please.
It's difficult to come up with a formula not knowing how your data is.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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