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
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

cbzdmh

Board Regular
Joined
Jul 16, 2007
Messages
58
Update - > It works once when I reapply the conditional formatting. Is it a calculation/refresh issue?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,977
Messages
5,599,151
Members
414,292
Latest member
kingshuk963

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
Top