CountIFS or SUMPRODUCT

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
660
Office Version
  1. 2019
Platform
  1. Windows
Hello,

If all 4 are True = 1 count.
Line 5 vs Line 6
B5 ="W"
X5 <X6
Y5 >Y6
Z5 >Z6
Line 6 should count 1.

Then 7 vs 8, 9 vs 10, 11 vs 12, etc.
In groups of 2.
Row count is 5:30

thanks

Cell Formulas
RangeFormula
X5:X18X5=IFERROR(VLOOKUP($A5,TeamRankings!$CC:$CN,12,0),"")
Y5:Y18Y5=VLOOKUP(A5,TeamRankings!$CC$3:$CP$32,14,0)
Z5:Z18Z5=VLOOKUP(A5,TeamRankings!$CC$3:$CQ$32,15,0)
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hello,

If all 4 are True = 1 count.
Line 5 vs Line 6
B5 ="W"
X5 <X6
Y5 >Y6
Z5 >Z6
Line 6 should count 1.
--and--
B6 ="W"
X6 <X5
Y6 >Y5
Z6 >Z5

Then 7 vs 8, 9 vs 10, 11 vs 12, etc.
In groups of 2.
Row count is 5:30

thanks

Cell Formulas
RangeFormula
X5:X18X5=IFERROR(VLOOKUP($A5,TeamRankings!$CC:$CN,12,0),"")
Y5:Y18Y5=VLOOKUP(A5,TeamRankings!$CC$3:$CP$32,14,0)
Z5:Z18Z5=VLOOKUP(A5,TeamRankings!$CC$3:$CQ$32,15,0)
 
Upvote 0
If all 4 are True = 1 count.
Line 5 vs Line 6
B5 ="W"
X5 <X6
Y5 >Y6
Z5 >Z6
Line 6 should count 1.
=COUNTIFS(B5,"W",X5,"<"&X6,Y5,">"&Y6,Z5,">"&Z6)

Countifs will get better speed for the larger spreadsheet :

 
Upvote 0

Forum statistics

Threads
1,215,527
Messages
6,125,337
Members
449,218
Latest member
Excel Master

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