Sum, Aggregate, Index, Match, Offset Help

Bob_ipc

Board Regular
Joined
Oct 18, 2017
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hey All, I have gotten myself stumped and in need of some help! I am working on a spreadsheet in where I need a value returned based on a block number and by month, and the data is in two different tabs.
Tab A (Data Entry) I need a Value in Column J based on criteria in Columns B (Month-Year) and F (Block#). The value to go into J and data for Columns B and F are found in Tab B (Rates). How do I get the rates for J?

I currently have =SUMIF(Rates!$B$5:$B$46,'Data Entry'!F4,Rates!$G$5:$G$46) in J which gives me the rates based on Block# but now I would like to add a criteria based on month as the rates change monthly.

This is Tab A
Date InTruckDriverCutblockStageing YardNetTonne$/Tonne-hr
2020-10-06GF4470IsaakS260896412747,50047.50=SUMIF(Rates!$B$5:$B$46,'Data Entry'!F4,Rates!$G$5:$G$46)
2020-10-06GF4349WillyS260896412748,00048.00
2020-10-06GF02CornyS260896412748,00048.00
2020-10-06GF4324RuebenS260896412746,00046.00

Tab B
$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr
BLOCK #Cycle (HR)Oct-20Nov-20Dec-20Jan-20Feb-20Mar-20Apr-20
S2608963.13.0723.072
E6408793.2673.0723.072
E6408853.6673.0723.072

Any help would be huge!

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi Bob,

Please try the below (adjust the ranges accordingly)

Book1
ABCDEFGH
1Date InTruckDriverCutblockStageing YardNetTonne$/Tonne-hr
206/10/2020GF4470IsaakS260896412747,50047.53.072
306/10/2020GF4349WillyS260896412748,000483.072
406/10/2020GF02CornyS260896412748,000483.072
506/10/2020GF4324RuebenS260896412746,000463.072
Data Entry
Cell Formulas
RangeFormula
H2:H5H2=INDEX(Rates!$A$1:$I$5,MATCH(D2,Rates!$A:$A,0),MATCH(MONTH('Data Entry'!A2),MONTH(Rates!$2:$2),0))


Book1
ABCDEFGHI
1$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr$/Tonne-Hr
2BLOCK #Cycle (HR)Oct-20Nov-20Dec-20Jan-20Feb-20Mar-20Apr-20
3S2608963.13.0723.072
4E6408793.2673.0723.072
5E6408853.6673.0723.072
Rates


Best Regards
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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