Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default I would like to combine information from 2 tables in just one?

I have two tables with warehouse information. the first tells me the code,
names and units of all the products I have (even if they are not in stock).
The second has movement information, from witch I need the batch number and
the quantity (with only the ones I have in stock).

I would like to merge them together getting a table with the Code; Name;
Unit; batch and quantity.

Thank you, for your help. Sorry about my English.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default I would like to combine information from 2 tables in just one?

Hi,

I have assumed table 1 (in Sheet1) as below and we will ADD
Batch/Quantity to it.

Data starts in Row 2 column A

A B C D E
Code Name Unit Batch Quantity
A001 Part no 01 Unit 1 B001 10
A002 Part no 02 Unit 2 B002 20
A003 Part no 03 Unit 3
A004 Part no 04 Unit 4
A005 Part no 05 Unit 5 B005 50
A006 Part no 06 Unit 6 B006 60
A007 Part no 07 Unit 7 B007 70
A008 Part no 08 Unit 8

Table 2 (in Sheet2) is as below and I have named the range A2 to C7 as
"Stock"

Code Batch Quantity
A001 B001 10
A002 B002 20
A005 B005 50
A006 B006 60
A007 B007 70
A009 B009 90


In Table 1, column D, row 2 i.e. D2 put:

=IF(ISERROR(VLOOKUP($A2,Stock,2,0)),"",VLOOKUP($A2 ,Stock,2,0))

In E2 put:

=IF(ISERROR(VLOOKUP($A2,Stock,3,0)),"",VLOOKUP($A2 ,Stock,3,0))


If no match is found on Code, both Batch & Quantity will be blank.

Copy these formulae down in Table 1.

HTH

"Valinox.pt" wrote:

I have two tables with warehouse information. the first tells me the code,
names and units of all the products I have (even if they are not in stock).
The second has movement information, from witch I need the batch number and
the quantity (with only the ones I have in stock).

I would like to merge them together getting a table with the Code; Name;
Unit; batch and quantity.

Thank you, for your help. Sorry about my English.

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
How to combine three columns information frandk Excel Discussion (Misc queries) 5 March 4th 09 03:58 PM
Combine information from rows Sheeloo Excel Discussion (Misc queries) 5 August 28th 08 10:45 AM
How to combine information from multiple rows into one Zuzie Excel Discussion (Misc queries) 0 July 24th 08 12:48 PM
Combine Information Lost in Microbiology Excel Discussion (Misc queries) 2 July 24th 07 12:28 AM
combine information in two cells into the third column May Excel Discussion (Misc queries) 2 February 6th 07 12:00 AM


All times are GMT +1. The time now is 08:57 PM.

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"