Determine Multiple Ranges from Column Values

DBB1

New Member
Joined
Mar 28, 2023
Messages
10
Office Version
  1. 365
A system report generates a spreadsheet that contains hundreds of rows of staff and parts info, similar to the following. The number of rows on the report vary each month, by user and in total:

1716320515942.png


I would like to be able to determine the range of each of the staff, so that I can eventually use COUNTIFS(<range of staff's data>, "Part") to determine the number of Part occurrences for each user ('Parts' is a small, known set of values).

Ultimately, I would like to be able to take this data and construct the following using the range and COUNTIFS info. Maybe even automate the creation of a pivot table at some point, but baby steps, first...

1716320602861.png


I've looked at Match, Index, and Offset as a method of doing this, but can't quite adapt the examples I've found to my data.

Any assistance would be greatly appreciated!

-DBB1
 

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.
not going to recreate your data. But, try this starting in cell E43:

Book4
EFGHIJK
43StafferGlowPlugCarbFuel LineClampGasketInsulator
44Jones, Robert000000
45Smith, Frank000000
Sheet1
Cell Formulas
RangeFormula
F44:K45F44=COUNTIFS($B$9:$B$40,$E44,$C$9:$C$40,F$43)


But, the PIVOT TABLE idea is the easiest since it is a "flat" file (although it does have those summary rows) and not a cross tab report. You may need to delete those summary rows.
 
Upvote 0
Wow, that was fast, and works well. I just need to figure out how to automate the single-name list creation in your example from all the duplicate names in my Column B.

Thank you, so much!
 
Upvote 0
try:
Excel Formula:
=UNIQUE(FILTER($B$9:$B$40,--(isnumber($A$9:$A$40)),""),FALSE,FALSE)
(this was whinged, but something like that should get you a unique list as long as dates are the only number is column A.)
(you may not need the double unary "-", either)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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