+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP for all sheets for some cells

  1. #1
    Registered User
    Join Date
    07-19-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    2

    VLOOKUP for all sheets for some cells

    Hi!

    I hope someone could help me with putting the following to VBA, it would be very useful for me. It is really simple.

    I have a file already filled with data. It is a reporting template. I got sent a new version of the file, there were some new rows added to the file on some sheets. In the orange (RGB: 266,165,0) cells in the new file into every worksheet I should put the following function

    something like this:
    = vlookup (b1;nameofotherfile.nameofcurrentworkbook'!B:E;2;0)

    maybe even better as
    IFERROR(the vlookup;"new row") to indicate that the new row should be filled with data manually, as it's value cannot be vlookup-ed from the old file


    The formula should run through all sheets. I think there are no new sheets added. The sheet names did not change. For all sheets in the new file it should Vlookupthe values from the old file, if the cells. color is (RGB: 266,165,0). These cells that I have to vlookup the data to are not only in column C but also sometimes in columns D, E, F and so on.

    Many thanks,

    Thomas

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: VLOOKUP for all sheets for some cells

    This is marked as solved, what was the solution?

  3. #3
    Registered User
    Join Date
    07-19-2015
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: VLOOKUP for all sheets for some cells

    I don't know why it is marked as solved, I didn't mark it

+ 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. Vlookup based on two cells to populate from multiple sheets?
    By kellyfirth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-07-2015, 02:07 PM
  2. Replies: 6
    Last Post: 07-10-2014, 05:08 PM
  3. [SOLVED] Macro to Unprotect sheets-unlock range of cells-protect sheets
    By jrace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2013, 10:45 AM
  4. Replies: 5
    Last Post: 11-21-2011, 02:19 AM
  5. Replies: 8
    Last Post: 03-30-2011, 11:09 AM
  6. Vlookup across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  7. vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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