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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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