Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Running total in Google Sheets leaving blank cells if criteria not met

$
0
0

I would like to keep a running total in column A if certain text is present in column B. If that text isn't present, I would like column A to be blank, but pick up counting where it left off on the next time the criteria is met.

Example: When column B contains blue, yellow, or red, count in column A, lest leave blank

AB
1blue
2yellow
green
orange
3blue
green
4red

Viewing all articles
Browse latest Browse all 9782

Trending Articles