+ Reply to Thread
Results 1 to 5 of 5

Populating raffle entries in Excel or Google Sheets

  1. #1
    Registered User
    Join Date
    12-26-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    2

    Smile Populating raffle entries in Excel or Google Sheets

    Hi everyone!

    I need help some formula help for this raffle I need to run. Here are the mechanics:

    1) If participants reach the following quota of emails answered, they earn the corresponding raffle entries:
    A target of 50, 1 raffle entry per email answered
    Between 51-100, 2 raffle entries per email answered
    Between 101-150, 3 raffle entries per email answered
    Between 151-200, 4 raffle entries per email answered
    Between 201-250, 5 raffle entries per email answered
    2) If for example, a participant answers answers 100 emails, then another sheet should generate his/her name 200 times. If a participant answers 200 emails, the other sheet should generate his/her name 400 times. So on and so forth.

    The promo will run for 5 days so I hope this sheet can be populated as easy as possible.

    Hope anyone here can help out!

    Thanks!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Populating raffle entries in Excel or Google Sheets

    try this uses a helper to determine how many rows needs to be populated on sheet 1
    results on rafflelist of names
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-26-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    2

    Re: Populating raffle entries in Excel or Google Sheets

    This is so useful, Martin. Thanks so much!

    Can I still ask for your help in updating the formulas? We have different categories that I plan to run on different sheets within the same workbook:

    A) Up to 125, 1 raffle entry per email answered
    [50% above 125] Between 126-188, 2 raffle entries per email answered
    [100% above 125] Between 189-250, 3 raffle entries per email answered
    [150% above 125] Between 251-313, 4 raffle entries per email answered
    [200% above 125] Between 314-375, 5 raffle entries per email answered

    B) Up to 80, 1 raffle entry per email answered
    [50% above 80] Between 81-120, 2 raffle entries per email answered
    [100% above 80] Between 121-160, 3 raffle entries per email answered
    [150% above 80] Between 161-200, 4 raffle entries per email answered
    [200% above 80] Between 201-240, 5 raffle entries per email answered

    C) Up to 80, 1.5 raffle entries per email answered
    [50% above 80] Between 81-120, 3 raffle entries per email answered
    [100% above 80] Between 121-160, 4.5 raffle entries per email answered
    [150% above 80] Between 161-200, 6 raffle entries per email answered
    [200% above 80] Between 201-240, 7.5 raffle entries per email answered

    D) Up to 60, 1.5 raffle entries per email answered
    [50% above 60] Between 61-90, 3 raffle entries per email answered
    [100% above 60] Between 91-120, 4.5 raffle entries per email answered
    [150% above 60] Between 121-150, 6 raffle entries per email answered
    [200% above 60] Between 151-180, 7.5 raffle entries per email answered

    It's a lot to ask but anything you can will be a huge help.

    Thanks so much again!

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Populating raffle entries in Excel or Google Sheets

    youll have trouble that struggles a it as it is performance wise
    besides which its a holiday and i'm busy drinking!

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Populating raffle entries in Excel or Google Sheets

    instead of ceiling() use lookup()
    =LOOKUP(B2,{0,1,126,189,251,314},{0,1,2,3,4,5}) where
    {0,1,126,189,251,314} are the lower of range
    and
    {0,1,2,3,4,5} are the values you want returned
    so example c) would be
    {0,1.5,3,4.5,6,7.5}

    ie=LOOKUP(B2,{0,1,81,121,161,201},{0,1.5,3,4.5,6,7.5})
    Last edited by martindwilson; 12-26-2014 at 12:09 PM.

+ 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. Google Sheets Query IF column problem Converted to Excel Function?
    By Garthilk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-24-2015, 10:37 PM
  2. Replies: 1
    Last Post: 01-25-2014, 02:10 PM
  3. Google Spreadsheets: Counting entries on a specific date
    By mem_aryan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2014, 01:08 PM
  4. google excel spreadsheet not auto-populating with formulas, but skipping row of data entry
    By dzm in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 9
    Last Post: 05-12-2013, 09:55 PM
  5. Replies: 0
    Last Post: 10-15-2012, 05:18 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