Nested Vlookup/IF? or Index/Match/sumif?

LMDubes

New Member
Joined
Aug 20, 2015
Messages
7
Hello,

I am currently working on a project to help declutter information and appropriate it with conditional formatting, that is obviously the easy part of this situation. However, I am curious to if this capability lies more in Vlookup/if formulas or if it is more of an index/match/sumif formula.

I have tried multiple formulas which don't return anything so I will lay out the scenario and see what the options are.

I am trying to take information from a table that is created by a copy paste into the sheet, this formula needs to match/find a part number and its delivery quantities, and compare against a blanket PO quantity and return the value of received or open. if the quantity matches the blanket # then it is received, if it does not, it needs to search the remainder of the data for all identical part numbers with the same PO number and sum the delivered quantities to compare to the blanket PO total.

Below you will find an example of what the data table looks like.

[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]receiving status
[/TD]
[TD]ship date
[/TD]
[TD]part number
[/TD]
[TD]description
[/TD]
[TD]PO #
[/TD]
[TD]PO line #
[/TD]
[TD]Blanket PO qty
[/TD]
[TD]Order qty
[/TD]
[TD]Delivery qty
[/TD]
[TD]Bo qty
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]1111111[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]654321[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]10
[/TD]
[TD]-
[/TD]
[TD]60
[/TD]
[TD]60
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]9
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]1
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]11
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]10
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]12
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]8
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]6
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][TABLE="width: 59"]
<colgroup><col></colgroup><tbody>[TR]
[TD]8/3/2017[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][TABLE="width: 66"]
<colgroup><col></colgroup><tbody>[TR]
[TD]456123-02[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][TABLE="width: 52"]
<colgroup><col></colgroup><tbody>[TR]
[TD]987654[/TD]
[/TR]
</tbody>[/TABLE]
<strike></strike>
[/TD]
[TD]4
[/TD]
[TD]500
[/TD]
[TD]20
[/TD]
[TD]20
[/TD]
[TD]0
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,225,741
Messages
6,186,763
Members
453,370
Latest member
juliewar

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