+ Reply to Thread
Results 1 to 4 of 4

Organize Data With New Headings Automatically

  1. #1
    Registered User
    Join Date
    03-21-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    19

    Organize Data With New Headings Automatically

    Hello,

    I have a large amount of data, 30 columns, that I would like to use in an outside program. This program often wants the data with a different order of headings. Is there a formula that will automatically fill in the correct values by looking at the new headings and the original data? Please see excel attached.

    For example original data.

    Oranges Plums Cherries Grapefruit Apples
    2 1 55 666 656
    2 1 55 676 656
    3 1 5 565 566
    2 1 5 565 565
    4 1 55 5665 566
    2 1 5 755 565
    32 1 5 544 555
    32 1 5 445 555
    4 1 55 343 555
    2 11 5 344 556



    NEW ORDER OF COLUMNS
    Apples Grapefruit Oranges Cherries Plums
    Would like formula to match and autofill data.


    Each time I run the external program it wants the data in a new order so imagine how annoying that is

    Thank you excel experts!

    Shane
    Attached Files Attached Files
    Last edited by shane1800; 07-23-2011 at 12:54 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Organize Data With New Headings Automatically

    See attached.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Organize Data With New Headings Automatically

    Try this,

    Create two named ranges
    1/. "DataTable"
    Refers to:
    Please Login or Register  to view this content.

    2/. "Headers"
    Refers to:
    Please Login or Register  to view this content.

    Use the range "Headers" for the data validation in Range K1:O1 or more as you might require. Possibly in another sheet, if you would prefer it.

    Then in K2 (or wherever you need, this again need not be in the same sheet.)
    Please Login or Register  to view this content.
    Drag/Down to cover the realistic maximun number of rows expected
    Then across for how ever many columns you might need.

    If you select from the drop-downs in K1:O1 the lists should change automatically, leaving blanks in this range will clear the copied list.

    Add to or change any data in A:E and the lists in K:O will update.

    Hope this helps.
    Attached Files Attached Files
    Last edited by Marcol; 07-22-2011 at 08:47 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    03-21-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Organize Data With New Headings Automatically

    Incredible! Thank you both for taking the time to help it works perfectly.


    Best,
    Shane

+ Reply to Thread

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