+ Reply to Thread
Results 1 to 2 of 2

Binning for random numbers

  1. #1
    Registered User
    Join Date
    03-04-2014
    Location
    Ohio, United States
    MS-Off Ver
    Excel 2011
    Posts
    1

    Binning for random numbers

    Hello members of ExcelForum! I'm new here and I'm wondering if you guys could help with this problem. I'm working on this code to bin 10 random variables over intervals of 0<=y<.5 then .5<=y<1 for a total of 20 bins up to 9.5<=y<10. I'm wondering if you guys can help me to fix the error, the program doesn't seem to be binning these values correctly and I can't figure out why. Been at this for a few hours now and am somewhat frustrated.

    Please Login or Register  to view this content.
    Edit: Nested the binning process and switched a < sign to a > sign.
    Last edited by arlu1201; 03-06-2014 at 09:44 AM. Reason: Solved

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Binning for random numbers

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. In order to put code tags, either type [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] at the end of it, OR you can highlight your code and click the # icon at the top of your post window.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Generating a list of Random numbers of random length...
    By Growl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2013, 12:10 PM
  2. Help seeding random numbers - currently they are not random
    By Mallycat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2013, 12:16 AM
  3. Generating a Random Number of Random Numbers
    By Garrus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2010, 09:39 AM
  4. Non-random numbers generated by excel's data analysis random gener
    By Allie in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-17-2005, 02:05 AM
  5. Replies: 2
    Last Post: 09-13-2005, 12:05 PM

Tags for this Thread

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