+ Reply to Thread
Results 1 to 19 of 19

Help with a sheet dividing information withing a column of cells?

  1. #1
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Help with a sheet dividing information withing a column of cells?

    So hello to all forum members, and I want to point out that while it is pretty lame of me to ask assistance of members immediately after registering for the forum, I must say in my defense that I have a time limit on a dead line and it would be insanely helpful if you could just assist me for my class in data base statistic. Every opinion will be appreciate it and I promise to provide with what little I may know on excel or related knowledge. It's for a statistic assignment and its not like I don't wanna do the work, it's just darn hard as hell, I mean this is kind of working on it since I'm posting just about everywhere for help lol.


    So here it goes:
    I have a sheet with a column of about 1,200 cells with series of numbers like this, five in total:
    01 04 12 35 45
    01 02 09 75 46
    02 08 12 45 55
    08 45 12 32 48
    16 65 12 32 87

    I need to do a couple things with this long list.
    1. Is there any way to divide each pair of numbers so that each pair occupies a column of its own, giving thus each pair a column each? What I want to do then is, re-order each column in ascending order to know how many of each exact pair of numbers there are, for example:
    01 08 16
    01 08 16
    01 08
    01 08
    01
    So then I could clearly count six "01"'s, four "08"'s and three "16"'s that originally where in the first pairs out of the six total, originally. So now, I would only have to move on the next pair of that initially 'six' pair. So if I had twelve thousand cells in a column of six-paired numbers(eg 03 12 34 54 66) now I have five that I would need to give a column to each to know how many of each pair of numbers there were in the second series of these..(so if i had 03 12 34 54 66, and I successfully took out the first in each cell, I would now respectively have 12 34 54 66, meaning from the second and on on each cell.) Please see attached form.Book2.xlsx

    2. The last piece of the puzzle would be to perform, if at any way or fashion possible, a sorting in order of each individual pair of number in their new column by the date they were populated on that database.
    So again:
    If,
    01 04 12 35 45 3/1/14
    01 02 09 75 46 3/2/14
    02 08 12 45 55 3/3/14
    08 45 12 32 48 3/4/14
    16 65 12 32 87 3/4/14

    then I want to try and divide yes, each of those numbers, into separate columns, which I will later copy paste unto a new sheet, but now, eureka, now they have dates! Hehe, So now, I could perform my other menial tasks on each sheet more closely and clearly as I would have something like:
    01 3/1/14 04 3/1/14 12 3/1/14
    01 3/2/14 02 3/2/14 09 3/2/14
    02 3/3/14... 08 3/3/14... 12 3/3/14...

    And so forth. My ideal goal would be to not only be able to divide the 1st,2nd,3rd,4th,5th pairs into a column each, but if at all possible, to do so accompanied by their populated date in a cell next to them that also allows me sort the numbers in ascending order, while keeping that original date next to them.

    Thank you guys, I'll owe you so much!
    Last edited by LoyalLegend; 11-02-2014 at 11:20 AM. Reason: grammar etc

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Help with a sheet dividing information withing a column of cells?

    Hi
    it would be easier for us if you posted a sample sheet with what you have and expected results. It would avoid lots of re-typing. Thx

  3. #3
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    HEres a small video:
    https://www.youtube.com/watch?v=bKEA...WGz56w&index=1


    But its something like this:
    3.xlsx

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Help with a sheet dividing information withing a column of cells?

    =TRIM(MID(SUBSTITUTE(SUBSTITUTE($B2,"**",""),"*",REPT("*",LEN($B2))),(COLUMNS($C2:C2)-1)*LEN($B2)+1,LEN($B2)))
    try this in cell "C2" and copy across
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    I discovered that what appeared to be spaces were in fact char(160)

    Enter the following formula in C2 and copy across and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    Blahaha you guys rock , I cant believe the prompt responsiveness on here!

  7. #7
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    You guys are insane I wish there were a way to pay you guys back besides the star thingy you deserve it. Know what I would like too? Just to put a cherry on the cake... If there was a way to now be able to determine how many of each there were. For example, how many ones, twenty fours, thirty fives. It would help me so much for what I am trying to do.

  8. #8
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    also sorry for any confusion cause byt the space/char160 twist up. It looked like a space to me too. U guyz r really good.

  9. #9
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    Quote Originally Posted by newdoverman View Post
    I discovered that what appeared to be spaces were in fact char(160)

    Enter the following formula in C2 and copy across and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Is there a way to populate this into new cells respectively but without the actual editable content of it being all these formulae? That way I can sort, because when I try to do so, it shows "Value!: then fails to do so.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    Here is your workbook with the count of each number included.
    Attached Files Attached Files

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    You could select all the data, copy then in a new location Paste Values. This will give you the values without the formulae and you can sort to your heart's content.

    OR

    Instead of separating the values via formula, use Text to columns. Choose Fixed Width and put markers right next to the numbers leaving a space between the values. Then select each of the "spaces" and select Do Not Import. The result will be that the numbers will be separated into columns.

    This is how it will turn out:

    A
    B
    C
    D
    E
    F
    2
    *10/31/2014*
    11
    29
    36
    58
    67
    3
    *10/28/2014*
    3
    50
    57
    58
    60
    4
    *10/24/2014*
    2
    14
    21
    28
    55
    5
    *10/21/2014*
    5
    35
    37
    41
    66
    6
    *10/17/2014*
    21
    31
    43
    56
    60
    7
    *10/14/2014*
    11
    37
    46
    64
    68
    8
    *10/10/2014*
    2
    32
    35
    50
    59
    9
    *10/07/2014*
    16
    29
    46
    48
    55
    Last edited by newdoverman; 11-02-2014 at 09:10 PM.

  12. #12
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    Quote Originally Posted by newdoverman View Post
    Here is your workbook with the count of each number included.
    WOW!!
    AGAIN!

    Amazing. Hey newdoverman, I don't mean to sound improper of the use of your goodness by asking you this but, is there any way you can teach me the necessary steps to do the following?(I dont wanna seem like a leeching member off of others goodness and time), but if somehow you understand what Im trying to accomplish and you can just blat out tell me then, hey! the merrier this joe will be!

    1. I want to be able to know how many times the most repeated numbers appear alongside other highly repeated numbers
    2. Then the same thing in trios, which are the 'three pairs that appear the most (withing the whole series of pairs of five in total from the original set)
    3. then the 'fours(quads)'. and fives if ever the whole fives have ever repeated itself.

    My point is to try and determine a trend if any in the occurrence of these series, and if there can be a chance of closely predicting new series before they appear in the future.

  13. #13
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    This would be a horrendous task to do with worksheet functions. The numbers range from 1 to 75. That means that there are 5,550 two value combinations possible. 3 value combinations total 405,150. This doesn't take into consideration that most of these values occur more than 100 times each.

    You need a statistician to figure this out.

  14. #14
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    Thank you newdoverman, you are very kind to help me like this, plus the learning value in it is invaluable, I haven't really tampered with excel since I was 15, but I guess my curiosity allows me to learn fast from example. This is what I have now as end result. One of the last pieces of the puzzle for me now would be to somehow attach that far right columns of numbers with dates attached to their respective dates (to their left each) so that I can sort the numbers but not the dates, yet allowing the dates to move freely from their true mathematical order in order for those numbers to sort from lowest to highest yet keeping their original dates next to them.

    What will signify major impact in this sheet (and believe me it's not only to help myself, but a whole large group of people I believe will benefit from the use of this sheet once I somehow convert it to be usable with a Microsoft access data base), is if I could somehow do that two's, three's, four's thing I mentioned before. Is there any way to perhaps, have an algorithm or excel itself, show me in a column whether there are numbers that come in repetition along with other numbers in the 5 series? I know it may sound like I might be asking a lot as '95 made me feel I was(but I thought forums where for learning right? regardless of the method how to get there, learning is learning, oh yeah, I'm a part time college sociology professor.), but if you could also tell me how to accomplish this goal, I'll appreciate it.

  15. #15
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    I thought so lol, well, here it is so far...33.jpg @newdoverman on the statistician lol I agree, one can hope though... yeah lol... Ill hop onto a statistics forum now and come back with the results lol this is exciting! Thanks newdoverman, I knew my fellow cyber peers would be up for it! In the future who knows, what I'm trying to come up with may help more than I am looking forward to help!

    33.jpg
    Last edited by LoyalLegend; 11-03-2014 at 11:02 AM. Reason: grammar etc

  16. #16
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Re: Help with a sheet dividing information withing a column of cells?

    But I can't help to ask, is there any information I could retrieve from an experienced statistician that would help you come up with formulae to allow excel to perform this without it having to be anywhere close to horrendous? I he can tell me for example, the exact probability of the twos 3's 4's 5's showing up and all its implications, can a respectably easy to do algorithm be typed into a worksheet to help with this?

  17. #17
    Registered User
    Join Date
    11-02-2014
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    11

    Lightbulb Re: Help with a sheet dividing information withing a column of cells?

    Yeah well thanks guys, pretty much with the info at hand I've got like 70% of what I intended to do with this info. However, if you can help me on this as well it be grand. Look at the book below, first sheet(sheet 7), is there any systematic way to color those numbers under "PRIMARY" instead of doing it one by one by finding/replacing according to the colored chart I made of how many times they have appeared?

    mickmak.xlsx

  18. #18
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    This is a test to see if an image will upload

    Just confirmed that this is a problem here.
    Last edited by newdoverman; 11-03-2014 at 07:56 PM.

  19. #19
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with a sheet dividing information withing a column of cells?

    What is the criteria for the colour assignment to the numbers?

+ 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. Copying sheet information the column of cells
    By cadamhill in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-04-2013, 04:46 PM
  2. Replies: 12
    Last Post: 05-03-2013, 07:18 AM
  3. Replies: 3
    Last Post: 07-17-2012, 05:03 AM
  4. Excel 2007 : Dividing information on multiple sheets
    By mabs239 in forum Excel General
    Replies: 4
    Last Post: 05-31-2010, 05:35 AM
  5. Increase column heading letters withing routine?
    By Adam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2006, 10:35 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