month ranges excel 2010

toloy2k

New Member
Joined
Oct 17, 2015
Messages
6
Hi

I need to create reports of calls logged to a customer on a month basis, however they have requested that the bills are from the start of the contract date. so basically they want billing from the 5th of the month to the 4th of the next month. but still have graphs and tables show the month. there January runs from 5th January to 4th February, February runs from 5th of febuary to 4th march etc. is there a formula that if I have a spare column I can rename these lines in excel to the month based on the date as above mentioned.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hello there. Without more information I can only guess, but the following will give you the right result in column B for a date in column A.
Book1
AB
1DateMonth
204/03/2019February
306/04/2019April
423/04/2019April
501/05/2019April
609/05/2019May
717/05/2019May
Sheet1
Cell Formulas
RangeFormula
B2:B7B2=INDEX({"January","February","March","April","May","June","July","August","September","October","November","December"},1,LOOKUP(IF(DAY(A2)<5,IF(MONTH(A2)=1,12,MONTH(A2)-1),MONTH(A2)),{1,2,3,4,5,6,7,8,9,10,11,12}))
 
Upvote 0
Another option
=IF(DAY(A2)<5,TEXT(EDATE(A2,-1),"mmmm"),TEXT(A2,"mmmm"))
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,316
Members
448,564
Latest member
ED38

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