[Solved] Count criteria in multiple columns with blanks
[Solved] Count criteria in multiple columns with blanks
I need to get a total when A2:A25 =1 AND E2:E25 is blank. How can I do this?
Last edited by robleyd on Sat Mar 27, 2021 12:11 am, edited 1 time in total.
Reason: Tagged [Solved]; add green tick
Reason: Tagged [Solved]; add green tick
OpenOffice 4.1.7 on Windows 10 Pro
Re: Count criteria in multiple columns with blanks
The following formula will sum F2:F25 in rows where column A = 1 and column E is blank.
Code: Select all
=SUMPRODUCT(A2:A25=1;ISBLANK(E2:E25);F2:F25)
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Count criteria in multiple columns with blanks
Thanks, but it didn't work. It should return 1. My first column is either 1, 2, or 3. The second criteria is either text or blank. I need a total if the criteria is both a 1 and blank. In my sample, one row has a 1 in column A, and the cell in column E blank.
Last edited by abelt on Fri Mar 26, 2021 11:20 pm, edited 1 time in total.
OpenOffice 4.1.7 on Windows 10 Pro
Re: Count criteria in multiple columns with blanks
Do you mean that you want a count of the rows that have a 1 in column A and are blank in column E? That would be
Code: Select all
=SUMPRODUCT(A2:A25 = 1; ISBLANK(E2:E25))
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Count criteria in multiple columns with blanks
Yes! Thank you
OpenOffice 4.1.7 on Windows 10 Pro