Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default (Part 3) - Retrieve Numeric Label for Max Value by Criteria across Single Row

Hi All,

I very much appreciate all the help I have received with these formulae.

I would appreciate further assistance in adapting the following formulae to
Return across a Single
Row Multiple Numeric Labels that share the same Maximum value (duplicate
maximums).


Formula (1) Array Entered - Retrieve Numeric Label for Max Value by Specific
Month
Col "A" (A2:A31) = Numeric Labels
Col "C" - "N" (C1:N1) = Full Date formatted with Custom Month Format "mmm":
Jan - Dec
Col "C" - "N" (C2:N31) = Data Numeric Values

=INDEX(GrowthA'!$A$2:$A$31,MATCH(MAX(INDEX('Growth A'!$C$2:$N$31,0,MATCH(MONTH
($D2),MONTH(GrowthA'!$C$1:$N$1),0))),INDEX('Growth A'!$C$2:$N$31,0,MATCH(MONTH
($D2),MONTH(GrowthA'!$C$1:$N$1),0)),0))

Formula (2) Array Entered - Retrieve Numeric Label for Max Value by Specific
Day & Month
Col "A" (A2:A438) = Full Date formatted with Custom Day Format "dd": 1 - 31

Col "B" (B5:B438) = Full Date formatted with Custom Month Format "mmm": Jan -
Dec
Col "C" - "AO" (C4:AO4) = Numeric Labels
Col "C" - "AO" (C5:AO438) = Data Numeric Values

=INDEX('GrowthB'!$C$4:$AO$4,MATCH(MAX(INDEX('Growt hB'!$C$5:$AO$438,MATCH(1,IF
(DAY('GrowthB'!$A$5:$A$438)=DAY($D6),IF(MONTH('Gro wthB'!$B$5:$B$438)=MONTH(
$D6),1)),0),0)),INDEX('GrowthB'!$C$5:$AO$438,MATCH (1,IF(DAY('GrowthB'!$A$5:$A
$438)=DAY($D6),IF(MONTH('GrowthB'!$B$5:$B$438)=MON TH($D6),1)),0),0),0))


Thanks
Sam

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200702/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default (Part 3) - Retrieve Numeric Label for Max Value by Criteria across Single Row

Try the following formulas, which need to be confirmed with
CONTROL+SHIFT+ENTER...

For the first one...

E2:

=MAX(INDEX(GrowthA!$C$2:$N$31,0,MATCH(MONTH($D2),M ONTH(GrowthA!$C$1:$N$1)
,0)))

F2:

=COUNTIF(INDEX(GrowthA!$C$2:$N$31,0,MATCH(MONTH($D 2),MONTH(GrowthA!$C$1:$
N$1),0)),$E2)

G2, copied across:

=IF(COLUMNS($G2:G2)<=$F2,INDEX(GrowthA!$A$2:$A$31, SMALL(IF(INDEX(GrowthA!
$C$2:$N$31,0,MATCH(MONTH($D2),MONTH(GrowthA!$C$1:$ N$1),0))=$E2,ROW(Growth
A!$A$2:$A$31)-ROW(GrowthA!$A$2)+1),COLUMNS($G2:G2))),"")

For the second one...

E6:

=MAX(INDEX(GrowthB!$C$5:$AO$438,MATCH(1,IF(DAY(Gro wthB!$A$5:$A$438)=DAY($
D6),IF(MONTH(GrowthB!$B$5:$B$438)=MONTH($D6),1)),0 ),0))

F6:

=COUNTIF(INDEX(GrowthB!$C$5:$AO$438,MATCH(1,IF(DAY (GrowthB!$A$5:$A$438)=D
AY($D6),IF(MONTH(GrowthB!$B$5:$B$438)=MONTH($D6),1 )),0),0),$E6)

G6, copied across:

=IF(COLUMNS($G6:G6)<=$F6,INDEX(GrowthB!$C$4:$AO$4, SMALL(IF(INDEX(GrowthB!
$C$5:$AO$438,MATCH(1,(DAY(GrowthB!$A$5:$A$438)=DAY ($D6))*(MONTH(GrowthB!$
B$5:$B$438)=MONTH($D6)),0),0)=$E6,COLUMN(GrowthB!$ C$4:$AO$4)-COLUMN(Growt
hB!$C$4)+1),COLUMNS($G6:G6))),"")

Hope this helps!

In article <6e2650942ec3a@uwe, "Sam via OfficeKB.com" <u4102@uwe
wrote:

Hi All,

I very much appreciate all the help I have received with these formulae.

I would appreciate further assistance in adapting the following formulae to
Return across a Single
Row Multiple Numeric Labels that share the same Maximum value (duplicate
maximums).


Formula (1) Array Entered - Retrieve Numeric Label for Max Value by Specific
Month
Col "A" (A2:A31) = Numeric Labels
Col "C" - "N" (C1:N1) = Full Date formatted with Custom Month Format "mmm":
Jan - Dec
Col "C" - "N" (C2:N31) = Data Numeric Values

=INDEX(GrowthA'!$A$2:$A$31,MATCH(MAX(INDEX('Growth A'!$C$2:$N$31,0,MATCH(MONTH
($D2),MONTH(GrowthA'!$C$1:$N$1),0))),INDEX('Growth A'!$C$2:$N$31,0,MATCH(MONTH
($D2),MONTH(GrowthA'!$C$1:$N$1),0)),0))

Formula (2) Array Entered - Retrieve Numeric Label for Max Value by Specific
Day & Month
Col "A" (A2:A438) = Full Date formatted with Custom Day Format "dd": 1 - 31

Col "B" (B5:B438) = Full Date formatted with Custom Month Format "mmm": Jan -
Dec
Col "C" - "AO" (C4:AO4) = Numeric Labels
Col "C" - "AO" (C5:AO438) = Data Numeric Values

=INDEX('GrowthB'!$C$4:$AO$4,MATCH(MAX(INDEX('Growt hB'!$C$5:$AO$438,MATCH(1,IF
(DAY('GrowthB'!$A$5:$A$438)=DAY($D6),IF(MONTH('Gro wthB'!$B$5:$B$438)=MONTH(
$D6),1)),0),0)),INDEX('GrowthB'!$C$5:$AO$438,MATCH (1,IF(DAY('GrowthB'!$A$5:$A
$438)=DAY($D6),IF(MONTH('GrowthB'!$B$5:$B$438)=MON TH($D6),1)),0),0),0))


Thanks
Sam

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default (Part 3) - Retrieve Numeric Label for Max Value by Criteria across Single Row

Hi Domenic,

Thank you very much. That's absolutely Brilliant!!

Cheers,
Sam

Domenic wrote:
Try the following formulas, which need to be confirmed with
CONTROL+SHIFT+ENTER...


For the first one...


E2:


=MAX(INDEX(GrowthA!$C$2:$N$31,0,MATCH(MONTH($D2), MONTH(GrowthA!$C$1:$N$1)
,0)))


F2:


=COUNTIF(INDEX(GrowthA!$C$2:$N$31,0,MATCH(MONTH($ D2),MONTH(GrowthA!$C$1:$
N$1),0)),$E2)


G2, copied across:


=IF(COLUMNS($G2:G2)<=$F2,INDEX(GrowthA!$A$2:$A$31 ,SMALL(IF(INDEX(GrowthA!
$C$2:$N$31,0,MATCH(MONTH($D2),MONTH(GrowthA!$C$1: $N$1),0))=$E2,ROW(Growth
A!$A$2:$A$31)-ROW(GrowthA!$A$2)+1),COLUMNS($G2:G2))),"")


For the second one...


E6:


=MAX(INDEX(GrowthB!$C$5:$AO$438,MATCH(1,IF(DAY(Gr owthB!$A$5:$A$438)=DAY($
D6),IF(MONTH(GrowthB!$B$5:$B$438)=MONTH($D6),1)), 0),0))


F6:


=COUNTIF(INDEX(GrowthB!$C$5:$AO$438,MATCH(1,IF(DA Y(GrowthB!$A$5:$A$438)=D
AY($D6),IF(MONTH(GrowthB!$B$5:$B$438)=MONTH($D6), 1)),0),0),$E6)


G6, copied across:


=IF(COLUMNS($G6:G6)<=$F6,INDEX(GrowthB!$C$4:$AO$4 ,SMALL(IF(INDEX(GrowthB!
$C$5:$AO$438,MATCH(1,(DAY(GrowthB!$A$5:$A$438)=DA Y($D6))*(MONTH(GrowthB!$
B$5:$B$438)=MONTH($D6)),0),0)=$E6,COLUMN(GrowthB! $C$4:$AO$4)-COLUMN(Growt
hB!$C$4)+1),COLUMNS($G6:G6))),"")


Hope this helps!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200702/1

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
(Part 2) - Retrieve Numeric Label for Max Value by Specific Day & Month Sam via OfficeKB.com Excel Worksheet Functions 4 February 21st 07 02:40 AM
Retrieve Numeric Label for Max Value by Specific Day & Month T. Valko Excel Worksheet Functions 4 February 20th 07 10:34 PM
Retrieve Numeric Label for Max Value by Specific Month Sam via OfficeKB.com Excel Worksheet Functions 8 February 20th 07 06:10 AM
Match Single Numeric Criteria and Return Multiple Numeric Labels Sam via OfficeKB.com Excel Worksheet Functions 3 December 30th 05 08:01 PM
Match Single Numeric Criteria and Return Multiple Numeric Labels Sam via OfficeKB.com Excel Worksheet Functions 0 December 29th 05 08:44 PM


All times are GMT +1. The time now is 03:29 PM.

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"