Sheet to Validation as to whether to accept an item from an Outbound Order or not based on the already received return orders

Sheshashayan M V

New Member
Joined
May 25, 2020
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hi Guys,

I currently have a problem statement that goes like this -
1. There are 2 Excel Workbooks - 1 Sales report (Outbound) & 1 Return Sales report (Inbound). These are for reference & will keep changing every week.
2. Now I have an Invoice that has the Sales Order#, Item ID & Serial number for a said product. Now I need to verify that
a. The details of the above product (as per the invoice) are available in my 1st report (Sales report).
b. The above product (as per the invoice) is not already returned by checking the details of this product with the 2ns report (Return Sales report).

Please refer the attached screenshots for better understanding of the data.

This is an urgent requirement. I tried to learn the relevant topics online to get this done but wasn’t able to do so.
Kindly help, as I have hit the deadline and I need to submit the report on 27th May 2020.

Awaiting your quick & positive response.

Regards,
Sheshashayan M V
 

Attachments

  • Return Order Report.JPG
    Return Order Report.JPG
    103.5 KB · Views: 3
  • Shipped_Order_Report.JPG
    Shipped_Order_Report.JPG
    167.9 KB · Views: 4
  • Validation Sheet.JPG
    Validation Sheet.JPG
    100.3 KB · Views: 3
Last edited by a moderator:

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi Shesh,

Here's an example but I have it in one workbook, 3 sheets for simplicity. Isn't this just an INDEX MATCH check?
I've let it go "#N/A" so it's obvious when no match is found but you can wrap IFERROR around the formulae with messages for exceptions.
I see all all Qty fields are 1 but I've put a check in cell E2 of Validation just in case more is returned than was ordered.

The Validation sheet just looks for a perfect match of the three specified keys in the two tabs.

SheshashayanMV.xlsx
ABCDEFGH
1Order NumberItemSerial No.Shipped QtyLot No.Shipping Org./LocationCustomer NameShipped Date
2ORD12310136253SRL1022671OBLPNSRL1035ORG 1Test Cust15/21/2020
3ORD12315115274SRL1573481OBLPNSRL1444ORG 1Test Cust15/22/2020
4ORD12320194456SRL1453571OBLPNSRL1790ORG 1Test Cust15/23/2020
5ORD12325163640SRL1298031OBLPNSRL1028ORG 1Test Cust15/24/2020
6ORD12325100108SRL1738891OBLPNSRL1455ORG 1Test Cust35/25/2020
7ORD12325187900SRL1050611OBLPNSRL1323ORG 1Test Cust35/26/2020
8ORD12340108825SRL1705201OBLPNSRL1471ORG 1Test Cust35/27/2020
9ORD12345161489SRL1725701OBLPNSRL1495ORG 1Test Cust35/28/2020
10ORD12350101472SRL1382061OBLPNSRL1129ORG 1Test Cust35/29/2020
11ORD12355144562SRL1991341OBLPNSRL1888ORG 1Test Cust35/30/2020
Shipped


SheshashayanMV.xlsx
ABCDEFGHI
1RMA Order #ItemSerial No.Received QtyLot No.Orig SOReceiving Org./ LocationCustomer NameDate of Receipt
2RMA12315115274SRL1573481OBLPNSRL1444ORD12315ORG 1Test Cust15/22/2020
3RMA12320194456SRL1453571OBLPNSRL1790ORD12320ORG 1Test Cust15/23/2020
4RMA12325163640SRL1298031OBLPNSRL1028ORD12325ORG 1Test Cust15/24/2020
5RMA12325100108SRL1738891OBLPNSRL1455ORD12325ORG 1Test Cust35/25/2020
6RMA12325187900SRL1050611OBLPNSRL1323ORD12325ORG 1Test Cust35/26/2020
7
8
Returns


SheshashayanMV.xlsx
BCDEFGHIJKLMNOP
2Sales OrderORD12325 
3Item SKU163640
4Item Serial No.SRL129803
5
6
7SI No.Order NumberItemSerial No.Shipped QtyLot No.Shipping Org./LocationCustomer NameShipped DateOrig SORMA Order #ItemSerial No.Lot No.Received Qty
81ORD12325163640SRL1298031OBLPNSRL1028ORG 1Test Cust15/24/2020ORD12325RMA12325163640SRL129803OBLPNSRL10281
9
Validation
Cell Formulas
RangeFormula
E2E2=IF(F8-P8<0,"Quantity mismatch","")
C8:J8C8=INDEX(Shipped!A2:A9999,MATCH(1,INDEX((Shipped!$A$2:$A$9999=$C$2)*(Shipped!$B$2:$B$9999=$C$3)*(Shipped!$C$2:$C$9999=$C$4),0,1),0))
K8K8=INDEX(Returns!F2:F9999,MATCH(1,INDEX((Returns!$F$2:$F$9999=$C$2)*(Returns!$B$2:$B$9999=$C$3)*(Returns!$C$2:$C$9999=$C$4),0,1),0))
L8:N8L8=INDEX(Returns!A2:A9999,MATCH(1,INDEX((Returns!$F$2:$F$9999=$C$2)*(Returns!$B$2:$B$9999=$C$3)*(Returns!$C$2:$C$9999=$C$4),0,1),0))
O8O8=INDEX(Returns!E2:E9999,MATCH(1,INDEX((Returns!$F$2:$F$9999=$C$2)*(Returns!$B$2:$B$9999=$C$3)*(Returns!$C$2:$C$9999=$C$4),0,1),0))
P8P8=INDEX(Returns!D2:D9999,MATCH(1,INDEX((Returns!$F$2:$F$9999=$C$2)*(Returns!$B$2:$B$9999=$C$3)*(Returns!$C$2:$C$9999=$C$4),0,1),0))
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,047
Members
449,064
Latest member
scottdog129

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