PC Review


Reply
Thread Tools Rate Thread

Compare two datasheets and create a new one with modified and newinformation - Excel

 
 
eleanor
Guest
Posts: n/a
 
      30th Sep 2010
HI, this is my first post so please be gentle! I am fairly good in
Excel (as an amateur) and usually love the challenge of getting a
whizzy macro to work but I am really pushed for time and i know this
is easier than I am making it!

Table 1
Lot of information on products in it and lots of fields that can be
updated

Table 2
Contains some of the information from Table 1 as well as other
information added from different set of people

I want to create Table 3
Core set of information from Table 2 that is added too showing;
Updates to any existing products in Table 2 (from Table 1) but KEEPING
any information people have added
Any new products that have been added to Table 1 that are not in Table
2

I have tried to use a simple example below to show how these would be
compared and updated into TABLE 3 weekly
Table 1
ID - Fruit - Colour - Price - Quantity
15- Apple - Green - 10p - 100
16 - Orange- Orange- 10p - 100
17 - Plum - Purple - 20p - 50
18 - Pineapple - Yellow - 50p - 300

Table 2 -
ID - Fruit - Colour - price - quantity - Vitamins - From - texture
14 - Banana - Yellow - 20 - 300 - Vit A - Tesco - Squishy
15- Apple - Green - 10p - 100 - Vit B, D - Sainsburys - Hard
17 - Plum - Purple - 20p - 50 - Vit X, Greengrocer - Soft
18 - Pineapple - Brown - 50p - 300 - Tesco - Hard
16 - Orange- Silver - 0p - 20 - Vit C - Corner shop - Pips

Table 3 - This should compare Table 1 as the main source of certain
fields then update Table 2 where necessary fields have been modified
and add new records that are in Table 1 not in Table 2. However if
there is a match on ID in table 2 - the additional comments needs to
be preserved

Table 3
ID - Fruit - Colour - price - quantity - Vitamins - From - texture
16 - Orange- Orange- 10p - 100 - Vit C - Corner shop - Pips
17 - Plum - Purple - 20p - 50
18 - Pineapple - Yellow - 50p - 300 - Tesco - Hard
14 - Banana - Yellow - 20 - 300 - Vit A - Tesco - Squishy
15- Apple - Green - 10p - 100 - Vit B, D - Sainsburys - Hard
17 - Plum - Purple - 20p - 50 - Vit X, Greengrocer - Soft


Please help!!





 
Reply With Quote
 
 
 
 
Don Guillett Excel MVP
Guest
Posts: n/a
 
      30th Sep 2010
On Sep 30, 3:14*pm, eleanor <eleanorbry...@gmail.com> wrote:
> HI, this is my first post so please be gentle! I am fairly good in
> Excel (as an amateur) and usually love the challenge of getting a
> whizzy macro to work but I am really pushed for time and i know this
> is easier than I am making it!
>
> Table 1
> Lot of information on products in it and lots of fields that can be
> updated
>
> Table 2
> Contains some of the information from Table 1 as well as other
> information added from different set of people
>
> I want to create Table 3
> Core set of information from Table 2 that is added too showing;
> Updates to any existing products in Table 2 (from Table 1) but KEEPING
> any information people have added
> Any new products that have been added to Table 1 that are not in Table
> 2
>
> I have tried to use a simple example below to show how these would be
> compared and updated into TABLE 3 weekly
> Table 1
> ID - Fruit - Colour - Price - Quantity
> 15- *Apple - Green - 10p - 100
> 16 - Orange- Orange- 10p - 100
> 17 - Plum - Purple - 20p - 50
> 18 - Pineapple - Yellow - 50p - 300
>
> Table 2 -
> ID - Fruit - Colour - price - quantity - Vitamins - From - texture
> 14 - Banana - Yellow - 20 - 300 - Vit A - Tesco - Squishy
> 15- *Apple - Green - 10p - 100 - Vit B, D - Sainsburys - Hard
> 17 - Plum - Purple - 20p - 50 - Vit X, Greengrocer - Soft
> 18 - Pineapple - Brown - 50p - 300 - Tesco - Hard
> 16 - Orange- Silver - 0p - 20 - Vit C - Corner shop - Pips
>
> Table 3 - This should compare Table 1 as the main source of certain
> fields then update Table 2 where necessary fields have been modified
> and add new records that are in Table 1 not in Table 2. However if
> there is a match on ID in table 2 - the additional comments needs to
> be preserved
>
> Table 3
> ID - Fruit - Colour - price - quantity - Vitamins - From - texture
> 16 - Orange- Orange- 10p - 100 - Vit C - Corner shop - Pips
> 17 - Plum - Purple - 20p - 50
> 18 - Pineapple - Yellow - 50p - 300 - Tesco - Hard
> 14 - Banana - Yellow - 20 - 300 - Vit A - Tesco - Squishy
> 15- *Apple - Green - 10p - 100 - Vit B, D - Sainsburys - Hard
> 17 - Plum - Purple - 20p - 50 - Vit X, Greengrocer - Soft
>
> Please help!!


In order to properly see your layout
"If desired, send your file to dguillett @gmail.com I will only look
if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results."
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel datasheet needs dividing into more datasheets arran tw Microsoft Excel Misc 6 22nd Apr 2008 02:02 PM
I want to compare old and new datasheets and highlight changes Barry Microsoft Excel Worksheet Functions 4 6th Feb 2008 06:33 PM
Connecting to excel datasheets using C# =?Utf-8?B?TmFyd2U=?= Microsoft Excel Programming 0 20th Nov 2004 06:45 AM
Is there a way to create a program in excel to compare files? bruce Microsoft Excel Programming 7 5th Jun 2004 07:58 PM
Excel compare and create bt707 Microsoft Excel Programming 1 5th Oct 2003 10:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 PM.