+ Reply to Thread
Results 1 to 7 of 7

Remove Spaces and Stack

  1. #1
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Remove Spaces and Stack

    See attached. I want to use column A to create column B (the expected result) by way of a formula. Index?

    Thanks,

    D
    Attached Files Attached Files
    Last edited by dreicer_Jarr; 08-28-2009 at 04:51 PM.

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

    Re: Remove Spaces and Stack

    Doesn't make sense I'm afraid... you're trying to do what exactly ?

    If A contains values it can not contain a formula simultaneously...

  3. #3
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Remove Spaces and Stack

    Sorry...Column B is the expected result. Say I just have A and I want to see something that looks like column B. You could put the answer in another column (e.g., C, D, E...).

    Thanks,

    D

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

    Re: Remove Spaces and Stack

    Oh I see, so you wish to generate a condensed list... well the approach you adopt will invariably depend upon the amount of data you have, if there's not much as in the case of your sample...

    Please Login or Register  to view this content.
    then

    Please Login or Register  to view this content.
    If you can return the values in numerical sequence that's better as you can then use SMALL and avoid the inefficiencies of the above approach (the above is no better than a CSE Array IMO, I illustrate only as it is perhaps a little more robust from end-user perspective)

  5. #5
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Remove Spaces and Stack

    What am I doing wrong? I moved the count that was in C1 to E1 and put the expected result in column C. You can see that column B does not have the expected result (see new attachment).

    And yes, SMALL won't work because the data will be in time sequence. Never more than 300 records, so it's a small enough sample size. Thanks.
    Attached Files Attached Files
    Last edited by dreicer_Jarr; 08-28-2009 at 04:42 PM.

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

    Re: Remove Spaces and Stack

    You've not done anything wrong, the formula I provided did not anticipate duplicity of results (ie 2 appearing twice)... in this case easier to revert to more traditional Array

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Re: Remove Spaces and Stack

    Perfect! I appreciate your help!

+ 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