Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Quarter vs Month

This formula may look familiar as I have come here for help on it before, but
my question is a tweak for it:
{=COUNT(1/FREQUENCY(IF((Log!$A$6:$A$1000=A42)*(MONTH(Log!$G$ 6:$G$1000)=$E$37),MATCH(Log!$B$6:$B$1000&"",Log!$B $6:$B$1000&"",0)),ROW(1:499)))}

I am focusing on the section (MONTH(Log!$G$6:$G$1000)=$E$37). The E37 is a
cell in a spinner link. So as I increment the spinner the data is selected
for that month, 1-12.

Here is my problem. The monthly report is now a QUARTERLY report (Jan-Mar,
Apr-Jun, Jul-Sep, Oct-Dec). So my spinner range is now 1-4 instead of 1-12.
With the above formula if the month matched the spinner cell there was Joy in
Mudville. Now I need to get Jan-Mar when the spinner cell is 1, etc. Any
suggestions? Am I making this harder than it really is?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Quarter vs Month


from
(MONTH(Log!$G$6:$G$1000)=$E$37)
to
(Int((MONTH(Log!$G$6:$G$1000)-1)/3)+1,=$E$37)

"Bigfoot17" wrote:

This formula may look familiar as I have come here for help on it before, but
my question is a tweak for it:
{=COUNT(1/FREQUENCY(IF((Log!$A$6:$A$1000=A42)*(MONTH(Log!$G$ 6:$G$1000)=$E$37),MATCH(Log!$B$6:$B$1000&"",Log!$B $6:$B$1000&"",0)),ROW(1:499)))}

I am focusing on the section (MONTH(Log!$G$6:$G$1000)=$E$37). The E37 is a
cell in a spinner link. So as I increment the spinner the data is selected
for that month, 1-12.

Here is my problem. The monthly report is now a QUARTERLY report (Jan-Mar,
Apr-Jun, Jul-Sep, Oct-Dec). So my spinner range is now 1-4 instead of 1-12.
With the above formula if the month matched the spinner cell there was Joy in
Mudville. Now I need to get Jan-Mar when the spinner cell is 1, etc. Any
suggestions? Am I making this harder than it really is?

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Quarter vs Month

Fantastic! This was a great help.

I had to change the ",=$E$37)" + "=$E$37)" but it got me where I needed to
be. Thanks again.

"Joel" wrote:


from
(MONTH(Log!$G$6:$G$1000)=$E$37)
to
(Int((MONTH(Log!$G$6:$G$1000)-1)/3)+1,=$E$37)

"Bigfoot17" wrote:

This formula may look familiar as I have come here for help on it before, but
my question is a tweak for it:
{=COUNT(1/FREQUENCY(IF((Log!$A$6:$A$1000=A42)*(MONTH(Log!$G$ 6:$G$1000)=$E$37),MATCH(Log!$B$6:$B$1000&"",Log!$B $6:$B$1000&"",0)),ROW(1:499)))}

I am focusing on the section (MONTH(Log!$G$6:$G$1000)=$E$37). The E37 is a
cell in a spinner link. So as I increment the spinner the data is selected
for that month, 1-12.

Here is my problem. The monthly report is now a QUARTERLY report (Jan-Mar,
Apr-Jun, Jul-Sep, Oct-Dec). So my spinner range is now 1-4 instead of 1-12.
With the above formula if the month matched the spinner cell there was Joy in
Mudville. Now I need to get Jan-Mar when the spinner cell is 1, etc. Any
suggestions? Am I making this harder than it really is?

Thanks in advance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
sumif to aggregate month to quarter renegade Excel Worksheet Functions 16 January 27th 10 11:24 AM
Populate year, month and quarter from entered date Vic Excel Discussion (Misc queries) 2 May 7th 09 09:49 PM
How can I set month/quarter/annual date intervals John Charts and Charting in Excel 5 March 15th 06 04:30 AM
Need cell formula to subtotal gross by month for a quarter mikeburg Excel Discussion (Misc queries) 4 November 7th 05 09:25 PM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"