VBA or Formula

ChrisFoster

Active Member
Joined
Jun 21, 2019
Messages
256
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Bear with me here, I'm trying to explain everything I think is relevant.

I have circa 17,000 rows of data that contain revenue for my business, spanning from 22nd August 2022 to current date.
Each row has a date in column A stating the date funds hit the account.

However, for reporting reasons I need to break this down as if the months were 15th to 14th of each month, so for example 15th August to 14th September 2022 is actually classed as September 2022, once it hits 15th September 2022 that is the start of October 2022 up to 14th October which then which moves into November from the 15th onwards, etc.

Column B has the amounts in £'s.
Column C has the type of transaction this is.

How on earth can I do this without trawling through 17,000 cells to change the date?

Thanks

Chris
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
You could add a column with a formula like:

Excel Formula:
=DATE(YEAR(A2),MONTH(A2)+(DAY(A2)>14),1)
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,082
Members
453,021
Latest member
Justyna P

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