Custom Number Formatting

Sam_Daniels

New Member
Joined
Nov 15, 2017
Messages
3
What I need to do is have a specific column show as a percentage if it will be 100% or less, or change into currency if higher than that. I'm not sure if it is possible, however, it's worth a try!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Can you tolerate a helper column eg col D with the numbers in, if so in A1

=if(D1<100.0001,d1&"%","$"&d1)
 
Upvote 0
It's not possible with number formatting because you can only specify different formatting for positive / negative / zero / text. You could do it using a formula in a new cell:


Book1
AB
12£2.00
21100.00%
30.550.00%
41.1£1.10
510£10.00
600.00%
Sheet1
Cell Formulas
RangeFormula
B1=IF(A1<=1,TEXT(A1,"0.00%"), TEXT(A1,"£0.00"))


WBD
 
Upvote 0
Yup, you can use up to 2 simple conditions in a custom number format.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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