LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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

 
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 01:58 PM.

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

About Us

"It's about Microsoft Excel"