Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Locating a specific cell

Hi

This is a simplified example of what I am trying to do

I want to display the result for the max and min and also the year and month.
In this case the min is 2 in Feb 2009 and the max is 9 in Mar 2010

A B C D E
1 Jan Feb Mar

2 2009 3 2 7

3 2010 5 4 9

-Regards

bookman
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Locating a specific cell

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

For MIN() try the below formulas...
=INDEX(A1:E1,MIN(IF(C2:E3=MIN(C2:E3),COLUMN(C2:E3) )))
=INDEX(B:B,MIN(IF(C2:E3=MIN(C2:E3),ROW(C2:E3))))

For MAX()
=INDEX(A1:E1,MIN(IF(C2:E3=MAX(C2:E3),COLUMN(C2:E3) )))
=INDEX(B:B,MIN(IF(C2:E3=MAX(C2:E3),ROW(C2:E3))))



--
Jacob (MVP - Excel)


"bookman3" wrote:

Hi

This is a simplified example of what I am trying to do

I want to display the result for the max and min and also the year and month.
In this case the min is 2 in Feb 2009 and the max is 9 in Mar 2010

A B C D E
1 Jan Feb Mar

2 2009 3 2 7

3 2010 5 4 9

-Regards

bookman

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
locating the cell that contains the MIN or MAX JR Excel Discussion (Misc queries) 2 April 21st 09 05:41 PM
Locating cell using Hyperlink stew Excel Discussion (Misc queries) 10 November 3rd 08 02:23 PM
Locating a cell within a macro Ron (Bismark) Excel Worksheet Functions 1 December 18th 06 07:24 AM
Locating First and Last Cell Containing a Specific Value [email protected] Excel Worksheet Functions 1 May 16th 06 07:23 PM
Locating first blank cell Mike W New Users to Excel 3 August 25th 05 09:02 PM


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