If One Cell In A Row Is True, Every cell Comes Out As True.

marlina

New Member
Joined
Apr 17, 2018
Messages
24
I want to conditionally format some data. Let's say i want each cell to look if the row contains max value. so basically the each cell going to look 2 things:
1-If it is the biggest value in the data.
2-if the Row contains the biggest value in the data.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
So i came up with this Formula:
=OR($A5=$G$5,$B5=$G$5,$C5=$G$5,$D5=$G$5,$E5=$G$5)
where G5 is LARGE(A5:E16,1)
if you guys have any better solution. please let me know.
 
Upvote 0
In conditional formatting is ISNUMBER not needed.

What is the additional criterion you want to add?

Doesn't CF works with true and falses ?
i wanted a criteria like highlight a row if it multiple conditions. lets say all the cells are filled or the row contains two biggest numbers.
thank you for your reply.
 
Upvote 0
Doesn't CF works with true and falses ?

Yes, it does.

MATCH returns either a non-zero number or #N/A. CF ignores #N/A and interprets a non-zero number as TRUE. Hence ISNUMBER round MATCH in CF omitted.

i wanted a criteria like highlight a row if it multiple conditions. lets say all the cells are filled or the row contains two biggest numbers.
thank you for your reply.


Let's take A1:C5

Select A1:C5.
Activate CF, the formula option.
Apply the following formula

=MATCH(TRUE,ISBLANK($A1:$C1),0)

which will pick out the whole record if that record contains any blank.

If you run the following formula

=COUNTIFS($A1:$C1,LARGE($A$1:$C$5,1))+COUNTIFS($A1:$C1,LARGE($A$1:$C$5,2))>=2

the records housing the instances of two largest values from A1:C5 will be picked out.

Hope this helps.
<strike>


</strike>
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top