Vlookup

mfbball04

New Member
Joined
Nov 17, 2017
Messages
10
Need help with a formula for v lookup...

Original Data kind of looks like this..

Work order Part Number Scrap Code Amount Scrap
29135 49055 CDX 15
29135 49055 FTX 25
29135 49055 ABC 32
and so on....
trying to create a separate sheet so data can pull in by part number... like this..

Part Number Work Order ABC CDX FTX
29135 49055 32 15 25
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi, maybe you can adapt one of these options to your two sheet set-up:


Excel 2013/2016
ABCDEFGHIJ
1Work OrderPart NumberScrap CodeAmount ScrapPart NumberWork OrderABCCDXFTX
22913549055CDX152913549055321525
32913549055FTX25
42913549055ABC32
5Part NumberWork OrderABCCDXFTX
62913549055321525
Sheet1
Cell Formulas
RangeFormula
H2=INDEX($D$2:$D$100,MATCH($F2&"|"&$G2&"|"&H$1,INDEX($A$2:$A$100&"|"&$B$2:$B$100&"|"&$C$2:$C$100,0),0))
H6=SUMIFS($D:$D,$A:$A,$F6,$B:$B,$G6,$C:$C,H$5)
 
Upvote 0
one more thing... in your above example what if there were multiple entries for "ABC" for work order 29135 and part number 49055, how would you work sum into that? thanks in advance
 
Upvote 0
You could try this one. paste in H2 and drag across. No Need for the sumif
Code:
=SUMPRODUCT(--($A$2:$A$5=$F2)*($B$2:$B$5=$G2)*($C$2:$C$5=H$1),$D$2:$D$5)
 
Last edited:
Upvote 0
Help me understand what you mean.

Hi, SUMIFs() and the kindred COUNTIFs() are better (more efficient) for doing simple multi-conditional summing and counting. It is what they are designed to do.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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