+ Reply to Thread
Results 1 to 8 of 8

Statistics of Random Numbers

  1. #1
    Registered User
    Join Date
    12-02-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Statistics of Random Numbers

    Hello there m8's.
    This is my first time in this forum and I'm really excited with your knowledge.
    I was try to find in to many posts an answer for what I need but there are so many of them that is not possible to find what i need if this what I need is possible.

    So. I have two rows in a sheet with random numbers (1 till 90).
    Those numbers in those two rows I change them every 5 minutes with new one still from 1 to 90
    I need a "way", in one side of my sheet (lets say in column B) to count how many times a number was repeated after finish my work (example after 2 hour's)

    Is that possible with excel 2007 ?

    I hope you understand my bad English
    Attached Files Attached Files
    Last edited by Hlias; 12-04-2009 at 04:05 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: Statistics of Random Numbers

    You won't be able to do this with normal worksheet formulas, you will need a macro.

    How are the values in the two rows getting changed? A macro can be triggered many ways.

    If you are manually entering numbers, we could use a Worksheet_Change() macro to watch those rows and increment the correct value in column B each time you enter a value by hand.

    If the values are coming in some other way, we might still be able to use a Worksheet_Change() macro to do it, or a simple basic macro that you can trigger manually whenever you want to increment the column B totals.

    What would be your preferred method/frequency of triggering a macro to do the counting for you?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-02-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    4

    re: Statistics of Random Numbers

    Macro sound's good.
    I was try to make one but I don't know how. The only think that I was make
    (after some changes from an example in this forum) was some button's each one different number (90 of them) and every time I had to push for changing +1 the amount of this concrete number at B. But this take's me to long time.
    The best way to do is copy the whole row from site and paste in my workbook.

    Those numbers at those rows I'm writing by hand or copy/paste from a site (I think this "copy/paste" you can say it's also by hand)

    Thank for your answer and your time !!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Statistics of Random Numbers

    OK. A few things...

    Can you post up the actual workbook so the macro I create will work first time out of the gate?

    Can you change the entries in column A to just read:

    1
    2
    3
    4
    etc...

    Make sure the uploaded doc accurately shows which cells have to be "watched" by the macro if it differs from the example given above.

  5. #5
    Registered User
    Join Date
    12-02-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Statistics of Random Numbers

    Hello again.

    This is how I want to look the "end product".
    I was inserted and some numbers only to show you how it will works (you can delete them all).

    I hope that I was understand what you want to send you and send the right thing.
    Attached Files Attached Files

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Statistics of Random Numbers

    Please Login or Register  to view this content.
    I had to fix the data range for the chart, but this seems to work now.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-02-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Statistics of Random Numbers

    “Actually, I *am* a rocket scientist.” - JB

    NO !!!! YOU ARE A STAR !!!!!!!

    Thank you, thank you, thank you !!!

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Statistics of Random Numbers

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

+ 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