Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default Need Help Excel Formula

I have the excel sheet like below (sheet1)

sheet1

A B C
1 QC1 QC2 QC3
2 10 15 9
3 21 19 25


I would like to have the result in Sheet2 show like below

sheet2

A B C D
1 max Sys min Sys
2 15 QC2 9 QC3
3 25 QC3 19 QC2


I don't know how to build formulas to get the result in sheet2.


Please give me suggestion.


Thanks,

March



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Need Help Excel Formula

Note that all of this assumes that you don't care if there are multiple cells
with the same Min/Max, as formulas will just return Sys value associated with
first one.

A2:
=MAX('Sheet1'!2:2)
B2:
=INDEX('Sheet1'!A$1:C$1,1,MATCH(A2,'Sheet1'!A2:C2, 0))
C2:
=MIN('Sheet1'!2:2)
D2:
=INDEX('Sheet1'!A$1:C$1,1,MATCH(C2,'Sheet1'!A2:C2, 0))

Copy all 4 formulas downward as needed.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"March" wrote:

I have the excel sheet like below (sheet1)

sheet1

A B C
1 QC1 QC2 QC3
2 10 15 9
3 21 19 25


I would like to have the result in Sheet2 show like below

sheet2

A B C D
1 max Sys min Sys
2 15 QC2 9 QC3
3 25 QC3 19 QC2


I don't know how to build formulas to get the result in sheet2.


Please give me suggestion.


Thanks,

March



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 120
Default Need Help Excel Formula

Hi try these formulas in Sheet2,
A2 =MAX(Sheet2!A2:C2)
B2
=INDEX(Sheet2!$A$1:$C$1,SUMPRODUCT((Sheet2!$A$2:$C $3=$A2)*COLUMN(Sheet2!$A$2:$C$3)))
C2 =MIN(Sheet2!A2:C2)
D2
=INDEX(Sheet2!$A$1:$C$1,SUMPRODUCT((Sheet2!$A$2:$C $3=$C2)*COLUMN(Sheet2!$A$2:$C$3)))

change the sheet's and range references to yours
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"March" wrote:

I have the excel sheet like below (sheet1)

sheet1

A B C
1 QC1 QC2 QC3
2 10 15 9
3 21 19 25


I would like to have the result in Sheet2 show like below

sheet2

A B C D
1 max Sys min Sys
2 15 QC2 9 QC3
3 25 QC3 19 QC2


I don't know how to build formulas to get the result in sheet2.


Please give me suggestion.


Thanks,

March



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,231
Default Need Help Excel Formula

March wrote...
I have the excel sheet like below (sheet1)

sheet1

* * * * * A * * * * B * * * * C
1 * * * QC1 * * QC2 * * QC3
2 * * * * 10 * * * *15 * * * *9
3 * * * * 21 * * * *19 * * * 25

I would like to have the result in Sheet2 show like below

sheet2

* * * * * A * * * * *B * * * * C * * * D
1 * * *max * * *Sys * * *min * *Sys
2 * * * *15 * * * *QC2 * * 9 * * * QC3
3 * * * *25 * * * *QC3 * *19 * * *QC2

....

So going through the table in Sheet1 row by row?

Sheet2!A2:
=MAX(Sheet1!A2:C2)

Sheet2!B2:
=INDEX(Sheet1!$A$1:$C$1,MATCH(A2,Sheet1!$A2:$C2,0) )

Sheet2!C2:
=MIN(Sheet1!A2:C2)

Copy Sheet2!B2 and paste into Sheet2!D2. Then select Sheet2!A2:D2 and
fill down as far as needed.
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
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM


All times are GMT +1. The time now is 10:31 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"