Count Formula

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
406
Office Version
  1. 2021
Platform
  1. Windows
dear sir,
I have formula =SUMPRODUCT((F7:F15000="")*(B7:B15000<TODAY()-(K3))*(D7:D15000))
It is working as it should, but I want same formula in count mode,
means how many lines in above formula.

please help me
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
We don't know quite what might be in some of those ranges, but see if this does what you want.
Excel Formula:
=SUMPRODUCT((F7:F15000="")*(B7:B15000<TODAY()-(K3))*(D7:D15000<>""))
 
Upvote 0
Solution
If that does what you want, this would be a more efficient formula to do it.
Excel Formula:
=COUNTIFS(F7:F15000,"",B7:B15000,"<"&TODAY()-K3,D7:D15000,"<>")

.. & more efficient for you original formula:
Excel Formula:
=SUMIFS(D7:D15000,B7:B15000,"<"&TODAY()-K3,F7:F15000,"")
 
Upvote 0
We don't know quite what might be in some of those ranges, but see if this does what you want.
Excel Formula:
=SUMPRODUCT((F7:F15000="")*(B7:B15000<TODAY()-(K3))*(D7:D15000<>""))
thank you so much....Peter.......

it is working as I want...

Thank You Again.....
 
Upvote 0
You are welcome. Thanks for the follow-up. :)

(BTW, did you try the alternatives I suggested?)
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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