Adding date, but stopping at the last day of the month

thunt1274

New Member
Joined
Jun 14, 2020
Messages
1
Office Version
  1. 2007
Platform
  1. Windows
I need help setting up a formula. My employer lost the contract & a new company is taking over. The current company was set up for bi-weekly pay periods, but the new company is set up for bi-monthly pay periods. In my spread sheet I have 16 cells set up for dates. I have a formula for the first cell that will put the correct date in & i know how to leave a blank space / NA. What i need help with is not to go into the next month.
For example in Feb, the last pay period will be from the 16th - 28th. I need to set up a formula that will stop on the last day of the month & show "NA" for the rest of the cells.
Any help will be greatly appreciated.
 

Some videos you may like

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

pjmorris

Well-known Member
Joined
Aug 2, 2012
Messages
1,988
Office Version
  1. 2016
Platform
  1. Windows
I'm sure someone on here can provide a formula for you, but I'm not clear on the layout of your data and the required output. If you use the XL2BB utility (button above) you can paste your spreadsheet. It helps enormously if you can show a sample of your starting point and the output you want to achieve.
 

Watch MrExcel Video

Forum statistics

Threads
1,126,932
Messages
5,621,671
Members
415,849
Latest member
PhoenixRising2015

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
Top