+ Reply to Thread
Results 1 to 4 of 4

data arrangement

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    Norman,USA
    MS-Off Ver
    Excel 2010
    Posts
    45

    data arrangement

    Dear all,
    I need help to arrange my data. I have excel data in two columns (9 models and rain amount) as in the sheet named data and I want each model's rain data to appear in a separate column as in the sheet named format. See attached.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: data arrangement

    hi there. in cell B2, try this array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    do consider VBA too as the above might slow down Excel a lot if your data is massive. if you wish to use VBA, post it in the Excel Programming / VBA / Macros thread so that experts there may help

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: data arrangement

    Hi

    Or you can try this normal formula in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: data arrangement

    Since benishiryo suggested a vba solution I'll have a go at one. Code like this:

    Please Login or Register  to view this content.
    Macro uses autofilter to get the different data. It assumes that range B1:K1 contains the relevant labels for your data, you can have more or less labels but they must start at cell B1 and all labels must be found in row 1.

    The order you add the labels in row 1 will give you the order of columns with the filtered result.

    Macro starts by deleting all data in sheet "Format" except information in row 1.

    Alf

+ 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. Data arrangement
    By akumagaavese in forum Excel General
    Replies: 18
    Last Post: 11-21-2015, 02:31 PM
  2. [SOLVED] data arrangement
    By akumagaavese in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-12-2015, 05:48 PM
  3. [SOLVED] Data Arrangement
    By Excel_Pa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2015, 06:27 AM
  4. Data arrangement
    By akumagaavese in forum Excel General
    Replies: 1
    Last Post: 03-13-2015, 04:12 PM
  5. Help with data arrangement
    By dayne in forum Excel General
    Replies: 11
    Last Post: 06-01-2011, 10:14 AM
  6. Data re-arrangement
    By SCT in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2009, 06:09 AM
  7. Data Arrangement
    By tbobo in forum Excel General
    Replies: 3
    Last Post: 03-23-2006, 10:50 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