Countif Formula

jayjaysb

Board Regular
Joined
Nov 16, 2011
Messages
204
Hi all,

Looking for formula please

In Column C I have 2 options In Process and Awaiting Process
In Column D I have 4 options Repaired, Cannot be repaired, Awaiting Part, Log No.

Below I have 2 In Process = Repaired, 1 In Process = Cannot be repaired.
2 Awaiting Process = Awaiting Log No

Status Outcome
In Process Repaired
In Process Repaired
In Process Cannot be repaired
Awaiting Process Awaiting Log No
Awaiting Process Awaiting Log No

Thanks

JJSB
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Excel 2013/2016
CD
1In ProcessRepaired
2Awaiting ProcessCannot be repaired
3Awaiting Part
4Awaiting Log No
Sheet3


This seems your table. But not clear with what do you mean by "Status Outcome" and "Coutif" formula.
 
Upvote 0
Hi JJSB,

I'm not sure what you need but as the subject is "Countif" I'm guessing you want a count of all combinations in columns C & D. Assuming neither can be blank then there's 8 options.



CDEFGH
1WIP/WaitingStatusSummaryCount
2In ProcessRepairedIn ProcessRepaired3
3Awaiting ProcessCannot be repairedIn ProcessCannot be repaired0
4In ProcessAwaiting PartIn ProcessAwaiting Part3
5Awaiting ProcessLog No.In ProcessLog No.0
6In ProcessRepairedAwaiting ProcessRepaired0
7Awaiting ProcessAwaiting PartAwaiting ProcessCannot be repaired1
8In ProcessAwaiting PartAwaiting ProcessAwaiting Part3
9Awaiting ProcessLog No.Awaiting ProcessLog No.2
10In ProcessRepaired
11Awaiting ProcessAwaiting Part
12In ProcessAwaiting Part
13Awaiting ProcessAwaiting Part

<tbody>
</tbody>
Countif

Worksheet Formulas
CellFormula
H2=COUNTIFS(C:C,F2,D:D,G2)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Solution
Hi Sam, Sorry. I couldn't get it to paste the table, But Toadstool below has got what I meant. Thanks for your speedy reply JJSB
 
Upvote 0
Hi JJSB,

I'm not sure what you need but as the subject is "Countif" I'm guessing you want a count of all combinations in columns C & D. Assuming neither can be blank then there's 8 options.



C
D
E
F
G
H
1
WIP/Waiting
Status
Summary
Count
2
In Process
Repaired
In Process
Repaired
3
3
Awaiting Process
Cannot be repaired
In Process
Cannot be repaired
4
In Process
Awaiting Part
In Process
Awaiting Part
3
5
Awaiting Process
Log No.
In Process
Log No.
6
In Process
Repaired
Awaiting Process
Repaired
7
Awaiting Process
Awaiting Part
Awaiting Process
Cannot be repaired
1
8
In Process
Awaiting Part
Awaiting Process
Awaiting Part
3
9
Awaiting Process
Log No.
Awaiting Process
Log No.
2
10
In Process
Repaired
11
Awaiting Process
Awaiting Part
12
In Process
Awaiting Part
13
Awaiting Process
Awaiting Part

<tbody>
</tbody>
Countif


Worksheet Formulas
Cell
Formula
H2

=COUNTIFS(C:C,F2,D:D,G2)

<tbody>
</tbody>

<tbody>
</tbody>
Thanks Toadstool, Yes that is what I am looking for. Many thanks for you help. JJSB
 
Upvote 0
Hi Sam, Sorry. I couldn't get it to paste the table, But Toadstool below has got what I meant. Thanks for your speedy reply JJSB

Thats ok, The reason i asked you about countif and stuff, cause looking at your data, seems you can easily achieve the result using "Pivot". I guess you don't need to create any extra table or any formula required.

I worked on Toadstool data to show you that.

OTzQDVE.jpg
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

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