sumproducts with counta

dmheller

Board Regular
Joined
May 26, 2017
Messages
156
Office Version
  1. 365
All,
ran into a snag and it might be the 2 combined or the ref cell. Hope someone can help. Here is what I have.
=SUMPRODUCT(--(INT('Line 3 data copy'!B4:B44739)=INT('Line 3 calc Sheet'!B3)),COUNTA('Line 3 data copy'!O43:O48576))
Returns #value
B4 is a date 8/1/17 11:15
B3 is a date 8/1/17
random words go into O43 down.
I will say this, B4 is this

=IF(ISBLANK('Line 3'!D4),"",IF('Line 3'!D4<'Line 3'!$A$14,'Line 3'!D4,""))
that is back to another date on a different sheet.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Perhaps you are looking for this?

=SUMPRODUCT(--(INT('Line 3 data copy'!B4:B44739)=INT('Line 3 calc Sheet'!B3)),--ISNUMBER(SEARCH("?*",'Line 3 data copy'!O43:O48576)))
 
Upvote 0
That returns value as well. It wont be a number in O, it will be text I see the text search for anything with "?*" but that's not finding any values.
 
Upvote 0
That returns value as well. It wont be a number in O, it will be text I see the text search for anything with "?*" but that's not finding any values.

The ranges are not the same size...

=SUMPRODUCT(--(INT('Line 3 data copy'!B4:B44739)=INT('Line 3 calc Sheet'!B3)),--ISNUMBER(SEARCH("?*",'Line 3 data copy'!O4:O44739)))

If the formula must reside in Line Calc Sheet, then:

=SUMPRODUCT(--(INT('Line 3 data copy'!B4:B44739)=INT(B3)),--ISNUMBER(SEARCH("?*",'Line 3 data copy'!O4:O44739)))
 
Upvote 0
Same results. I am just going to add a column that adds all comments for the day and then copy that over, this is making me angry. I thought I would simplify it and I failed. Thank you for your help but there is probably something wrong with my data.
 
Upvote 0
It was an error on my part. Thank you for this, it works now. I changed your equation but forgot to make the column size match. It works. Thank you
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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