LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Update values from one column to another

Pedro Costa wrote:
Hi,
I have a table with 99 columns and I have to copy the values of the
column where the first row has the higher value. In this example I
have to copy the third the contents of the third one to a new one.

15 20 30 25 5 6
------------------------------------------------------------------------------------
10 15 17 16 18 19
20 30 34 32 36 38
40 60 68 64 72 76
80 120 136 128 144 152
160 240 272 256 288 304
320 480 544 512 576 608
640 960 1088 1024 1152 1216
1280 1920 2176 2048 2304 2432


Through the MAX formula I know which column I have to copy. But, how
can I copy the values to a new column?

Thanks in advance for your help?

Pedro Costa


Assume your data sheet in Sheet1!A1:CLx (that's 90 columns by x rows).

In Sheet2 A1:

=MATCH(MAX(Sheet1!$A$1:$CL$1),Sheet1!$A$1:$CL$1,0)
returns the column number where the max was found (not the max value itself)

In Sheet2 A3 and fill down to row x:
=INDEX(Sheet1!$A3:$CL3,1,A$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
Autosum column values, if separate column values equal certain val Hulqscout Excel Worksheet Functions 1 November 5th 08 06:37 PM
Update column H based upon content in column B EllenM Excel Worksheet Functions 2 June 5th 08 11:52 AM
How to make one column update another column in Exell Canron newbie Excel Worksheet Functions 2 April 16th 08 04:38 PM
how do I update a column and create new rows for new column cells Pete Excel Discussion (Misc queries) 1 June 6th 07 02:02 AM
How do I update Column #1 based on specific value of column #2? SLH Excel Worksheet Functions 2 September 20th 05 02:16 PM


All times are GMT +1. The time now is 03:54 AM.

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"