+ Reply to Thread
Results 1 to 8 of 8

Have excel search for and autofill repeat values from another spreadsheet?

  1. #1
    Registered User
    Join Date
    09-15-2015
    Location
    Hollywoodville, NY
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    4

    Have excel search for and autofill repeat values from another spreadsheet?

    Hello!

    I'm not sure if this is even possible but I really need some help with a problem. I have two Microsoft Excel 2007 spreadsheets that I work with every day. The spreadsheet I fill out any given day is full of order numbers listed in column B. I have to fill out column F.

    The problem however is that I have hundreds of these and many, many, many of the orders are leftovers from the previous day. So what I've been doing is using the Find and Replace feature to copy each and every order number from Column B on my current day's spreadsheet and searching for it in yesterday's Column B spreadsheet. If there's a match I copy and paste the information from Column F of that spreadsheet (yesterday's spreadsheet) and paste it into Column F of today's spreadsheet. This is because I've already dealt with that order and don't need to do it again. If there's NOT a match on yesterday's spreadsheet then that means the order is new and I will need to work on it.

    As you can imagine this is enormously time-consuming. So I was wondering if there was a way (a macro? a formula? I don't know) to have today's spreadsheet look at Column B of yesterday's spreadsheet, see if there are repeats and if there are then take the information from that row's Column F and automatically fill it into Column F of today's spreadsheet. Or in other words, basically do what I'm doing manually.

    Is this possible? And if so how? Like I said this is taking up a tremendous amount of time and I desperately need a solution, I'm just not sure if this is even possible and I'm not extremely literate with the finer functions of Excel.

    Thank you so much!
    Last edited by Merboy; 09-15-2015 at 08:21 AM. Reason: changing title

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Is this even possible?

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Have excel search for and autofill repeat values from another spreadsheet?

    Should be possible with a =VLOOKUP. Can you upload a sanitized sample file so showing your desired outcome? Then we can just fill in the formula for you.

  4. #4
    Registered User
    Join Date
    09-15-2015
    Location
    Hollywoodville, NY
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    4

    Re: Have excel search for and autofill repeat values from another spreadsheet?

    Hey! Thanks for responding! I'm so sorry, I'm not exactly sure what you mean by a sanitized sample file? I am however including two files that are mock-up's of what my actual files are (only these are obviously fake data to protect information and there are only three orders per spreadsheet). Basically you can see in them that I'm just needing the spreadsheet for today to look back at yesterday's, find any matches in Column B, and if there are any matches then populate today's Column F with yesterday's Column F. If there is not a match obviously Column F would be left empty.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Is this even possible?

    Well your example didn't have any matching orders, so I added one. Also consolidated the sheets. Let me know if this works or if you have any questions.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-15-2015
    Location
    Hollywoodville, NY
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    4

    Re: Have excel search for and autofill repeat values from another spreadsheet?

    Ok, awesome thanks... I'm not sure what to actually do with this spreadsheet you provided though. I see the added row and the green cell in Column F with the forumula but what do I do with this?

  7. #7
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Have excel search for and autofill repeat values from another spreadsheet?

    That's an example of populating the information you requested. The formula looks for a matching ID number and then populates the columns in Column F. You would use that formula in your files to pull in the comments from the previous day's file. Just copy and paste the formula into the new file's Column F and change the formula to reference yesterday's file.

  8. #8
    Registered User
    Join Date
    09-15-2015
    Location
    Hollywoodville, NY
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    4

    Re: Have excel search for and autofill repeat values from another spreadsheet?

    Okay I see now. Wonderful, thank you so much!

+ 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