Compiling weekly numbers from same column, cross referencing serial numbers,zones, tasks and dates in other columns.

Sosborg

New Member
Joined
Jul 30, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've built a barcode scanning system to keep track of what files and boxes are being worked on through the process.
I use VBA and in cell formulas and the database is just an excel table.

I need to do a weekly summary of how much progress has been done daily (the difference between the two values in one column), cross-referenced and divided between"Task" and "Zone".

I hope the attached screenshot explains what I am after.
Using VBA would be the best, as the sheet contains thousands of rows. I have the following formula in the cell that works but it makes the entire computer crash. (I'm working in a non-profit and our computers are 8 years old). Disregard the cell and column references in the formula below, they were from the sample sheet, not the real sheet. In the screenshot, you find the actual columns used.

Excel Formula:
=IFERROR(ABS(@INDEX(Sheet2!$AF:$AF,AGGREGATE(14,6,ROW(Sheet2!$AG$2:$AG$58)/((INT(Sheet2!$AG$2:$AG$58)=INDEX(OFFSET($C$6:$BF$6,8*(INT((ROWS($C$6:$C14)-1)/8)),0),1+4*INT((COLUMNS($C16:D16)-1)/4)))*(Sheet2!$AH$2:$AH$58=$B16)*(Sheet2!$AI$2:$AI$58=D$7)),1))-@INDEX(Sheet2!$AF:$AF,AGGREGATE(15,6,ROW(Sheet2!$AG$2:$AG$58)/((INT(Sheet2!$AG$2:$AG$58)=INDEX(OFFSET($C$6:$BF$6,8*(INT((ROWS($C$6:$C14)-1)/8)),0),1+4*INT((COLUMNS($C16:D16)-1)/4)))*(Sheet2!$AH$2:$AH$58=$B16)*(Sheet2!$AI$2:$AI$58=D$7)),1)))/100,"")

Is it possible at all to do this through VBA ? Or to make the formula in-cell less demanding?

Any comment, suggestion or question would be appreciated. Hope I've made it clear enough to understand.
 

Attachments

  • Weekly summary screenshot.jpg
    Weekly summary screenshot.jpg
    130.8 KB · Views: 15

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.

Forum statistics

Threads
1,224,823
Messages
6,181,179
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