Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Identify the cell with Max & Min values

I have a column of price data. I want to identify which cell has max value
and set a text "max" for indication.

Col A Col B
10
3
6
2
12 max

I only know the max(A$1:A$5), but not know how to set text with it. Please
help.

skysusan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Identify the cell with Max & Min values

Hi!

If just want the MAX value identified, enter this formula in B1:

=IF(A1=MAX(A$1:A$5),"max","")

Copy down to B5.

If you want to identify BOTH the MAX and MIN, enter this formula in B1:

=IF(A1=MAX(A$1:A$5),"max",IF(A1=MIN(A$1:A$5),"min" ,""))

Note: if the value is both MAX and MIN at the same time the formula will
return "max".

Biff

"skysusan" wrote in message
...
I have a column of price data. I want to identify which cell has max value
and set a text "max" for indication.

Col A Col B
10
3
6
2
12 max

I only know the max(A$1:A$5), but not know how to set text with it. Please
help.

skysusan



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
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
How to take a cell that has 3 values and make 2 more new lines Phil Excel Worksheet Functions 4 October 23rd 05 10:53 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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