Format cell based on other cell value

mordrid

Board Regular
Joined
Jul 22, 2005
Messages
244
Hi, I would like to automatically format a cell based on currency type for example if have a drop down list in A1 of Dollar, GBP, Euro and I select say Dollar I would like cell C1 to auto format to show dollar sign in front of the value, similarly if I select Euro I would like C1 to update to show Euro sign.

I have been trying IF statements but do not know how to say if .... format like....

Any help gratefully received
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
MrExcelPlayground16.xlsx
ABC
1Euro€ 45.12
2Dollar
3Pound
4Euro
Sheet14
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1Expression=A1="Euro"textNO
C1Expression=A1="Pound"textNO
C1Expression=A1="Dollar"textNO
Cells with Data Validation
CellAllowCriteria
A1List=$A$2:$A$4


1681387281049.png
 
Upvote 0
Solution

Forum statistics

Threads
1,215,097
Messages
6,123,076
Members
449,094
Latest member
mystic19

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