Forum Discussion
Anonymous
6 years agoNot applicable
If blank then return ...
Hi all,
I created a nested IF formula( see below). This works great when there is data however it is returning 'Outstanding' when there is no data for the period (I assume it is becuase of 0).
How can I add in- IF blank then return 'Not Eligible' instead of it defaulting to zero?
NA Ratings =
IF(
[No Access Rate] >= 0 && [No Access Rate] <= 0.014,
"Outstanding",
IF(
[No Access Rate] > 0.015
&& [No Access Rate] <= 0.02,
"Exceeds Expectations",
IF(
[No Access Rate] > 0.02
&& [No Access Rate] <=0.025,
"Acheiving Expectations",
IF(
[No Access Rate] > 0.025
&& [No Access Rate] <= 1,
"Below Expectations"
)
)
)
)
- Anonymous6 years ago
Have you tried this?
NA Ratings = IF( ISBLANK([No Access Rate]), "Not Eligible", IF( [No Access Rate] >= 0 && [No Access Rate] <= 0,014, "Outstanding", IF( [No Access Rate] > 0,015 && [No Access Rate] <= 0,02, "Exceeds Expectations", IF( [No Access Rate] > 0,02 && [No Access Rate] <=0,025, "Acheiving Expectations", IF( [No Access Rate] > 0,025 && [No Access Rate] <= 1, "Below Expectations" ) ) ) ) )If this is still not working for you, can you give me the code behind the measure [No Access Rate]?
2 Replies
- AnonymousNot applicable
Have you tried this?
NA Ratings = IF( ISBLANK([No Access Rate]), "Not Eligible", IF( [No Access Rate] >= 0 && [No Access Rate] <= 0,014, "Outstanding", IF( [No Access Rate] > 0,015 && [No Access Rate] <= 0,02, "Exceeds Expectations", IF( [No Access Rate] > 0,02 && [No Access Rate] <=0,025, "Acheiving Expectations", IF( [No Access Rate] > 0,025 && [No Access Rate] <= 1, "Below Expectations" ) ) ) ) )If this is still not working for you, can you give me the code behind the measure [No Access Rate]?
- AnonymousNot applicable
Worked perfectly, thanks.