Conditional format cells error value

skoorBmaS

New Member
Joined
Feb 5, 2016
Messages
34
I currently have a table which has the following formula:

Code:
=IFERROR(GETPIVOTDATA("Shift Exceed 12hrs",Pivots!$B$3,"Week",$E$9,"Name",C10),"0")

This makes the cell show 0 if there is an error, which would be caused by no data being populated. However, I would like the cell to be highlighted green if the value is <1. I have a conditional format set up which will do this is the actual value is 0, however if the cell is showing 0 because of an error, then the cell does not get formatted. How can I go about formatting this cell just like the others?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
because you are using the string "0" ... that is not a number

use the number 0 when you get an error

you cant check if a string is less than something without converting it to a number first... but you shouldnt use a string to begin with
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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