COUNTIFS QUERY

Dexir

New Member
Joined
Oct 27, 2018
Messages
38
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
Hi All,
i have this sheet, im using COUNTIFS, i want to get data against JOINT NUMBER (A1). if a Welder work on any Joint Number on any place (Root, Hot, Filling, Capping), formula just count 1 as you can see in formula with IF condition. i am not getting the results. What am i missing ? and i have large number of JOINT NUMBERS, is there any easy way to count ?
I just want if any of Welder touch any JOINT NUMBER it just count on next to his ID.

Thanks

Book1
ABCDEFGHIJKLMNOPQ
1Joint NumberRootHotFillingCapping
2RightLeftRightLeftRightLeftRightLeftSr. #Welder IDFW-0021MFW-0022MFW-0023MFW-0024MFW-0025M
3FW-0021MW-001W-017W-001W-001W-025W-001W-001W-0231W-001#VALUE!#VALUE!#VALUE!#VALUE!#VALUE!
4FW-0022MW-015W-017W-015W-017W-024W-016W-024W-0162W-002
5FW-0023MW-015W-017W-015W-017W-025W-023W-001W-0233W-003
6FW-0024MW-015W-001W-001W-017W-001W-001W-001W-0164W-005
7FW-0025MW-015W-017W-015W-017W-025W-023W-025W-0235W-006
8FW-0026MW-015W-017W-015W-017W-024W-016W-024W-0166W-007
9FW-0027MW-015W-017W-015W-017W-025W-023W-025W-0237W-008
10FW-0028MW-015W-017W-015W-017W-024W-016W-024W-0168W-009
Sheet1
Cell Formulas
RangeFormula
M3:Q3M3=IF(COUNTIFS($A$3:$A$10,M$2,$B3:$I3,$L3),1,0)
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Try this simple Formula

copy this formula on Cell "M3" and fill to all rows
Excel Formula:
=SUMPRODUCT(($A$3:$A$10=M$2)*($B$3:$I$10=$L3))

or if u want all result is "1"
Excel Formula:
=IFERROR(SUMPRODUCT(($A$3:$A$10=M$2)*($B$3:$I$10=$L3))/SUMPRODUCT(($A$3:$A$10=M$2)*($B$3:$I$10=$L3)),"")
 
Upvote 0
Thanks sir, working good. But I just want if any of Welder touch any JOINT NUMBER it just count on next to his ID. i want it count total on M3 column. because JOINT NUMBERS is too lengthy and i can't add them on 3 (row) in sequance.
for example,
Book1.xlsx
ABCDEFGHIJKLM
1Joint NumberRootHotFillingCapping
2RightLeftRightLeftRightLeftRightLeftSr. #Welder IDTotal
3FW-0021MW-001W-001W-0011W-0014
4FW-0022M2W-002
5FW-0023MW-001W-001W-0013W-003
6FW-0024M4W-005
7FW-0025M5W-006
8FW-0026MW-001W-0016W-007
9FW-0027M7W-008
10FW-0028MW-0018W-009
Sheet1
 
Upvote 0
Try this @Dexir

On Cell "M3"
Excel Formula:
=SUM(--(MMULT(--(B3:I10=L3),TRANSPOSE(COLUMN(B3:I10)))>0))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

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