counting both blank cells and cells with a specified value together, where both are based on other multiple criteria

Helen Wills

New Member
Joined
Nov 14, 2014
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi. I have a formula that works so far....

=COUNTIFS('sheet name'!U5:U78, "2020", 'sheet name'!V5:V78, "q3", 'sheet name'!Y5:Y78, "delayed")

However, in the next one i want to count all that are pending or the cell is blank ie

=COUNTIFS('sheet name'!U5:U78, "2020", 'sheet name'!V5:V78, "q3", 'sheet name'!Y5:Y78, "pending") ADDED TO
COUNTIFS('sheet name'!U5:U78, "2020", 'sheet name'!V5:V78, "q3", 'sheet name'!Y5:Y78, "blank cells")

I know that "blank cells" is not what i put here, but i am struggling how to use countblank as well as all the other criteria. Can anyone help?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try:

Excel Formula:
=SUM(COUNTIFS('sheet name'!U5:U78, "2020", 'sheet name'!V5:V78, "q3", 'sheet name'!Y5:Y78,{"pending",""}))
 
Upvote 0
Glad it works for you! Thanks for the update. :cool:
apologies. I've just noticed it hasn't worked... it's counting all projects in pending. I'd expect P10 (total pending) to say 4 if G10 (completed) is showing 6 and D10 (total) is 10. sorry to ask again!


snip.JPG
 
Upvote 0
Without seeing your source data, it's hard to know what the issue is. Is the data in column Y text, or the result of formulas? Is a blank cell truly blank ("") or does it have a space (" ")? Can you show your data with the XL2BB tool? (See the link in the reply box.)

If your expected value is D10 less G10, can you use this formula?

Excel Formula:
=D10-G10
 
Upvote 0

Forum statistics

Threads
1,215,634
Messages
6,125,931
Members
449,274
Latest member
mrcsbenson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top