Using Nested Month Function

jmripley

New Member
Joined
Jul 18, 2012
Messages
6
My instructions tell me to use a "nested month function" to convert the date to a numerical month, using a VLOOKUP syntax. I have already used the formula =VLOOKUP(MONTH(A2),Quarters,2) in the cell. I'm not familiar with these functions, so any help is greatly appreciated. Thank you.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hello

What is the contents of "Quarters"?
 
Upvote 0
What is the result of the VLOOKUP ?
Is this what was asked in the instructions ?
 
Upvote 0
If you want to convert a date into a quarter, you can use:
="Quarter "&ROUNDUP(MONTH(A1)/3,0)
 
Upvote 0
Quarters has four cells = Quarter1 Quarter2 Quarter3 Quarter4 (in reference to the quarters in a year).
Quarters (as a named range) would need to be a 2 column range like this (for purposes of demonstrating how VLOOKUP works):

Book1
ABCDE
1DateQuarter_MonthQuarter
27/18/2012Quarter3_1Quarter1
3___4Quarter2
4___7Quarter3
5___10Quarter4
Sheet1

Quarters refers to: =$D$2:$E$5

Your formula entered in B2:

=VLOOKUP(MONTH(A2),Quarters,2)
 
Upvote 0
Yes this is how the table looks:

BreakpointsQuarter
1Quarter 1
4Quarter 2
7Quarter 3
10Quarter 4

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Yes this is how the table looks:

Breakpoints
Quarter
1
Quarter 1
4
Quarter 2
7
Quarter 3
10
Quarter 4

<TBODY>
</TBODY>
OK, does your formula not return the correct result? If not, then what date do you have in cell A2 and what result do you get?
 
Upvote 0
My result is correct to return the Quarter, but they are now asking to use a "nested Month function" to return the month for each quarter. This is where I am stuck.
 
Upvote 0
My result is correct to return the Quarter, but they are now asking to use a "nested Month function" to return the month for each quarter. This is where I am stuck.
Well, the lookup formula does contain a nested MONTH function as does the suggestion by Neil in post #5.

So, "nested Month function" is really ambiguous and open to interpretation.

Is this a school exercise? If so, then you may want to get more guidance on what you are expected to do with this.

There are many ways to get the calendar quarter from a date. Here are a couple:

A1 = some date

=CEILING(MONTH(A1)/3,1)

=INT((MONTH(A1)+2)/3)
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,042
Members
448,940
Latest member
mdusw

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