Generating Month from Date for Fiscal Calendar

Christina4

New Member
Joined
Sep 26, 2017
Messages
3
Greetings,

My data is in the format MM/DD/YYYY and I want to generate the fiscal month and number. Example: Cell contains 7/5/2017 and formula generates 1-Jul. I have tried using the Month and Choose functions. I can get the output to yield the correct month number, but not the correct month name.Thank you for your help!

<tbody>
</tbody>

Christina
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
right click on the cell and go to properties under either the date or under custom you can set it to appear however you want. MM/YY MM-YY MM-YYYY

HTH
 
Upvote 0
right click on the cell and go to properties under either the date or under custom you can set it to appear however you want. MM/YY MM-YY MM-YYYY

HTH


Thank you for your response. I must have been unclear. I need both columns of data. I am writing a macro. I need a formula to read the provided date and generate the correct fiscal month and corresponding number.

C D
1 Month Warrant Date
2 =MONTH(D2)-6 7/5/2017

I tried the above formula, but it yields 1-Jan. I need it to say 1-Jul.
 
Upvote 0
For Fiscal Year end June 30, July is month 1.


Excel 2010
ABCDEF
15-Jul-171-Jul1Jul17
210-Jun-1812-June12Jun28
339
4410
5511
6612
771
882
993
10104
11115
12126
13
2a
Cell Formulas
RangeFormula
B1=LOOKUP(MONTH(A1),$E$1:$F$12)&"-"&TEXT(A1,"mmm")
B2=LOOKUP(MONTH(A2),{1,7;2,8;3,9;4,10;5,11;6,12;7,1;8,2;9,3;10,4;11,5;12,6})&"-"&TEXT(A2,"mmmm")
C1=LOOKUP(MONTH(A1),E1:F12)
C2=LOOKUP(MONTH(A2),E2:F13)
D1=TEXT(A1,"mmm")
D2=TEXT(A2,"mmm")
 
Last edited:
Upvote 0
For Fiscal Year end June 30, July is month 1.

Excel 2010
ABCDEF
15-Jul-171-Jul1Jul17
210-Jun-1812-June12Jun28
339
4410
5511
6612
771
882
993
10104
11115
12126
13

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
2a

Worksheet Formulas
CellFormula
B1=LOOKUP(MONTH(A1),$E$1:$F$12)&"-"&TEXT(A1,"mmm")
C1=LOOKUP(MONTH(A1),E1:F12)
D1=TEXT(A1,"mmm")
B2=LOOKUP(MONTH(A2),{1,7;2,8;3,9;4,10;5,11;6,12;7,1;8,2;9,3;10,4;11,5;12,6})&"-"&TEXT(A2,"mmmm")
C2=LOOKUP(MONTH(A2),E2:F13)
D2=TEXT(A2,"mmm")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



YIIPPPEEEE!

Thank you!
 
Upvote 0

Forum statistics

Threads
1,215,051
Messages
6,122,871
Members
449,097
Latest member
dbomb1414

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