Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-2008, 09:44 AM
Kryten
 
Posts: n/a
'Compare data and append' Problem

Hi,

I really hope that there is an easy way to do this..!

I have a big sheet of data with maybe 60 columns and 3500+ rows all
showing relative values
to the headers in the first row of each column. It's actually data
about how a telephones are configured
on a large system, so the headers contain things like Extn Number,
Port Number etc etc. Most of the columns are actually pretty
irrelevant.

Now, I have another sheet that only contains two columns defined as
'Extn number' and 'Desk Location'. This is valuable data that's hard
to come by.

I want to do some sort of lookup on the first sheet ( Extn Number )
value to see if that value appears in the second sheet and if so
append the corresonding value for the desk, again this is available in
the second sheet in the next column to where the match was just found.

I can, rather obviously, manually add a new column to the first sheet
called 'Desk Location'. This is where I'd like the desk location value
to be dropped from the second sheet.

So when finished the first sheet will only have populated values in
the 'desk location' column where a match was found in the Extn Number
column from the second sheet.

Would really appreciate any help or pointers into how best to achieve
this.

I can supply sample sheets if needed.

Many thanks,

Kryten
Reply With Quote
  #2 (permalink)  
Old 07-19-2008, 10:02 AM
Pete_UK
 
Posts: n/a
Re: 'Compare data and append' Problem

If your desk location column is to the right of the extension number
column in your big sheet, then you can use VLOOKUP to do this. If it
is to the left then you will have to use an INDEX/MATCH combination.
Guessing the columns you are using as E for the extension and F as the
desk location on a sheet called "main sheet", and that you have an
extension number in A2 of your other sheet, then put this in B2:

=IF(ISNA(VLOOKUP(A2,'main sheet'!E:F,2,0)),"",VLOOKUP(A2,'main sheet'!
E:F,2,0))

Copy down as required.

Hope this helps.

Pete

On Jul 19, 10:44*am, Kryten <Kryte...@googlemail.com> wrote:
> Hi,
>
> I really hope that there is an easy way to do this..!
>
> I have a big sheet of data with maybe 60 columns and 3500+ rows all
> showing relative values
> to the headers in the first row of each column. It's actually data
> about how a telephones are configured
> on a large system, so the headers contain things like Extn Number,
> Port Number etc etc. Most of the columns are actually pretty
> irrelevant.
>
> Now, I have another sheet that only contains two columns defined as
> 'Extn number' and 'Desk Location'. This is valuable data that's hard
> to come by.
>
> I want to do some sort of lookup on the first sheet ( Extn Number )
> value to see if that value appears in the second sheet and if so
> append the corresonding value for the desk, again this is available in
> the second sheet in the next column to where the match was just found.
>
> I can, rather obviously, manually add a new column to the first sheet
> called 'Desk Location'. This is where I'd like the desk location value
> to be dropped from the second sheet.
>
> So when finished the first sheet will only have populated values in
> the 'desk location' column where a match was found in the Extn Number
> column from the second sheet.
>
> Would really appreciate any help or pointers into how best to achieve
> this.
>
> I can supply sample sheets if needed.
>
> Many thanks,
>
> Kryten


Reply With Quote
  #3 (permalink)  
Old 07-19-2008, 07:27 PM
Kryten
 
Posts: n/a
Re: 'Compare data and append' Problem

Job done!
Thanks Pete!
Very Much Appreciated.

Stuart
Reply With Quote
  #4 (permalink)  
Old 07-20-2008, 12:22 AM
Pete_UK
 
Posts: n/a
Re: 'Compare data and append' Problem

You're welcome, Stuart - thanks for feeding back.

Pete

On Jul 19, 8:27*pm, Kryten <Kryte...@googlemail.com> wrote:
> Job done!
> Thanks Pete!
> Very Much Appreciated.
>
> Stuart


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT. The time now is 02:30 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109