Conditional Formatting not updating when using option buttons

cbzdmh

Board Regular
Joined
Jul 16, 2007
Messages
58
Hi,

I have two option buttons labelled as follows: "$ - Dollar Price" & "£ - Sterling Price", these link to Cell A1. Allowing the user to pick how they want to see the prices displayed.

I have a table of prices that links runs a vlookup with an IF statement based on the value in A1, =Vlookup(B1,Data, if($a$1=1, 4,5),false). This functions as expected.

I then have conditional fomating applied to the table as follows:

=$A$1=1 -> $ formatting applied
=$A$1=2 -> £ formatting applied

This works if i change the value in A1 manually but not if I use the option buttons to change the value in A1, does anyone have any ideas?

Many Thanks
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Update - > It works once when I reapply the conditional formatting. Is it a calculation/refresh issue?
 
Upvote 0

Forum statistics

Threads
1,215,712
Messages
6,126,408
Members
449,313
Latest member
tomgrandy

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