+ Reply to Thread
Results 1 to 13 of 13

how to organize the data ?

  1. #1
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    how to organize the data ?

    hi
    i'm working on excel 2003
    i have a sheet with 4 columns (from column b) , and 2000-3000 rows
    i want to put all the data in column a in this way : b1 in a1 , c1 in a2 , d1 in a3 , e1 in a4 , b2 in a5 , c2 in a6 etc ...

    any idea ?

  2. #2
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: how to organize the data ?

    use copy->paste special->transpose

    rgds

    johnjohns

  3. #3
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: how to organize the data ?

    Sorry, this should work
    Please Login or Register  to view this content.
    rgds

    johnjohns

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to organize the data ?

    FWIW - you can also do this with formulae if you prefer:

    Please Login or Register  to view this content.
    Not saying you "should" just that you "could"

  5. #5
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: how to organize the data ?

    Got it DonkeyOte! I should have used 'could' as there is still a mistake in my answer. My apologies, I was in a hurry (although that is not an excuse). Hope this may work
    Please Login or Register  to view this content.
    rgds

    johnjohns

  6. #6
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: how to organize the data ?

    Thanks
    its work great !!!

  7. #7
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: how to organize the data ?

    hi
    i have more question : i dont know how many rows/columns i have.
    how can i do this with something like ctrl+end ?
    can i put this in the code / formula ?

    many thanks
    eran

  8. #8
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: how to organize the data ?

    replace the second line with this and try
    Please Login or Register  to view this content.
    rgds

    johnjohns

  9. #9
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: how to organize the data ?

    thank you very much
    is there a way also in the formula (with the "index") ?

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to organize the data ?

    In principle, yes:

    Please Login or Register  to view this content.
    however it would lead to a large precedent range (B:IV) which would not be ideal.

    Should you opt to use a formula then you should calculate the COUNTA* once only and reference the result thereafter.

    * if you have interspersed blanks (B1:IV1) then COUNTA would not suffice in terms of determining column requirement and you would use a LOOKUP or MATCH construct instead.

  11. #11
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: how to organize the data ?

    hi
    i didnt understood what you mean : counta*

    eran

  12. #12
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to organize the data ?

    You will note that within the function detailed in my previous post COUNTA is listed twice.

    It follows that in this form the double calculation will be repeated for every cell that contains the formula.

    Wherever possible try to minimise repetitive calculations - specifically where the result is constant for each calculation.
    Here the COUNTA result will be the same for every row that uses the function (the result never changes given the precedent range is the same for each calculation)

    What we would suggest is that you calculate the COUNTA separately and all subsequent calculations then refer to that single result
    (in this instance given magnitude of precedent range it might make sense to use a new sheet to hold this value)

    Please Login or Register  to view this content.
    Then revise the formulae on Sheet1 to use this result rather than repeatedly recalculate it:

    Please Login or Register  to view this content.
    Again, to be clear I am not saying you *should* be using formulae for this.
    If your data set is large then a VBA approach is the more sensible (where viable).

  13. #13
    Registered User
    Join Date
    04-21-2007
    Posts
    26

    Re: how to organize the data ?

    Thank you
    i will chack it

    thank tou again

+ 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