Help with formulae to select rates

moofish87

New Member
Joined
Dec 7, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm looking for a formulae that will select a row of rates to Sumproduct based on the variable at the start of the row.

Ive crudely mocked up the spreadsheet below. so when the variable is inputted into column 2 it will select the row of rates 2 and sumproduct them against that row.

Hopefully this makes sense and thansk for your help.

1645027308399.png
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
One way:

Book1 (version 1).xlsb
ABCDEFGHIJKL
1
21$ 4.00$ 8.00$ 12.00$ 16.00$ 20.00$ 24.00$ 28.00$ 32.00
32$ 7.00$ 14.00$ 21.00$ 28.00$ 35.00$ 42.00$ 49.00$ 56.00
43$ 5.00$ 10.00$ 15.00$ 20.00$ 25.00$ 30.00$ 35.00$ 40.00
54$ 1.00$ 2.00$ 3.00$ 4.00$ 5.00$ 6.00$ 7.00$ 8.00
6AddressVariableTotal
7Street1211191
8Street211132
9Street34117
Sheet16
Cell Formulas
RangeFormula
L7:L9L7=SUMPRODUCT(D7:J7,INDEX($D$2:$J$5,MATCH(B7,$C$2:$C$5,0),0))
 
Upvote 0

Forum statistics

Threads
1,215,431
Messages
6,124,855
Members
449,194
Latest member
HellScout

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