+ Reply to Thread
Results 1 to 11 of 11

Moving data from one sheet to the next (VLOOKUP?)

  1. #1
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Moving data from one sheet to the next (VLOOKUP?)

    Hello all,
    Been looking through the forum for awhile now and got a couple of ideas but am new to doing something like this in excel. I have an extremely large spreadsheet with with an individual ID number for each file, located in the same colum. They are not in numeric order and I cannot sort them as this will mess up the structure that it is representing. I have another sheet, with the same ID numbers and one cell of info, a footnote, that I want to be able to see at the end of each file on the first sheet. The footnotes may be the same for several different IDs. Not every record has a footnote. I would like to make a formula that I can fill all the way down to the bottom of the sheet, some 6000 lines. These are both located in the same book. Any help would be appreciated. Not really sure on how to start. Tried a couple of if statements but that didn't work.
    Thanks
    Last edited by GriffonOki; 04-04-2010 at 09:09 AM.

  2. #2
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Re: Moving data from one sheet to the next

    I think VLOOKUP may work but my problem now seems to be that as you move down the column so does the search criteria. Is there a way to keep that the same? It seems that it doesn't want to create duplicate footnotes either. Should I put a "True" at the end of this statement?
    =VLOOKUP(A4,Pages!A2:B39,2,FALSE)

  3. #3
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Moving data from one sheet to the next (VLOOKUP?)

    G'day and welcome to the forum

    Try this

    =VLOOKUP(A4,Pages!$A$2:$B$39,2,FALSE)
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  4. #4
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Re: Moving data from one sheet to the next (VLOOKUP?)

    Thanks for the Welcome and the speedy reply.
    That was just what I needed. I'll certainly come back for more info.
    Thanks again, Griff

  5. #5
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Re: Moving data from one sheet to the next (VLOOKUP?)

    Well I got to work this morning thinking I was good to go with the formula above only to punch it in and it doesn't work. This is what I'm using:
    =VLOOKUP(D4, Footnotes!$A$1:$B$2566, 2, FALSE)
    The formula doesn't seem to be doing anything. It fills out the cell that I type it into and sits there not returning anything. I'm working in Excel 2003. I went into the reference table, Footnotes sheet, and made sure that the first column is sorted in ascending order.
    Not sure if this makes a difference. D4 is referencing an ID like this: M6710000923

  6. #6
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Moving data from one sheet to the next (VLOOKUP?)

    G'day

    The cell with the formula display a blank cell or is there an error displayed ?

    It might be best to upload a tiny example excluding sensitive information.

    Cheers

    RC

  7. #7
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Re: Moving data from one sheet to the next (VLOOKUP?)

    ratcat
    I've included an example. There is no return on the formula. The cell shows the formula as written. It's probably some simple thing that I'm doing wrong but my buddy and I can't figure it out.
    Thanks for the help.
    Attached Files Attached Files

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Moving data from one sheet to the next (VLOOKUP?)

    i does work but the column is formatted as text, select the column then data/text to columns and just click finish
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Moving data from one sheet to the next (VLOOKUP?)

    G'day

    Yep it was something simply. The format of the cells is text. Click on the first with the formula then right click then select 'Format Cell' then select 'General' then OK. *** Then you will have to copy drag the formula down.

    Cheers

    RC

    Edit: *** Click in the formula bar and press enter
    Last edited by ratcat; 04-04-2010 at 10:10 PM. Reason: More info

  10. #10
    Registered User
    Join Date
    04-04-2010
    Location
    Okinawa, Japan
    MS-Off Ver
    2019
    Posts
    9

    Re: Moving data from one sheet to the next (VLOOKUP?)

    Thanks guys, changed the formatting and it worked. Saves me a couple of days of keyboard punching. Now I'd just like to get rid of the #NA but I saw some other threads addressing that.
    Once again Thanks.

  11. #11
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Moving data from one sheet to the next (VLOOKUP?)

    G'day Griff,

    Try this

    Please Login or Register  to view this content.


    Cheers

    RC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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