Return Month from fiscal date range

sdeleon

New Member
Joined
Dec 29, 2016
Messages
2
I run my company on fiscal dates and have the ranges in date format. I need a formula to return the month based on the ranges I provide. Below is the table the has the month assigned to the fiscal date ranges.
If a cell reads 3/15/16 I need the output in a separate cell to read Mar.

Jan1/3/161/30/16
Feb1/31/162/27/16
Mar2/28/164/2/16
Apr4/3/164/30/16
May5/1/165/28/16
Jun5/29/167/2/16
Jul7/3/167/30/16
Aug7/31/168/27/16
Sep8/28/1610/1/16
Oct10/2/1610/29/16
Nov10/30/1611/26/16
Dec11/27/1612/31/16

<!--StartFragment--> <colgroup><col width="65" span="3" style="width:65pt"> </colgroup><tbody>
<!--EndFragment--></tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
something like...

Excel 2016 (Windows) 32 bit
ABC
1Jan1/3/20161/30/2016
2Feb1/31/20162/27/2016
3Mar2/28/20164/2/2016
4Apr4/3/20164/30/2016
5May5/1/20165/28/2016
6Jun5/29/20167/2/2016
7Jul7/3/20167/30/2016
8Aug7/31/20168/27/2016
9Sep8/28/201610/1/2016
10Oct10/2/201610/29/2016
11Nov10/30/201611/26/2016
12Dec11/27/201612/31/2016
13
143/15/2016Mar

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B14=LOOKUP(A14,B1:B12,A1:A12)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Hi,

Try below formula in cell "D"

= TEXT(MAX(B1:C1),"mmm")

I am able to respond in real time to you until it is solved!
 
Upvote 0
Assuming your lookup date is in cell E2, try the following formulas:

for the month's number =LOOKUP((E2-"2016-1-3")/7,{0,4,8,13,17,21,26,30,34,39,43,47,52},{1,2,3,4,5,6,7,8,9,10,11,12,#N/A})
for the month's 3-letter =TEXT(DATE(2016,LOOKUP((E22-"2016-1-3")/7,{0,4,8,13,17,21,26,30,34,39,43,47,52},{1,2,3,4,5,6,7,8,9,10,11,12,#N/A}),1),"mmm")
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,431
Members
448,961
Latest member
nzskater

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