Countifs for repeated cell combinations

willow1985

Well-known Member
Joined
Jul 24, 2019
Messages
871
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have been trying to figure out a formula that will count how many times a particular part has been in our facility. Parts are identified by part number and serial number so I need to count the combination of the 2.

Example:
part_numberserial_numberAmount of Times Through facility
989898
545454
M001
N123
2
0
989898M0012

<tbody>
</tbody>

<tbody>
</tbody>

I tried using the following countif formula but it gives me a result of 0 for everything.

=COUNTIFS(E2:E1000,F2:F1000)


Also if an additional condition could be added not to count Any Cell that says "NSN" in column F

Any help would be appreciated.

Thank you

Carla
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
I believe you are looking for:

=countifs(e:e,e:e,f:f,f:f)

What this does is say: "how many times in the entire column of E do we see this particular value? AND how many times in F do we see the corresponding value in F?" This will search for them jointly, acting like they are a single field.
 
Last edited:
Upvote 0
This works perfect, but is there a way to add the condition do not count any cell that ="NSN"?
 
Upvote 0

Forum statistics

Threads
1,213,544
Messages
6,114,239
Members
448,555
Latest member
RobertJones1986

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