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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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