Vlookup formula needs to return more than first value

dixiboy

New Member
Joined
Sep 23, 2016
Messages
7
Hello,
I have a basic Vlookup formula that I am using to add certain job costs. The formula is as follows:
=IFERROR(VLOOKUP(B235,'1530 - WIP MATERIALS '!A:H,5,FALSE),0)

The formula is looking for a specific job number and returning the associated costs, however it is only returning the first record of that cost and none of the others in the worksheet.
can anyone help with either changing the formula to return multiple values or to sum the values that all pertain to the same job.
Thank you
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
To sum the values try SUMIF.

=SUMIF('1530 - WIP MATERIALS'!A:A,B235,'1530 - WIP MATERIALS'!E:E)

Assumes all the values are in column E of '1530 - WIP MATERIALS'

M.
 
Last edited:
Upvote 0
You are welcome.
Glad we could help.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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