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]
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]