+ Reply to Thread
Results 1 to 5 of 5

Extract selected column data based on column header info

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2010
    Posts
    5

    Extract selected column data based on column header info

    I have an excel file with time series data of 30 years for more than 2000 stations ( 2000 columns) but I need to extract only 100 station data (100 columns) based on the station name. I dont want to copy every 100 station data manually.

    For example

    Date 102 105 106 107 108
    1991/1/1 3 4 5 6 7
    1991/1/2 3 2 4 5 5
    1991/1/2

    I want to extract column with the station id 105 and 107

    In this example the original data has 5 stations from which i want to extract 2 stations data
    But in my case i have more than 2000 stations from which i want to extract 100 stations data.
    Last edited by ajay6985; 11-09-2017 at 01:12 AM.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Extract selected column data based on column header info

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    1
    Date
    102
    105
    106
    107
    108
    2
    01.01.1991
    3
    4
    5
    6
    7
    3
    02.01.1991
    3
    2
    4
    5
    5
    4
    02.01.1991
    5
    105
    107
    6
    5
    7
    7
    4
    5
    8
    0
    0


    K6
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Ranges can be change as per need.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    09-18-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2010
    Posts
    5

    Re: Extract selected column data based on column header info

    Hi !! the above formula is giving me the values of the next column

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Extract selected column data based on column header info

    oh! sorry

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-18-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2010
    Posts
    5

    Re: Extract selected column data based on column header info

    Thanks it works !!

+ 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. Need to get the data based on Column Header
    By anwitha in forum Excel General
    Replies: 11
    Last Post: 10-16-2017, 10:42 AM
  2. [SOLVED] Extract Data from another Workbook based on Column Header
    By sunjam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2017, 05:57 AM
  3. [SOLVED] Extract first cell in a row, given the column header and data point in that column.
    By pguarino in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2013, 02:27 AM
  4. [SOLVED] Extract the column header given the row header and highest value in a subset of a table
    By pguarino in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2013, 02:05 AM
  5. Returning column and row header info..
    By Cotter in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-15-2013, 05:48 PM
  6. How to extract info from one column based on another's data
    By Bremus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2011, 06:13 PM
  7. Replies: 3
    Last Post: 02-08-2010, 06:18 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