+ Reply to Thread
Results 1 to 3 of 3

VBA to simulate poisson distribution

  1. #1
    Forum Contributor
    Join Date
    12-08-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    119

    VBA to simulate poisson distribution

    Hi again

    I have entered the following function:

    Please Login or Register  to view this content.
    And now I want to simulate x values from the possion distribution. So I've entered this code:

    Please Login or Register  to view this content.
    But all cells returns #NAME? - why?

    Hope that some of you can help me - maybe tell me, in short, what I'm missing about the syntax?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA to simulate poisson distribution

    Hi,

    There seem to be typos with lambda/lamdda and ranpoi/randoi
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    12-08-2012
    Location
    Copenhagen
    MS-Off Ver
    Excel 2010
    Posts
    119

    Re: VBA to simulate poisson distribution

    Sorry! I have corrected it now:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    EDITED: I forgot a typo corrected now. Sorry
    Last edited by Ztv; 09-18-2014 at 06:41 AM.

+ 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. Poisson distribution - simulation
    By Hjahren in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 08-14-2021, 09:09 AM
  2. [SOLVED] Poisson distribution
    By hnasir in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-19-2012, 03:47 PM
  3. Poisson Distribution--Help
    By neocube in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2011, 07:24 AM
  4. Poisson distribution
    By swfc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2008, 07:02 PM
  5. Poisson Distribution
    By Capote in forum Excel General
    Replies: 1
    Last Post: 04-02-2006, 11:45 PM

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