Matrix multiplication in Power Query or Power Pivot?

macfuller

Active Member
Joined
Apr 30, 2014
Messages
319
Office Version
  1. 365
Platform
  1. Windows
(Like many of you) I've been given a task to update an externally-created spaghetti-link spreadsheet. In this case it is a pro-forma to estimate the cost-per-pound of linen going through a proposed laundry. In essence it is a series of matrices through which the linen volume moves.

First is a binary matrix showing which types of linen go through various tasks and procedures:

[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]Tunnel Washer
[/TD]
[TD]Presser
[/TD]
[TD]Dryer
[/TD]
[TD]Folder
[/TD]
[/TR]
[TR]
[TD]Sheets
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Blankets
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Towels
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]








Then subsequent matrices (really scalars I suppose since we're only interested in one column at a time) give information on the capacity of the machines and tasks, how many FTEs are required, utility usage, machine cost + installation etc. from which we can also add up how many machines are required and at what cost. Then it's a matter of multiplying the pounds and pieces of linen across the various matrices to sum everything. (One might argue that the original binary matrix is unnecessary, but it seems the simplest way to turn a cost on or off if we decide that blankets should go through the presser.)

The problem with the existing workbook is that is wasn't built for significant time differentials. It can assume (say) a 3% increase in pounds submitted to the laundry each year, but it assumes full capacity in year 1 of the estimate. If we build the laundry to (round numbers) 100 million lbs/year but only have 50MM in year one and 75MM in year 3, is it better to build the building shell for capacity but only buy equipment as needed?

So before I go down this road I'm wondering if others have encountered similar requirements and whether they have performed most of the transformations in Power Query or Power Pivot. I don't know that it matters greatly - getting the correct throughput estimates for each machinery type is obviously a bigger deal - but I would like insight from those who have been there already.

Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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