Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default displaying adjacent cell when using max/min formulae

I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default displaying adjacent cell when using max/min formulae

Hi,

=VLOOKUP(MAX(A1:A50),A1:B50,2,FALSE)

Mike

"formula428" wrote:

I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default displaying adjacent cell when using max/min formulae

=INDEX(B:B,MATCH(MAX(A:A),A:A,0))

--


Regards,


Peo Sjoblom

"formula428" wrote in message
...
I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default displaying adjacent cell when using max/min formulae

Does it matter if the "output cell" is text?

Maybe I should give the actual columns in the example.

I am doing max/min for column E. I want excel to give me the corresponding
text of column C. Therefore, if the max is E356, I want (in another cell)
Excel to display C356 which is text, not a value.

"Mike H" wrote:

Hi,

=VLOOKUP(MAX(A1:A50),A1:B50,2,FALSE)

Mike

"formula428" wrote:

I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default displaying adjacent cell when using max/min formulae

Hi,

you could use

=VLOOKUP(MAX(A1:A24),A1:B24,2,)

--
Thanks,
Shane Devenshire


"formula428" wrote:

I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default displaying adjacent cell when using max/min formulae

Use the index function suggested by Peo

"formula428" wrote:

Does it matter if the "output cell" is text?

Maybe I should give the actual columns in the example.

I am doing max/min for column E. I want excel to give me the corresponding
text of column C. Therefore, if the max is E356, I want (in another cell)
Excel to display C356 which is text, not a value.

"Mike H" wrote:

Hi,

=VLOOKUP(MAX(A1:A50),A1:B50,2,FALSE)

Mike

"formula428" wrote:

I'm using the max/min formulas to display the appropriate values [say in
column A]. say the maximum is located in cell A20, i'd also like to have
excel display the output of cell B20 in another cell.

how do i do this in Excel 2003?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default displaying adjacent cell when using max/min formulae

I couldn't get VLOOKUP to work, but index worked great! thanks!
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default displaying adjacent cell when using max/min formulae

Hi,

My initial response was to your first posting, when I revisited you actual
layout, given in the 2nd posting, you are correct, VLOOKUP won't work because
it needs to check the left hand column and return data in that column or one
to the right. And you are look in column E and wanting to return something
from column C. However, you can do that with a related function, LOOKUP,
provided your data is ordered, which it probalby not the case:

=LOOKUP(MAX(E1:E400),E1:E400,C1:C400)

but this only works if column E is sorted ascending. So I think you should
use the MATCH, OFFSET or INDEX combinations.
--
Thanks,
Shane Devenshire


"formula428" wrote:

I couldn't get VLOOKUP to work, but index worked great! thanks!

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
How do I stop text displaying in blank adjacent cells? CathyMcK Excel Discussion (Misc queries) 3 February 23rd 12 07:37 AM
Displaying formulae changes formatting SueJB Excel Worksheet Functions 4 May 8th 06 01:01 PM
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Displaying contents of adjacent cells. MikeyB Excel Discussion (Misc queries) 7 July 29th 05 03:56 PM
Excel 2002: I get formulae displaying in cells rather than value Matilda Excel Worksheet Functions 2 May 6th 05 12:02 AM


All times are GMT +1. The time now is 04:00 AM.

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"