COUNTIF Assistance

N3cTr0

New Member
Joined
Jan 6, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Good Day,

I have a spreadsheet where we record what sites we need to complete along with a tech and completed date.
What im trying to do is if a site is completed, to add up how many sites that specific tech has done to date.
So basically check if cell C2 has a value then add it to the tech in cell D2 and run down the 2 columns to get a total value for the tech which will be output to H12,H13 etc

Any assistance would be greatly appreciated.

example.xlsx
ABCDEFGH
1Site NameScheduled DateCompleted DateResource
2Site 19/25/20215/7/2022MAITSH
3Site 29/25/2021
4Site 31/25/2022GAMMA
5Site 45/7/20225/7/2022GAMMAResource Count
6Site 511/5/2022MAITSH3
7Site 62/23/2022GRALOWGAMMA3
8Site 79/1/20225/7/2022MAITSHGRALOW2
9Site 84/21/2022MAITSH
10Site 99/1/20225/7/2022GRALOW
11Site 1011/18/2022Completed Sites
12Site 113/29/2022MAITSH?
13Site 123/6/2022GAMMA?
14Site 138/24/2022GAMMAGRALOW?
Sheet1
Cell Formulas
RangeFormula
H6:H8H6=COUNTIF(D:D,G6)
 

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
How about:
Book1
ABCDEFGH
1Site NameScheduled DateCompleted DateResource
2Site 19/25/20215/7/2022MAITSH
3Site 29/25/2021
4Site 31/25/2022GAMMA
5Site 45/7/20225/7/2022GAMMAResource Count
6Site 511/5/2022MAITSH3
7Site 62/23/2022GRALOWGAMMA3
8Site 79/1/20225/7/2022MAITSHGRALOW2
9Site 84/21/2022MAITSH
10Site 99/1/20225/7/2022GRALOW
11Site 1011/18/2022Completed Sites
12Site 113/29/2022MAITSH2
13Site 123/6/2022GAMMA1
14Site 138/24/2022GAMMAGRALOW1
Sheet1
Cell Formulas
RangeFormula
H6:H8H6=COUNTIF(D:D,G6)
H12:H14H12=COUNTIFS(D:D,G12,C:C,"<>")
 
Upvote 1
Solution

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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