ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sort and match two columns without touching a third column...I'm anovice... (https://www.excelbanter.com/excel-programming/421634-sort-match-two-columns-without-touching-third-column-im-anovice.html)

shopthe7

Sort and match two columns without touching a third column...I'm anovice...
 
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!

Art

Sort and match two columns without touching a third column...I'm a
 
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!


shopthe7

Sort and match two columns without touching a third column...I'ma
 
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


shopthe7

Sort and match two columns without touching a third column...I'ma
 
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


All times are GMT +1. The time now is 10:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com