Conditional formating for two columns

zoinc

New Member
Joined
Jun 6, 2017
Messages
3
I can't sleep, this is driving me nuts


Dieter Adriaensen € 4,820.40
Sammy Bogaert € 3,716.60
Griet Coostermans € 2,190.90
Andy Peeters € 3,170.49
Lieve Van den Heuvel € 5,320.75
Steve Wilssens € 4,130.20
Average € 3,891.56

<colgroup><col><col></colgroup><tbody>
</tbody>
I need to:
Highlight the names and the amounts in blue if the amount is below the average.
Highlight the names and the amounts in red if the amount is 15% above the average.

What I managed to do:
Highlight the amounts below the average in blue (never the names)
I am losing my mind....

Thanks a LOT!!!!

<colgroup><col><col span="10"></colgroup><tbody>
</tbody>
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Welcome to the board!

Supposing Dieter is in A1 and his amount in B1 for the sample data you posted, do the following:

1. Select A1:B6 with your mouse.
2. Home>Conditional Formatting>New Rule>Use a formula.
3. For below average formula is: = $B1 < $B$7
4. Choose format (blue fill)
5. Press OK
Repeat these steps for 15% above the average using this formula: =$B1 > 1.15*$B$7 and choose a red fill.
 
Upvote 0
Assuming that your data is in A1:B7, try the following:

Highlight A1:B6 > Conditional Formatting > New Rule > Use a formula

=$B1<$B$7

Format: Fill blue > OK > OK

Highlight A1:B6 > Conditional Formatting > New Rule > Use a formula

=$B1>=1.15*$B$7

Format: Fill red > OK > OK

Edit: Joe beat me to it.
 
Last edited:
Upvote 0
JoeMo, 63Falcondude

It worked !
I am faithful to this board as long as I live.THANK YOU
:biggrin:

P.S-JoeMo beat you by one minute :eek:
 
Upvote 0
JoeMo, 63Falcondude

It worked !
I am faithful to this board as long as I live.THANK YOU
:biggrin:

P.S-JoeMo beat you by one minute :eek:
You are welcome - thanks for the reply.
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,897
Members
449,194
Latest member
JayEggleton

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