Will vlookup work for this scenario

mregan

New Member
Joined
Feb 24, 2023
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
I apologize ahead of time, my office manager and I are excel novices. We have been plugging away on a new workbook for our salesmen to try to automate most of the quoting processes. I have a workbook that we use to calculate labor and material quotations. On this sheet, in the blue boxes, we add quantites of each material package we need per job. On a separate sheet we have labor hours assigned to each material package. So a quantity of 1-1 Head Package may be 10 hrs labor, a quantity of 1-2 head package 16 hrs labor, etc. Can I create a formula that could see how many quantites of each material package we added to this form and it would add up the labor assigned to each material package and put the total in the Standard install labor box?
My office manager was thinking we could use a vlookup formula but we're not sure if that is the correct formula. She seems pretty confident if we were only selecting 1 of the material packages she could get the vlookup to see the labor assigned to that material package and populate the Standard install labor box. We're not so sure we can do the same and have it add up multiple labor amounts.



price sheet.gif
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
as long as there are no duplicates in the column you are looking (I assume column A - or the first column above) then you can return the same row from another column. But, you must then never insert intervening columns without adjusting the formula (the column number you select in argument 3).
VLOOKUP(B2,$A$3:$E300,3,FALSE)
Instead, if the XLOOKUP function is available then
(assume the lookup value is in Cell B2. and you want the dollars from the 3rd column (assuming column C) and assuming 300 rows in your data.

XLOOKUP(B2,$A$3:$A$300, $C$3:$C$300)

if your excel does not work with xlookup then use this INDEX MATCH function:
INDEX($C$3:$C$300,Match(B2,$A$3:$A$300:$A$300))
 
Upvote 0
You're welcome, and welcome to the Forum.
Happy to help!
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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