Count but Also Ignore

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
349
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a formula that works fine but is counting cells with no value but contains a formula. How do I modify the following formula to not count cells with formulas if the result is a blank -

=COUNTIFS(TABLE1,”<=“&EOMONTH($BE4,0),TABLE1,”>=“&DATE(YEAR($BE4),MONTH($BE4),1))

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The formula posted contains incorrect quote marks. They are when they should be " However, that shouldn't cause what you are describing.

With the correct quote marks the formula for me is not counting cells you are describing. I guess that means my data and yours are not the same. Can you post a small sample of yours using XL2BB? Make sure that your sample includes the formula in TABLE1 that is producing the blanks as well as cell BE4. You can hide intermediate columns if TABLE1 and column BE are distant from each other.
 
Upvote 0
The formula posted contains incorrect quote marks. They are when they should be " However, that shouldn't cause what you are describing.

With the correct quote marks the formula for me is not counting cells you are describing. I guess that means my data and yours are not the same. Can you post a small sample of yours using XL2BB? Make sure that your sample includes the formula in TABLE1 that is producing the blanks as well as cell BE4. You can hide intermediate columns if TABLE1 and column BE are distant from each other.
OK - thanks Peter. I’m keen to get this resolved but unfortunately I won’t be able to reply to you for several days. The computer I have is a work computer and won’t let me download XL2BB. As soon as I return back home, I’ll send a detailed reply from my own computer.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,857
Messages
6,121,948
Members
449,056
Latest member
FreeCricketId

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