I am working on a simple sheet to allow people to count inventory quicker by allowing them to count either cars or spaces for a large parking lot - there's over 9,000 available stalls at this location. The way this works is that the individual will count whichever is easier - if there's a lot of cars in a certain row, they'll be able to more quickly count empty spaces, and vice-versa. I've created two columns - one for either number acquired. My trouble arose when I tried to total everything up at the end.
As you can see in the sample attached, I have used an IF statement in the column B to return "error" if there is missing data in column C. The blank sheet will have this IF statement running all the way to the last row (highlighted blue in the example). The idea is that if they count cars, they will key in the number, which will replace the formula since it's not needed. Otherwise it will calculate the number of cars by subtracting spaces from available stalls. My trouble comes in when totaling up at the end. If every row has either cars or spaces entered, then I get a correct total, but if there is any missing data the SUM function simply skips it and totals up what numbers it does have.
I need the sum total cell (highlighted yellow in the example) to return some error message to let the user know they missed keying something in. How do I achieve this?
Thanks in advance!
Bookmarks