VBA with conditional formatting help!

trexlim

New Member
Joined
Aug 14, 2018
Messages
5
Greetings,

I have a spreadsheet full of price values from Column A to Column xxx.

Column A is my lowest selling prices. (Column A, every row different price)

how to references every column every row from column B onward and "lookup" column A and if the price for that specific cell falls below the same row cell in Column A, it will be highlighted.

Perhaps only VBA can solve this?

thanks in advance!

example:

A (fixed) 34.40 B 34.50 C 34.90 D 33.50 E 34.00
43.50 42.50 43.00 41.30 45.90
60.50 61.10 84.60 81.30 82.40
79.10 74.50 99.70 95.70 97.10
76.30 72.20 101.70 97.60 99.00
91.30 85.60 116.70 112.00 113.60
92.10 83.40 117.60 112.90 84.50
106.90 96.80 132.70 127.40 129.20

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Seems easily doable with conditional formatting using a formula:
Conditional Formatting > New Rule > Use a formula to determine which cells to format >
1. use the formula =B1<$A1
2. set the formatting
3. apply to col B:E
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,433
Messages
6,124,861
Members
449,195
Latest member
MoonDancer

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