Maybe a longshot - Cell Format Depending On Value In Another Cell

glerwell

Well-known Member
Joined
Jun 25, 2006
Messages
1,082
Hi

I think this is a longshot but excel is a powerful tool so its worth a try.

Would it be possible to set a the format of one cell (A1) depending on whats in A3.

So if A3 equals "A" then then format would be "0.00"
if A3 equals "B" then the format would be "###/###" (fraction)

Thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi

I think this is a longshot but excel is a powerful tool so its worth a try.

Would it be possible to set a the format of one cell (A1) depending on whats in A3.

So if A3 equals "A" then then format would be "0.00"
if A3 equals "B" then the format would be "###/###" (fraction)

Thanks
You could use conditional formatting:
First format cell A1 as General. Then use two conditional format rules as follows: (1) select cell A1 and apply the format rule
=A3="A" with a number format "0.00", (2) select cell A1 and apply the rule =A3="B" with a fractional format "# ???/???"
 
Last edited:
Upvote 0

Forum statistics

Threads
1,211,710
Messages
6,103,451
Members
447,866
Latest member
bowers261

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