Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
Art Art is offline
external usenet poster
 
Posts: 587
Default 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!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
Sort 1 Column to match another David P. Excel Discussion (Misc queries) 0 May 22nd 07 11:57 PM
Sort and Match like Items in 2 Columns blaylock Excel Worksheet Functions 2 July 26th 06 09:32 PM
match and sort columns Shamus Excel Worksheet Functions 0 May 27th 06 02:01 AM
How do I match identical values in 2 columns and then sort? Godswatch Excel Discussion (Misc queries) 1 November 9th 05 06:55 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"