Conditional Formatting Numbers Formulaed as Text

tobermory

New Member
Joined
Jun 4, 2012
Messages
45
Hello there,

I have a spreadsheet that I would like to conditional format, it's of survey results. I'd like the user to be able to select between a likert score ("0.00") and a satisfaction percentage ("0.00%"), here are a couple of screenshots.

001.png


002.png


Obviously, as the numbers are stored as text, I cannot conditional format them, I'd like to do a 3 colour scale on the range. Is there a way to convert the "text" into numbers whilst preserving the format of both text formats depending on the cell in B1?

Thanks ever so much for any response.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
5,665
Office Version
  1. 365
Platform
  1. MacOS
you can use a value() to convert the text into a number in the conditional formatting
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
73,212
Office Version
  1. 365
Platform
  1. Windows
Why not use
=IF($B$1="likert",Sheet2!B4,Sheet3!B4)

and then use condition formatting to change the display format?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
73,212
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,013
Messages
5,834,927
Members
430,326
Latest member
tomwax46

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