Compare ranges and count
Solved/Closed
ccpsc
Posts
5
Registration date
Wednesday September 8, 2010
Status
Member
Last seen
September 9, 2010
-
Sep 8, 2010 at 06:24 AM
aquarelle Posts 7181 Registration date Saturday April 7, 2007 Status Moderator Last seen July 18, 2025 - Sep 9, 2010 at 04:38 PM
aquarelle Posts 7181 Registration date Saturday April 7, 2007 Status Moderator Last seen July 18, 2025 - Sep 9, 2010 at 04:38 PM
Related:
- Compare ranges and count
- "Compare versions word" - Guide
- Beyond compare download - Download - File management
- Excel count occurrences - Guide
- Count names in excel - Guide
- Insert a new sheet at the end of the tab names and paste the range names starting in cell a1. autofit columns a:b and name the worksheet as named ranges. ✓ - Excel Forum
7 responses
aquarelle
Posts
7181
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
July 18, 2025
491
Sep 8, 2010 at 05:28 PM
Sep 8, 2010 at 05:28 PM
Hi,
Try with this formula :
=SUMPRODUCT((C6:C106=1)*(T6:T106>=0))
Best regards
Try with this formula :
=SUMPRODUCT((C6:C106=1)*(T6:T106>=0))
Best regards
ccpsc
Posts
5
Registration date
Wednesday September 8, 2010
Status
Member
Last seen
September 9, 2010
Sep 8, 2010 at 05:50 PM
Sep 8, 2010 at 05:50 PM
Thanks aquarelle that worked fine. Now I would like to sum those positive numbers which comes to 205. Can you modify it to do that?
aquarelle
Posts
7181
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
July 18, 2025
491
Sep 8, 2010 at 06:04 PM
Sep 8, 2010 at 06:04 PM
Try this :
=SUMPRODUCT(((C6:C106=1)*(T6:T106>=0))*(T6:T106))
=SUMPRODUCT(((C6:C106=1)*(T6:T106>=0))*(T6:T106))
ccpsc
Posts
5
Registration date
Wednesday September 8, 2010
Status
Member
Last seen
September 9, 2010
Sep 8, 2010 at 06:54 PM
Sep 8, 2010 at 06:54 PM
No that just gets #VALUE! I think it might be something like =SUMPRODUCT((C6:C106=1)*IF(T6:T106>=0,SUM????,0))
ccpsc
Posts
5
Registration date
Wednesday September 8, 2010
Status
Member
Last seen
September 9, 2010
Sep 8, 2010 at 07:26 PM
Sep 8, 2010 at 07:26 PM
Might be more like this, =IF(C6:C105=2,SUMIF(T6:T105>0,????,""),"")
aquarelle
Posts
7181
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
July 18, 2025
491
Sep 9, 2010 at 06:39 AM
Sep 9, 2010 at 06:39 AM
Hi,
I don't understand the formula works for me.
I don't understand the formula works for me.
ccpsc
Posts
5
Registration date
Wednesday September 8, 2010
Status
Member
Last seen
September 9, 2010
Sep 9, 2010 at 04:15 PM
Sep 9, 2010 at 04:15 PM
I have Excell 2007 this maybe why it doesn't work but this does =SUMIFS(T6:T105,C6:C105,1,T6:T105,">0")
aquarelle
Posts
7181
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
July 18, 2025
491
Sep 9, 2010 at 04:38 PM
Sep 9, 2010 at 04:38 PM
Hi,
And I have excel 2003, maybe you are right and the formula doesn't work under excel 2007.
Thanks for having shared your solution.
See you :)
And I have excel 2003, maybe you are right and the formula doesn't work under excel 2007.
Thanks for having shared your solution.
See you :)