Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DeeZi
 
Posts: n/a
Default copying formula question


let's say I have

A B C D
1 2 4 4
2 5 2 6
3 4 7 2
4 2 6 3
5 3 9 8

Now I do =INDEX(A2:A6,MATCH(MAX(B2:B6),B2:B6,0)) and I want to continue
doing it for columns C and D, but having it correspond back to the A
column. So for example, the max of B is 5 corresponding to 2 in the A
column. Max is C corresponding to 5 in the A column. I have a whole
bunch of columns and I wanted to copy the formula above but it only
does it with columns next to each other. How can I get it so that it
keeps referring back to the A column but reads other columns instead of
manually changing each one.

Thanks again!


--
DeeZi
------------------------------------------------------------------------
DeeZi's Profile: http://www.excelforum.com/member.php...o&userid=24805
View this thread: http://www.excelforum.com/showthread...hreadid=383685

  #2   Report Post  
Sloth
 
Posts: n/a
Default

If I understand correctly you need to type

=INDEX($A$2:$A$6,MATCH(MAX(B2:B6),B2:B6,0))

then you can copy the formula down the list.

"DeeZi" wrote:


let's say I have

A B C D
1 2 4 4
2 5 2 6
3 4 7 2
4 2 6 3
5 3 9 8

Now I do =INDEX(A2:A6,MATCH(MAX(B2:B6),B2:B6,0)) and I want to continue
doing it for columns C and D, but having it correspond back to the A
column. So for example, the max of B is 5 corresponding to 2 in the A
column. Max is C corresponding to 5 in the A column. I have a whole
bunch of columns and I wanted to copy the formula above but it only
does it with columns next to each other. How can I get it so that it
keeps referring back to the A column but reads other columns instead of
manually changing each one.

Thanks again!


--
DeeZi
------------------------------------------------------------------------
DeeZi's Profile: http://www.excelforum.com/member.php...o&userid=24805
View this thread: http://www.excelforum.com/showthread...hreadid=383685


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

maybe...

=INDEX($A$2:$A$6,MATCH(MAX(B$2:B$6),B$2:B$6,0))

And drag across.

DeeZi wrote:

let's say I have

A B C D
1 2 4 4
2 5 2 6
3 4 7 2
4 2 6 3
5 3 9 8

Now I do =INDEX(A2:A6,MATCH(MAX(B2:B6),B2:B6,0)) and I want to continue
doing it for columns C and D, but having it correspond back to the A
column. So for example, the max of B is 5 corresponding to 2 in the A
column. Max is C corresponding to 5 in the A column. I have a whole
bunch of columns and I wanted to copy the formula above but it only
does it with columns next to each other. How can I get it so that it
keeps referring back to the A column but reads other columns instead of
manually changing each one.

Thanks again!

--
DeeZi
------------------------------------------------------------------------
DeeZi's Profile: http://www.excelforum.com/member.php...o&userid=24805
View this thread: http://www.excelforum.com/showthread...hreadid=383685


--

Dave Peterson
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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Copying result of formula into another worksheet??? Amanda Excel Discussion (Misc queries) 3 April 15th 05 09:40 PM
formula question Pam Coleman Excel Worksheet Functions 9 April 11th 05 08:51 AM
copying LOOKUP formula R Birk Excel Worksheet Functions 3 February 3rd 05 01:05 AM
How do I copy a result without copying the formula? riffmastr7 Excel Discussion (Misc queries) 1 February 2nd 05 07:10 PM


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