atmospheric
Well-known Member
- Joined
- Jul 16, 2002
- Messages
- 565
I have Sheet1 and Sheet2. Sheet2 is 1000 rows of products, details and prices. Into Sheet1 I paste a list of this weeks sales (by product), but the details supplied are not complete.
Using VLOOKUP, I compare each product on Sheet1 with the list on Sheet2 and bring across the additional information. If the item is not found on Sheet2, (because it's a new product), the VLOOKUP formula returns "Item not found".
Can someone help with the code to do the following:
If "Item not found" appears in column E of any Row of Sheet1, copy that Row,Columns A and B only, to Columns A and B to the next available Row on Sheet2.
This way, we'll know on Sheet2 which products are new and need to be updated, so hopefully they will be recognised next time.
Hope this makes sense, fire away with any questions if it doesn't, and if it does, thanks for your help in advance.
Using VLOOKUP, I compare each product on Sheet1 with the list on Sheet2 and bring across the additional information. If the item is not found on Sheet2, (because it's a new product), the VLOOKUP formula returns "Item not found".
Can someone help with the code to do the following:
If "Item not found" appears in column E of any Row of Sheet1, copy that Row,Columns A and B only, to Columns A and B to the next available Row on Sheet2.
This way, we'll know on Sheet2 which products are new and need to be updated, so hopefully they will be recognised next time.
Hope this makes sense, fire away with any questions if it doesn't, and if it does, thanks for your help in advance.