Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


I want to highlight the highest value in a row accross multiple columns,
every other column contains the value I want to reference to obtain the
MAX value:


A B C D E
S1 20 50% 30 70%
S2 30 60% 40 30%

I want to highlight the 70% because it is higher than the 20% and for
store 2 I want to highlight the 60% because it is higher than 30%. I
want to disregard the values in column B and D.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Conditional Format =max Function

Try selecting C1:Cxx and hit ctrl while you select E1:Exxx (so that you have
both columns in the range selected).

Then with E1 the activecell
format|conditional formatting
Formula is:
=E1=MAX($C1,$E1)

Excel will adjust the column and row references for each cell in that selection.

Give it a nice shade.

JR573PUTT wrote:

I want to highlight the highest value in a row accross multiple columns,
every other column contains the value I want to reference to obtain the
MAX value:

A B C D E
S1 20 50% 30 70%
S2 30 60% 40 30%

I want to highlight the 70% because it is higher than the 20% and for
store 2 I want to highlight the 60% because it is higher than 30%. I
want to disregard the values in column B and D.

--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Conditional Format =max Function

=MAX(IF(MOD(COLUMN(B1:M1),2)=1,B1:M1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"JR573PUTT" wrote
in message ...

I want to highlight the highest value in a row accross multiple columns,
every other column contains the value I want to reference to obtain the
MAX value:


A B C D E
S1 20 50% 30 70%
S2 30 60% 40 30%

I want to highlight the 70% because it is higher than the 20% and for
store 2 I want to highlight the 60% because it is higher than 30%. I
want to disregard the values in column B and D.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile:

http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862



  #4   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


DAVE,

The process worked for the first Row, and some random rows below, but
not all rows?? Any thoughts?


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Conditional Format =max Function

It worked ok for me. Make sure you write the formula with respect to the
activecell.



JR573PUTT wrote:

DAVE,

The process worked for the first Row, and some random rows below, but
not all rows?? Any thoughts?

--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


Does not work, it highlighted every % in the last column except the last
row which it highlighted the 1st column.


50 38% 56 60% 60 50%
60 50% 55 90% 88 86%
60 60% 22 20% 75 95%
50 29% 44 60% 32 220%
50 60% 66 50% 23 50%


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #7   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Conditional Format =max Function

I assume that this is now in A1:F5

I selected B1:B5
ctrlclick on D1:D5
ctrlclick on F1:F5

So F1 was my activecell.
format|conditional formatting
Formula is:
=F1=MAX($B1,$D1,$F1)

And I gave it a nice shade.

D1, D2, F3, F4 and B5 were shaded.



JR573PUTT wrote:

Does not work, it highlighted every % in the last column except the last
row which it highlighted the 1st column.

50 38% 56 60% 60 50%
60 50% 55 90% 88 86%
60 60% 22 20% 75 95%
50 29% 44 60% 32 220%
50 60% 66 50% 23 50%

--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


Ok, I was enterting the ($first cel, $last cel) vs (first cel, second
cel, third cell)..........

The formula now works, thanks.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #9   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


Ok, I was enterting the ($first cel, $last cel) vs (first cel, second
cel, third cell)..........

The formula now works, thanks.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #10   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


Ok, I was enterting the ($first cel, $last cel) vs (first cel, second
cel, third cell)..........

The formula now works, thanks.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862



  #11   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Conditional Format =max Function


Ok, I was enterting the ($first cel, $last cel) vs (first cel, second
cel, third cell)..........

The formula now works, thanks.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862

  #12   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Conditional Format =max Function

You could have tried Bob's suggestion to avoid the clicking.

JR573PUTT wrote:

Ok, I was enterting the ($first cel, $last cel) vs (first cel, second
cel, third cell)..........

The formula now works, thanks.

--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=515862


--

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
Conditional Format Not Working KMH Excel Discussion (Misc queries) 0 December 22nd 05 05:32 PM
Conditional Format (month and year) = Today() Scott Excel Worksheet Functions 3 November 4th 05 04:52 PM
Cell Format Changes When Data Is Entered - Not Conditional Formatt SundanceKidLudwig Excel Worksheet Functions 2 September 30th 05 02:07 PM
Conditional Format Titles Jenn Excel Discussion (Misc queries) 1 February 22nd 05 09:41 PM
Conditional Format With SUMIF Minitman Excel Worksheet Functions 3 November 1st 04 02:58 PM


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