List All Rows in Database which Belong to X Employee

AndrewDrewAndy

New Member
Joined
Nov 18, 2019
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a timesheet database which has a row for every period an employee has clocked in during a pay period (typically 30x per period). On another worksheet, I have a summary by employee (grouped every 50 rows). I've written the below formula and have successfully output the data. However I am running into the below issues and would like to see if there is a way to optimize the formula.

Issues:
1) Every time I F9 the workbook the Calculating (12 Threads) takes >1 minute
2) My outputs are every 50 rows so when I paste formulas down I have to adjusted the "ROW(1:1) etc.

Formula: =IFERROR(INDEX('Expanded Report'!$C:$M,SMALL(IF('Expanded Report'!$C:$C='Calculator'!$C$6,ROW('Expanded Report'!$C:$C)),ROW(1:1)),2),"")

Expanded Report = timesheet database
'Calculator'!$C$6 = Employee Name (this become $C$56, $C$156, etc.)

Thank you for any insights.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
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
Clear all cells of the existing formula & enter this in a single cell
Excel Formula:
=FILTER('Expanded Report'!$C$2:$M$10000,'Expanded Report'!$C$2:$C$10000=C6,"")
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,222,691
Messages
6,167,670
Members
452,131
Latest member
MichelleH77

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