Fill a range with one formula, and fix #SPILL!

Exercise 3 of 4

Count the open invoices

Formula · Medium

D2 lists the invoices still open. In B13, show how many there are, so the count stays right when invoices are paid or reopened.

A
B
C
D
1
Invoice
Status
Amount
Open
2
F-2041
Paid
€1,250
F-2042
3
F-2042
Open
€980
F-2043
4
F-2043
Open
€2,310
F-2045
5
F-2044
Paid
€645
F-2047
6
F-2045
Open
€1,875
F-2049
7
F-2046
Paid
€3,120
8
F-2047
Open
€760
9
F-2048
Paid
€1,490
10
F-2049
Open
€2,045
11
F-2050
Paid
€530
12
13
Open invoices
empty

Answer cellB13
Skip for now