+ Reply to Thread
Results 1 to 5 of 5

Find cell with value from a column and insert formula in the cell to its left

  1. #1
    Registered User
    Join Date
    03-16-2014
    Location
    Albania
    MS-Off Ver
    Excel 2010
    Posts
    3

    Find cell with value from a column and insert formula in the cell to its left

    I really hope someone can help me with this.

    I have a table with a set of names and ids. What i need to do across multiple sheets is to find the cell that has any name from that table and in the adjacent cell to its left, insert a vlookup formula to find the respective id.

    Many thanks in advance.

  2. #2
    Forum Contributor
    Join Date
    08-27-2009
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    217

    Re: Find cell with value from a column and insert formula in the cell to its left

    Hi Konata

    Can you please attach an example of what you need?

    Thanks

  3. #3
    Registered User
    Join Date
    03-16-2014
    Location
    Albania
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find cell with value from a column and insert formula in the cell to its left

    I uploaded an attachment to conceptualize it. What is needed is a macro that:
    1. will run across all the sheets
    2. find the cell that has any of the names from the table in sheet1 and
    3. in its adjacent cell (colored in red) insert a vlookup formula that will put the respective id from the table.

    The main problem is that the name is not in the same cell across different sheets :/
    Attached Files Attached Files
    Last edited by konata; 03-16-2014 at 07:27 PM.

  4. #4
    Forum Contributor
    Join Date
    08-27-2009
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    217

    Re: Find cell with value from a column and insert formula in the cell to its left

    Quote Originally Posted by konata View Post
    I uploaded an attachment to conceptualize it. What is needed is a macro that:
    1. will run across all the sheets
    2. find the cell that has any of the names from the table in sheet1 and
    3. in its adjacent cell (colored in red) insert a vlookup formula that will put the respective id from the table.

    The main problem is that the name is not in the same cell across different sheets :/
    Can the names in the other sheets appear more then once on each sheet?

  5. #5
    Registered User
    Join Date
    03-16-2014
    Location
    Albania
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Find cell with value from a column and insert formula in the cell to its left

    No, each sheet has only one unique name. Moreover, that name will also be part of the sheet name.

+ 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. Find blank cell, insert formula to find median of above cell range
    By lilyeye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2013, 11:58 AM
  2. Find 1st unique Value on Column and Insert certain Word on cell on left Column
    By Wldlife23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2013, 10:02 AM
  3. Replies: 6
    Last Post: 03-04-2013, 11:25 AM
  4. macro to find first blank cell in a column cut the value from left adjacent column
    By willykin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-01-2012, 09:23 AM
  5. Find a cell and then insert a formula into adjacent cell
    By crowdx42 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-21-2006, 09:53 AM

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