+ Reply to Thread
Results 1 to 4 of 4

Find header for column number to use in vlookup

  1. #1
    Registered User
    Join Date
    12-15-2014
    Location
    Wales, UK
    MS-Off Ver
    365
    Posts
    66

    Find header for column number to use in vlookup

    I have 2 worksheets. The 1 I add column headings and fill a formula in the cell below. The one formula needs to do a Vlookup from a different sheet (Ranged for stores), but the column it needs to copy the value from (Grand Total) is not always in the same column.
    Thus I use the below formula to search the heading and the do a Vlookup to find the data, but it's not working.
    Please Login or Register  to view this content.
    Last edited by Simone Fick; 07-20-2017 at 10:34 AM. Reason: code readability

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Find header for column number to use in vlookup

    Hi Simone,

    See if this works for you?

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Registered User
    Join Date
    12-15-2014
    Location
    Wales, UK
    MS-Off Ver
    365
    Posts
    66

    Re: Find header for column number to use in vlookup

    It's Perfect, Thank you!!

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Find header for column number to use in vlookup

    You're welcome, and thanks for the added rep
    Please remember to mark the thread as solved? Thanks!

+ 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 Column Number Based on Column Header
    By chicagoland8 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2014, 11:58 AM
  2. Replies: 5
    Last Post: 02-13-2014, 05:37 PM
  3. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  4. [SOLVED] Find specific value in table and return header row and header column value
    By nelwan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2013, 01:35 AM
  5. [SOLVED] Find Average, Return Column Header of Number Closest To Average
    By djmyers in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2013, 04:19 PM
  6. Replies: 2
    Last Post: 04-26-2013, 01:16 PM
  7. [SOLVED] Formula to find first negative number in row and return column header
    By spoonedmango in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-09-2012, 02:08 PM
  8. Search for column header and find all values and their row numbers in that column
    By woody83 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-14-2012, 03:11 PM

Tags for this Thread

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