sumifs and count

Tennisguuy

Well-known Member
Joined
Oct 17, 2007
Messages
564
Office Version
  1. 2016
Platform
  1. Windows
I have a spread sheet with values in J13:L212. I want to create a formula that will count the number of times a value appears in rows J13:L13 if the sum of the values in J13:L13 is equal to 4.
I tried the following if(sum(J13:J212)+sum(K13:K212)+sum(L13:L212)=4, and that worked for the sum but having a problem incorporating the count
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I'm a little unsure, but maybe:

Book1 (version 1).xlsb
JKLMN
131125
14211
153-12
16400
175-21
18642
19731
20162
Sheet11
Cell Formulas
RangeFormula
N13N13=SUMPRODUCT(--(MMULT(J13:L212+0,{1;1;1})=4))
 
Upvote 0
Solution
You're the man. Thanks bro that worked perfectly. I really appreciate your help.
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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