Ghost Sheet

Add and subtract cells when some hold a dash

Why does =B2+C2-D2 give #VALUE! on some rows?

It opens in your workspace. Write the formula in the sheet; when it matches, new data arrives and your formula is checked again.
E2Type a formula for E2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1ItemOpeningReceivedShippedOn hand
2HS-21011934065
3HS-21082551025
4HS-211528010040
5HS-212236010
6HS-21291681015
7HS-21361465065
8HS-2143235020
9HS-215012510060
10HS-21573789050
11HS-21641245015
12HS-217127210040
13
14
15
16
17
18
19
20
21
22
23
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
The + and - signs need numbers on both sides, so a dash, “n/a” or a stray word turns the whole result into #VALUE!. SUM passes over text. Wrapping each side in SUM keeps the arithmetic working when people type a dash for nothing.
The shape of the formula
=SUM(cells to add) - SUM(cells to take away)
How to remember it
Signs are strict, SUM is forgiving: + breaks on text, SUM walks past it.
The usual mistake
Replacing the dashes by hand. The next export brings new dashes, and the #VALUE! errors come back.

Keep practicing

Updated