IF Functions for a table to find Fiscal Month

michaxcore

New Member
Joined
May 28, 2015
Messages
4
Hi, sorry about the title, I didn't really know how to word my problem.

I have cells with a date and in the cell next to it I would like to know what fiscal month that date falls under using the table below.

STARTENDMONTH
12/28/20141/24/2015JANUARY
1/25/20152/21/2015FEBRUARY
2/22/20153/28/2015MARCH
3/29/20154/25/2015APRIL
4/26/20155/23/2015MAY
5/24/20156/27/2015JUNE
6/28/20157/25/2015JULY
7/26/20158/22/2015AUGUST
8/23/20159/26/2015SEPTEMBER
9/27/201510/24/2015OCTOBER
10/25/201511/21/2015NOVEMBER
11/22/201512/26/2015DECEMBER
12/27/20151/23/2015JAN 2016

<tbody>
</tbody>

I am familiar with vlookup, index/match, and if statements but I am confused on how to write an if function to go thru that table and shoots back the month associated in the date range.

For Example:
3/12/2015MARCH
4/26/2015MAY
4/25/2015APRIL

<tbody>
</tbody>

Thank you for the replies!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
ABCDEFG
1STARTENDMONTH3/12/2015MARCH
212/28/20141/24/2015JANUARY4/26/2015MAY
31/25/20152/21/2015FEBRUARY4/25/2015APRIL
42/22/20153/28/2015MARCH
53/29/20154/25/2015APRIL
64/26/20155/23/2015MAY
75/24/20156/27/2015JUNE
86/28/20157/25/2015JULY
97/26/20158/22/2015AUGUST
108/23/20159/26/2015SEPTEMBER
119/27/201510/24/2015OCTOBER
1210/25/201511/21/2015NOVEMBER
11/22/201512/26/2015DECEMBER
12/27/20151/23/2015Jan-16

<tbody>
</tbody>
* shouldn't it been 1/23/2016?
G1:
=INDEX($C$2:$C$14,MATCH(1,($A$2:$A$14<=F1)*($B$2:$B$14>=F1),0))
Ctrl + Shift + Enter
 
Upvote 0
Yeah it should be 2016. Thank you for finding that mistake and thanks for finding a formula that works, I appreciate it. However I realized I would like that table on a separate sheet so that I can add the sheet to an existing workbook and just enter a formula to calculate the fiscal month. I tried to tweak the formula you provided to work on another sheet but it didn't work. Any ideas on a workaround? Thanks again!
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,182
Members
448,948
Latest member
spamiki

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