Multiply the qty based on hourly rate

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
350
Office Version
  1. 365
Platform
  1. Windows
Is there any shorter formula instead of adding multiple vlookups in the below table?..

I want to multiply the qty (in yellow) based on the hourly rate. Please see in blue the expected result..

Thank you.





Book1.xlsm
ABCDEFGHIJKLMNOP
2RATE
31 HR1.5 HRS2 HRS2.5 HRS3 HRS+TOTAL AMOUNT1 HR800
4537,300.001.5 HRS1100
568,400.002 HRS1400
62911,500.002.5 HRS1800
722,200.003 HRS+2200
8337,500.00
9
Sheet4
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try:
Book1
ABCDEFGHIJKLMNOP
1
2RATE
31 HR1.5 HRS2 HRS2.5 HRS3 HRS+TOTAL AMOUNT1 HR800
45373001.5 HRS1100
5684002 HRS1400
629142002.5 HRS1800
7222003 HRS+2200
8337500
Sheet1
Cell Formulas
RangeFormula
F4:F8F4=MMULT(--A4:E8,P3:P7)
Dynamic array formulas.
 
Upvote 0
Try:
Book1
ABCDEFGHIJKLMNOP
1
2RATE
31 HR1.5 HRS2 HRS2.5 HRS3 HRS+TOTAL AMOUNT1 HR800
45373001.5 HRS1100
5684002 HRS1400
629142002.5 HRS1800
7222003 HRS+2200
8337500
Sheet1
Cell Formulas
RangeFormula
F4:F8F4=MMULT(--A4:E8,P3:P7)
Dynamic array formulas.
thanks again sir.it did worked.. would it be possible to have a formula row by row or not a spilling formula?..so i can copy and paste values the amount whenever the rate changes..
 
Upvote 0
I don't see how that would make a difference but adjust the first reference to a single row only.
Book1
ABCDEFGHIJKLMNOP
1
2RATE
31 HR1.5 HRS2 HRS2.5 HRS3 HRS+TOTAL AMOUNT1 HR800
45373001.5 HRS1100
5684002 HRS1400
629142002.5 HRS1800
7222003 HRS+2200
8337500
Sheet3
Cell Formulas
RangeFormula
F4:F8F4=MMULT(--A4:E4,$P$3:$P$7)
 
Upvote 0
Solution
I don't see how that would make a difference but adjust the first reference to a single row only.
Book1
ABCDEFGHIJKLMNOP
1
2RATE
31 HR1.5 HRS2 HRS2.5 HRS3 HRS+TOTAL AMOUNT1 HR800
45373001.5 HRS1100
5684002 HRS1400
629142002.5 HRS1800
7222003 HRS+2200
8337500
Sheet3
Cell Formulas
RangeFormula
F4:F8F4=MMULT(--A4:E4,$P$3:$P$7)
it worked.. thank you
 
Upvote 0

Forum statistics

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