+ Reply to Thread
Results 1 to 10 of 10

Transfer of data from one table to another

  1. #1
    Registered User
    Join Date
    08-24-2016
    Location
    Berkshire, England
    MS-Off Ver
    2007
    Posts
    9

    Question Transfer of data from one table to another

    Evening Gurus'

    I need some help, I'm sure there is a pretty simple solution to this but I cannot figure it out.

    In the first table in column A I have a location and in column C I have a unique identifier.

    In the second table in Column E I have the same list of unique identifiers, in column F I have the frequencies and in column G I need the locations.

    I am hoping someone can help me with a formula that will look at the unique identifier in column E, match it with the unique identifier in column C and put the corresponding location into column G.

    Make sense? thought not!

    Be really grateful for any assistance. Latest office BTW

    Cheers
    Peter

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Transfer of data from one table to another

    Sounds like you need to use a combination of the INDEX and MATCH functions. Use the latter to work out the position of the E value in column C and then use this result to return the correct value from column A.

    Hope I understood the text, its easier if you attach an example.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,773

    Re: Transfer of data from one table to another

    This sounds too straightforward to me, so I'm wondering what role the frequencies might be playing in all if this. Please provide the first few rows of data in each table, providing manually entered results to show what you want.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    08-24-2016
    Location
    Berkshire, England
    MS-Off Ver
    2007
    Posts
    9

    Re: Transfer of data from one table to another

    Essentially the frequencies have no material effect except to quantify the extent of the problem the data analyses.

    It probably is something simple, maybe I am tired!

    I cant upload a picture for some reason, the page will let me browse and select the file location but then the ok box disappears so I cant upload it.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,773

    Re: Transfer of data from one table to another

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,773

    Re: Transfer of data from one table to another

    Sounds ostensibly like this:

    =INDEX(A:A,MATCH(E1,C:C,0))

  7. #7
    Registered User
    Join Date
    08-24-2016
    Location
    Berkshire, England
    MS-Off Ver
    2007
    Posts
    9

    Re: Transfer of data from one table to another

    ok, thank you.

    I think I have uploaded it correctly?

    My ramblings may make more sense now?
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,773

    Re: Transfer of data from one table to another

    Maybe this in H:

    =INDEX(B:B,MATCH(F1,C:C,0))

    F1 may need to be F3.

  9. #9
    Registered User
    Join Date
    08-24-2016
    Location
    Berkshire, England
    MS-Off Ver
    2007
    Posts
    9

    Re: Transfer of data from one table to another

    Magic, Thank you so much!

    Now, I don't think this can be done without some really complicated formula but I will ask anyway.

    In column F where the unique references are, they are letters and numbers, lets just say they were vehicle registration numbers and I wanted a quick tally on how many has the number 10, 60, 11, 61, 12, 62 etc in them? bit like a pivot table but looking at the 2nd and 3rd digits in the unique reference but ignoring the first 2 letter of the unique reference? Is that possible or too complicated?

    Sounds like I'm being lazy here but the list is over 4000 long so will take me an age to do it manually.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,773

    Re: Transfer of data from one table to another

    OK - two things: firstly, you really need to start a new thread for this, as it is a completely different query. Secondly, when you do start the new thread (which is not optional), you will need to show us what you have tried already and what results you are after - this description is somewhat vague and seeing the 'real' scenario will speed things up. As I suggested before, add a sample workbook to your opening post. Thanks!

    Oh, and this thread can be marked as solved: please use the thread tools drop-down at the top of this page to do that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Transfer data from one table to another
    By Hambone70 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-29-2016, 11:40 AM
  2. [SOLVED] Transfer current row of data (Table) to a new row in a second table on the same sheet
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2013, 11:12 PM
  3. Replies: 4
    Last Post: 01-18-2013, 10:49 PM
  4. Transfer data from one table to another
    By framie666 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2012, 10:10 PM
  5. Transfer raw data to table
    By Carmant in forum Excel General
    Replies: 2
    Last Post: 09-10-2010, 02:17 AM
  6. Pivot table - transfer data from
    By Saturn in forum Excel General
    Replies: 3
    Last Post: 07-31-2010, 12:22 PM
  7. Transfer Data Into Table
    By sparky3883 in forum Excel General
    Replies: 1
    Last Post: 05-17-2007, 06:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1