Sumifs with weekdays + another cell

Rana Gray

Board Regular
Joined
Jan 26, 2023
Messages
53
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello Lovelies!

I have a formula that counts how many times a weekday occurs within a set range (Trial1 (B8:B107)), now I am trying to add an additional condition.

I want to count the weekday but only if the correlating cell in "column E" is not blank ("<>"). See below for visuals :)

Thanks a Bunch in Advance!!!!

Current Formula: =SUMPRODUCT(--(WEEKDAY(Trial1,2)=S6)) **Adjusted for each weekday **

1695820697170.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
EDIT TO ADD: I have tired adding an additional array to the "SUMPRODUCT" function but it won't seem to work:

=SUMPRODUCT(--(WEEKDAY(Trial1,2)=S6))*(--(CCAPS_Account1="<>")) **CCAPS_Account1 = E8:E107**
 
Upvote 0
Please don't mark a post as the solution unless you post the actual solution.
If you do post your actual solution, then you can mark that as the solution.
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,099
Members
452,379
Latest member
IainTru

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