Formula for updating Month in date based on date in another cell?

mayoung

Active Member
Joined
Mar 26, 2014
Messages
257
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
In the example below I have a column of dates in column B, when I update the first date in the column (which font it bolded) I want the other dates to automaticlly update the month only. Is it possible to do this with a formula. Example if I change the bolded date to 03/10/2022 I want the other dates to start with 03 also. Looking for a formula to do this. I have idea where to start? Thank You in advance....

102/10/2022
202/10/2022
302/13/2022
402/13/2022
502/15/2022
602/18/2022
702/18/2022
802/19/2022
902/17/2022
1002/20/2022
1102/20/2022
1201/24/2022
1301/24/2022
1401/24/2022
1501/26/2022
1602/15/2022
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi Mayoung,

No, you can't use a formula because some of the dates are data and a cell can either contain data or a formula.

You could add another column to display your result, but that would add an extra 1 to 3 days if the column B dates are days 29, 30 or 31 and the month you want to set has less than those days in it.

Mayoung.xlsx
ABC
1103/10/2203/10/22
2202/15/2203/15/22
3302/18/2203/18/22
4402/18/2203/18/22
5502/15/2203/15/22
6602/18/2203/18/22
7702/18/2203/18/22
8802/19/2203/19/22
9902/22/2203/22/22
101002/25/2203/25/22
111102/25/2203/25/22
121201/24/2203/24/22
131301/24/2203/24/22
141401/24/2203/24/22
151501/26/2203/26/22
161602/15/2203/15/22
Sheet1
Cell Formulas
RangeFormula
B2B2=SUM(B5)
B3:B4B3=SUM($B$5+3)
B9B9=SUM($B$5+7)
B10:B11B10=SUM($B$5+10)
C1C1=B1
C2:C16C2=DATE(YEAR(B2),MONTH($C$1),DAY(B2))
 
Upvote 0
Solution

Forum statistics

Threads
1,213,524
Messages
6,114,117
Members
448,549
Latest member
brianhfield

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