I'm attempting to make a Sparkline but I'm not getting gaps in the Sparkline as I would expect.
Column A contains Sales for the Week.
Column B contains Hours Worked for the Week.
Column C contains Sales per Hour: =IFERROR(Column A/Column B,"")
The IFERROR is necessary becomes sometimes people take a vacation and work zero hours in the week and we get an error when we divide by zero.
I wish for the cells with no data (because there was an error because Hours Worked was zero) to be represented by gaps in my sparkline but currently they plot as if the value was zero. If I delete the contents of the cell, I get the sparkline looking like I want, but that isn't practical.
EDITED TO ADD: Furthermore, if I do =ISBLANK() on those cells it returns FALSE. If I copy those cells and paste the values into a new column, then do =ISBLANK() on those cells I get FALSE. The only way to get =ISBLANK() to be TRUE is to delete the value of the cell (even those that look blank to me from the Copy/Paste Values). When the cells give a value of TRUE for =ISBLANK(), that's when my sparkline looks correct. So I guess what I'm really asking is: how do I use IFERROR to give me a truly blank cell because clearly "" which is supposed to give me a null value is not equal to blank and doesn't trigger a gap in my sparkline.
How do I go about fixing this?
Column A contains Sales for the Week.
Column B contains Hours Worked for the Week.
Column C contains Sales per Hour: =IFERROR(Column A/Column B,"")
The IFERROR is necessary becomes sometimes people take a vacation and work zero hours in the week and we get an error when we divide by zero.
I wish for the cells with no data (because there was an error because Hours Worked was zero) to be represented by gaps in my sparkline but currently they plot as if the value was zero. If I delete the contents of the cell, I get the sparkline looking like I want, but that isn't practical.
EDITED TO ADD: Furthermore, if I do =ISBLANK() on those cells it returns FALSE. If I copy those cells and paste the values into a new column, then do =ISBLANK() on those cells I get FALSE. The only way to get =ISBLANK() to be TRUE is to delete the value of the cell (even those that look blank to me from the Copy/Paste Values). When the cells give a value of TRUE for =ISBLANK(), that's when my sparkline looks correct. So I guess what I'm really asking is: how do I use IFERROR to give me a truly blank cell because clearly "" which is supposed to give me a null value is not equal to blank and doesn't trigger a gap in my sparkline.
How do I go about fixing this?