Unique entries across multiple worksheets

m_smith_solihull

New Member
Joined
Apr 26, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Afternoon,

I would be grateful of your assistance please.

To set the scene, I'm trying to find a formula/ solution to count how many times a project task has been rescheduled. Presently, I have multiple worksheets (each representing a single day) in a single workbook. Ultimately I want to keep the data for each day in a separate spreadsheet so the solution will need to loop through each as appropriate.

Each worksheet (which is data from a single day) contains a list of Projects (Column D) and a list of Project Tasks (Column F).

For example:

Spreadsheet 1: MondaySpreadsheet 1: Tuesday Spreadsheet 1: WednesdayCount
Project A: Task 1Project A: Task 12
Project A: Task 2Project A: Task 2Project A: Task 23
Project B: Task 1Project B: Task 12
Project C: Task 21

Obviously the data can change from day to day, as additional projects and tasks are created / deleted etc.

Any assistance would be very welcomed as I'm hitting a brick wall.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I don't love this, but it works:

MrExcelPlayground22.xlsx
ABCDEFGHIJKLMNOPQRS
1Tab: Main TabTab: MondayTab: TuesdayTab: WednesdayTab: ThursdayTab: Friday
2ProjectTaskCountProjectTaskProjectTaskProjectTaskProjectTaskProjectTask
3A12A1A1A2A2B1
4A24A2A2C2C1C2
5B13B1B1
6C11
7C22
8 
Sheet17
Cell Formulas
RangeFormula
A3:B7A3=LET(a,Table3,b,Table4,c,Table5,d,Table6,e,Table7,f,VSTACK(a,b,c,d,e),g,UNIQUE(f),h,SORT(SORT(g,2),1),h)
C3:C8C3=LET(a,Table3,b,Table4,c,Table5,d,Table6,e,Table7,f,VSTACK(a,b,c,d,e),g,FILTER(f,(CHOOSECOLS(f,1)=A3)*(CHOOSECOLS(f,2)=B3)),IFERROR(ROWS(g),""))
Dynamic array formulas.
 
Upvote 0
Thanks - now I need to be able to loop this through different workbooks, and worksheets within each workbook - is this possible please?
 
Upvote 0
You sure can do that. Put the tables wherever they need to be. Excel will manage them. Separate workbooks is a little bit more pesty - requiring refreshes - but excel can manage it.

The key to making this easy is to use the "Format as Table" feature.
 
Upvote 0

Forum statistics

Threads
1,224,812
Messages
6,181,099
Members
453,021
Latest member
Justyna P

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