Results 1 to 4 of 4

Returning all the values in a column based on the column header

Threaded View

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    63

    Returning all the values in a column based on the column header

    I'm hoping someone can help me out with this problem I'm having in excel. I would like to write a VB script that takes an input value and searches row 1 for that input value. When it finds it, I need it to return all of the values in the column where the value was located, and ignore any blank cells.

    I've attached a sample document that shows what the current data looks like.

    For example, if the value I'm looking for is 02, it should return all of the numbers in column B

    Any help creating this macro would be greatly appreciated.

    Thanks,
    Chris
    Attached Files Attached Files

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