Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello!
I have an inventory spreadsheet that I need to merge to my product sheet. My example: I have a product sheet with thousands of products on it. My supplier does not offer a spreadsheet with inventory on it. However, I can download a seperate spreadsheet that has the product number and amount of inventory only. The two spreadsheets do not have the same amount of rows and the products do not line up- THAT WOULD BE TOO EASY- SORT DATA.... I need to be able to insert the inventory spreadsheet to the product spreadsheet and have it match product number to product number and line up with the inventory available. Example Column A: Product code Column B: Product code Column C: Inventory level I need A to match B (B being the constant) so that C does not change- If the values do not match it should remain blank. Can anyone give my direction on this? Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This may not be what you're looking for, since I'm only using 2 columns on my
product sheet. For simplicity, assume that the inventory is in A1:B5 on Sheet1. There are 10 products in A1:A10 on Sheet2. Put this formula in Cell B1 on Sheet2. =IF(ISNA(VLOOKUP(A1,Sheet1!$A$1:$B$50,2,FALSE)),"" ,VLOOKUP(A1,Sheet1!$A$1:$B$50,2,FALSE)) Then copy it down to the other rows A2:A9. This will give you a blank if you have a product that doesn't appear in the inventory. "shopthe7" wrote: Hello! I have an inventory spreadsheet that I need to merge to my product sheet. My example: I have a product sheet with thousands of products on it. My supplier does not offer a spreadsheet with inventory on it. However, I can download a seperate spreadsheet that has the product number and amount of inventory only. The two spreadsheets do not have the same amount of rows and the products do not line up- THAT WOULD BE TOO EASY- SORT DATA.... I need to be able to insert the inventory spreadsheet to the product spreadsheet and have it match product number to product number and line up with the inventory available. Example Column A: Product code Column B: Product code Column C: Inventory level I need A to match B (B being the constant) so that C does not change- If the values do not match it should remain blank. Can anyone give my direction on this? Thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Dec 22, 10:01*pm, Art wrote:
This may not be what you're looking for, since I'm only using 2 columns on my product sheet. *For simplicity, assume that the inventory is in A1:B5 on Sheet1. There are 10 products in A1:A10 on Sheet2. Put this formula in Cell B1 on Sheet2. =IF(ISNA(VLOOKUP(A1,Sheet1!$A$1:$B$50,2,FALSE)),"" ,VLOOKUP(A1,Sheet1!$A$1:$*B$50,2,FALSE)) Then copy it down to the other rows A2:A9. This will give you a blank if you have a product that doesn't appear in the inventory. "shopthe7" wrote: Hello! I have an inventory spreadsheet that I need to merge to my product sheet. My example: I have a product sheet with thousands of products on it. My supplier does not offer a spreadsheet with inventory on it. However, I can download a seperate spreadsheet that has the product number and amount of inventory only. The two spreadsheets do not have the same amount of rows and the products do not line up- THAT WOULD BE TOO EASY- SORT DATA.... I need to be able to insert the inventory spreadsheet to the product spreadsheet and have it match product number to product number and line up with the inventory available. Example Column A: Product code Column B: Product code Column C: Inventory level I need A to match B *(B being the constant) so that C does not change- If the values do not match it should remain blank. Can anyone give my direction on this? Thanks!- Hide quoted text - - Show quoted text - Well, I'm not sure what that was supposed to do, but it didn't do anything and I received an error message. Here's another approach: If I copied Product codes into Column A, Product codes into Cloumn B, and Inventory levels into Column C- Is there a way to match column A to B and leave a blank if the do not match? Example: Before Sort/Match A B C 1 2 130 6 1 150 After Sort/Match A B C 1 1 150 6 2 130 I appreciate your help and your quick reply! William |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Dec 23, 10:12*pm, shopthe7 wrote:
On Dec 22, 10:01*pm, Art wrote: This may not be what you're looking for, since I'm only using 2 columns on my product sheet. *For simplicity, assume that the inventory is in A1:B5 on Sheet1. There are 10 products in A1:A10 on Sheet2. Put this formula in Cell B1 on Sheet2. =IF(ISNA(VLOOKUP(A1,Sheet1!$A$1:$B$50,2,FALSE)),"" ,VLOOKUP(A1,Sheet1!$A$1:$**B$50,2,FALSE)) Then copy it down to the other rows A2:A9. This will give you a blank if you have a product that doesn't appear in the inventory. "shopthe7" wrote: Hello! I have an inventory spreadsheet that I need to merge to my product sheet. My example: I have a product sheet with thousands of products on it. My supplier does not offer a spreadsheet with inventory on it. However, I can download a seperate spreadsheet that has the product number and amount of inventory only. The two spreadsheets do not have the same amount of rows and the products do not line up- THAT WOULD BE TOO EASY- SORT DATA.... I need to be able to insert the inventory spreadsheet to the product spreadsheet and have it match product number to product number and line up with the inventory available. Example Column A: Product code Column B: Product code Column C: Inventory level I need A to match B *(B being the constant) so that C does not change- If the values do not match it should remain blank. Can anyone give my direction on this? Thanks!- Hide quoted text - - Show quoted text - Well, I'm not sure what that was supposed to do, but it didn't do anything and I received an error message. Here's another approach: If I copied Product codes into Column A, Product codes into Cloumn B, and Inventory levels into Column C- Is there a way to match column A to B and leave a blank if the do not match? Example: Before Sort/Match * * A * *B * *C * * 1 * * 2 * 130 * * 6 * * 1 * 150 After Sort/Match * * A * *B * *C * * 1 * * 1 * 150 * * 6 * * * * * *2 * 130 I appreciate your help and your quick reply! William- Hide quoted text - - Show quoted text - I got it!!!! I found my answer (in detail) here http://www.ehow.com/how_4668602_look...l-vlookup.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to match 2 columns, if a match found add info from 2nd column | Excel Worksheet Functions | |||
Sort 1 Column to match another | Excel Discussion (Misc queries) | |||
Sort and Match like Items in 2 Columns | Excel Worksheet Functions | |||
match and sort columns | Excel Worksheet Functions | |||
How do I match identical values in 2 columns and then sort? | Excel Discussion (Misc queries) |