Frage

sheet1a I'm not exactly sure if I would use a VLOOKUP here, but this what I want to do.

I have data in sheet 1. Sales orders that have multiple items. For instance Sales order 1 has 3 lines. Line 1, 2, 3. Line 1, 2, 3, has a quantity of 2, 100, 50. This sheet is my open sales orders only

Since Sales Order HS12228 Line Item 2 Quantity of 50 has been fully invoiced below (fully invoiced Yes), then it should be considered shipped (Shipped, Y) on the same information above.

sheet2a I have data in sheet 2. Same exact data as above, but in addition, I have a field that tells me if any of those lines on Sales order 1 has been invoiced. This sheet is all open sales orders, regardless if its open or closed.

If a sales order line is invoiced, then I know it is shipped. So since I can't see what has been shipped in Sheet 1, I would like to look in sheet 2 and see what has been invoiced against the sales order and bring back a "Yes" for invoiced, which i will call "shipped" in sheet 1.

I know in order for it to return the right match, the sales order and sales order quantity in sheet 1 have to match the sales order and qty ordered in sheet 2. I've attached pics for reference

sheet1

sheet2

War es hilfreich?

Lösung

This worked for me:

=VLOOKUP(B2,'Sales Order Detail Browse'!$A$1:$U$10884,21,0)



Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top