Date Formula

esgca2010

New Member
Joined
Jul 29, 2010
Messages
31
Hello,

I would like to create a formula that works from the first date entered into a cell.

Scenario:

1st date is entered by the user. In another column, I would like the following month but it should start on the 1st.

Example:

User Enters the 1st date in the first column. The second and third column has a formula based on the date of the first column that displays the 1st of the month
3/09/18 - 4-01-18 - 5-01-18
3/13/18 - 4-01-18 - 5-01-18
3/19/18 - 4-01-18 - 5-01-18

I truly appreciate your support.

Thank you,

Elaine
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Let's say that the first entry is in cell A2

Then in cell B2, enter the formula:
Code:
=DATE(YEAR(A2),MONTH(A2)+[COLOR=#ff0000][B]1[/B][/COLOR],1)

And in C2, just use:
Code:
=DATE(YEAR(A2),MONTH(A2)+[COLOR=#ff0000][B]2[/B][/COLOR],1)
(you can see the pattern)
 
Upvote 0
Hi,

How about:


Book1
ABCDE
13/9/20184/1/20185/1/20186/1/20187/1/2018
23/13/20184/1/20185/1/20186/1/20187/1/2018
33/19/20184/1/20185/1/20186/1/20187/1/2018
Sheet72
Cell Formulas
RangeFormula
B1=EOMONTH(A1,0)+1


B1 formula copied down and across as far as needed.
 
Upvote 0
Thank you!!!

You are the BEST!!!

Hello,

I would like to create a formula that works from the first date entered into a cell.

Scenario:

1st date is entered by the user. In another column, I would like the following month but it should start on the 1st.

Example:

User Enters the 1st date in the first column. The second and third column has a formula based on the date of the first column that displays the 1st of the month
3/09/18 - 4-01-18 - 5-01-18
3/13/18 - 4-01-18 - 5-01-18
3/19/18 - 4-01-18 - 5-01-18

I truly appreciate your support.

Thank you,

Elaine
 
Upvote 0
You're welcome, glad we can help.
 
Upvote 0

Forum statistics

Threads
1,215,374
Messages
6,124,571
Members
449,173
Latest member
Kon123

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