+ Reply to Thread
Results 1 to 3 of 3

Subtraction Question Generator

  1. #1
    Registered User
    Join Date
    11-06-2011
    Location
    Thornhill, Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    31

    Subtraction Question Generator

    This is a snap for addition questions.
    What I would like is a set up a page of subtraction questions where the first number in column A is generated between say 50 and 100. (I know how to do this) and the number to be subtracted from this has to be random but less than the corresponding value in column A. The formula for randomly choosing this number is troubling me.

    What I hope is that then I can just grab the lower right hand corner of the selected block of cells and pull it down to generate a page of questions for my granddaughters to work on.

    Thanks,

    John

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Subtraction Question Generator

    In A1: =RANDBETWEEN(50,100)
    In B1: =RANDBETWEEN(1,A1-1)

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    11-06-2011
    Location
    Thornhill, Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Subtraction Question Generator

    Thanks Dom

    How easy!!

    Regards,

    John

+ 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