Calculating Average Price, Based on Multiple Cells

greatscott1

New Member
Joined
May 31, 2022
Messages
6
Office Version
  1. 2010
Platform
  1. Windows
Hi All,

I wonder if anyone could help with one of the formulas I'm trying to create? Once I understand the one, I'll be able to adapt for the others I'm trying to do.

I have a separate sheet ("Statistics") where I specify a 'from' ('Statistics'!B3) and 'to' ('Statistics'!B4) date. I'd like to have a formula that will give me an average price paid for PRODUCT A across all suppliers, by multiplying column F by column J for all instances that fall between the date ranges specified (column A).

Many thanks in advance!

Timber CallOffs (WIP).xlsx
ABCDEFGHIJKLM
2VOLUMES (m³)RATES (£/m³)
3Invoice DateInvoice NumberPO Number (TFM/*****)Ordered BySupplierPRODUCT APRODUCT BPRODUCT CPRODUCT DPRODUCT APRODUCT BPRODUCT CPRODUCT D
402/12/202212123111372Employee 1Supplier 329.24419.447£295£15
506/12/20226100221211379Employee 1Supplier 134.17814.133£295£15
606/12/20226100221311379Employee 1Supplier 11.512£736
707/12/202212126511380Employee 1Supplier 333.51114.418£295£15
808/12/202233409311374Employee 1Supplier 433.5635.7742.474£295£15£700
912/12/202233412111384Employee 1Supplier 444.991£295
1014/12/202212146111386Employee 1Supplier 330.4036.77210.686£295£15£220
1116/12/20226100271611389Employee 1Supplier 131.44223.569£295£15
1216/12/202212153511387Employee 1Supplier 346.1816.171£295£220
1316/12/202212156611392Employee 1Supplier 327.6155.12412.342£295£15£220
14
15
Timber Invoices
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,417
Messages
6,124,783
Members
449,188
Latest member
Hoffk036

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