Date formulae to pull two dates related to one another

gli

Board Regular
Joined
Jun 8, 2006
Messages
96
Hello all. I am looking for two formulas to return specific dates.

For the first, I need a formula that will return the most recent 8th day of the month before today. If I use the current timeframe as an example, the formula would return 9/8/18 until 10/8/18 occurs, then it will show that date instead (thereby rolling forward one month). It would then hold that date until 11/8/18 occurs when it switches to that date, etc. Let's say this formula is in B1.

The second formula would be in B2 and is predicated on the date returned in B1. It will need to show the next occurring 7th day of the month. So using the example above, if B1 returns 9/8/18, this formula would return 10/7/18. If B1 returns 10/8/18, this one would return 11/7/18, and so on.

My research so far has only been able to find formulas for specific dates for the nth day of the *current* month, and has thus been ineffective since my timeframe straddles months. Any help is greatly appreciated.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,215,470
Messages
6,124,995
Members
449,201
Latest member
Lunzwe73

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