Help with formula

katsdelite

New Member
Joined
May 15, 2005
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I'm looking to count jobs by person from a spreadsheet and can't figure out how to combine vlookup with countif - at least that's how I have been approaching it although I'm sure there must be an easier way to do it. Here's sample data, and below is the output I'm looking to produce. Any help to how I should approach this would be greatly appreciated!

Aging Report.xlsm
BCDE
4NameSupervisorDayJob
5JohnGeorgeMondayParks and Rec
6JohnGeorgeMondayLawn Care
7TomHarryMondayParks and Rec
8TomHarryMondayMaintanence
9JaneMaryMondayParks and Rec
10JaneMaryMondayParks and Rec
11JohnGeorgeTuesdayLawn Care
12JohnGeorgeTuesdayHousekeeping
13TomHarryTuesdayLawn Care
14TomHarryTuesdayHousekeeping
15JaneMaryTuesdayLawn Care
16JaneMaryTuesdayParks and Rec
17JohnGeorgeWednesdayHousekeeping
18JohnGeorgeWednesdayMaintanence
19TomHarryWednesdayHousekeeping
20JaneMaryWednesdayHousekeeping
21JohnGeorgeThursdayMaintanence
22JohnGeorgeThursdayParks and Rec
23TomHarryThursdayMaintanence
24JaneMaryThursdayMaintanence
25JohnGeorgeFridayParks and Rec
26TomHarryFridayHousekeeping
27JaneMaryFridayLawn Care
Sheet1


Aging Report.xlsm
GHIJK
4Parks and RecLawn CareHousekeepingMaintanence
5John3222
6Jane
7Tom
Sheet1
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Perhaps this:
Book1
BCDEFGHIJK
4NameSupervisorDayJobParks and RecLawn CareHousekeepingMaintanence
5JohnGeorgeMondayParks and RecJohn3222
6JohnGeorgeMondayLawn CareJane3211
7TomHarryMondayParks and RecTom1132
8TomHarryMondayMaintanence
9JaneMaryMondayParks and Rec
10JaneMaryMondayParks and Rec
11JohnGeorgeTuesdayLawn Care
12JohnGeorgeTuesdayHousekeeping
13TomHarryTuesdayLawn Care
14TomHarryTuesdayHousekeeping
15JaneMaryTuesdayLawn Care
16JaneMaryTuesdayParks and Rec
17JohnGeorgeWednesdayHousekeeping
18JohnGeorgeWednesdayMaintanence
19TomHarryWednesdayHousekeeping
20JaneMaryWednesdayHousekeeping
21JohnGeorgeThursdayMaintanence
22JohnGeorgeThursdayParks and Rec
23TomHarryThursdayMaintanence
24JaneMaryThursdayMaintanence
25JohnGeorgeFridayParks and Rec
26TomHarryFridayHousekeeping
27JaneMaryFridayLawn Care
Sheet2
Cell Formulas
RangeFormula
H5:K7H5=COUNTIFS($B$5:$B$27,$G5,$E$5:$E$27,H$4)
 
Upvote 1
Solution
Worked like a charm, thank you! I knew it had to be something simple I'm missing - you just taught me countifs! I tried that too but couldn't wrap my head around it. I appreciate you!
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Worked like a charm, thank you! I knew it had to be something simple I'm missing - you just taught me countifs! I tried that too but couldn't wrap my head around it. I appreciate you!
You're welcome, and happy to help.
 
Upvote 1

Forum statistics

Threads
1,223,869
Messages
6,175,087
Members
452,611
Latest member
bls2024

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