+ Reply to Thread
Results 1 to 3 of 3

IF Statement Help

  1. #1
    Registered User
    Join Date
    01-20-2014
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    59

    IF Statement Help

    I have a darts scoreboard with the following formula in a cell:

    =IF(P11<0,"BUST",VLOOKUP(P11,'Checkout Sheet'!A3:B704,2,0))

    Essentially what this does is check the scoreboard, and if the score is less than 0, then it says BUST. If not, then it looks up a table to determine what darts need to be thrown to finish.

    Up until now, if a player is bust, they just add 0 into the score to stay on the same score. What would I need to add so that if a player was bust, it automatically changed the cell to 0, so therefore reset the scoreboard to what it was?

    e.g. if a player was on 4 (double 2), but scored 5, they could enter 5 as their score, a message would appear to say "BUST", then the score changes to 0.

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: IF Statement Help

    It would help if you could upload a sample workbook.

    Needs to include existing formulas and data (for the vlookup)

    For someone to recreate this from scratch could be problematic.

  3. #3
    Registered User
    Join Date
    01-20-2014
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: IF Statement Help

    Coupar Villa Darts Scoreboard No Home Away.xlsm

    Don't know if this has worked or not, but tried to attach the spreadsheet. The formula in question is on the 2 player scoreboard in cells D21 and P21.

    Feel free to play about and offer suggested improvements. I've got limited Excel knowledge

+ 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. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  2. [SOLVED] For Next Statement with If Statement Reducing Upper Variable
    By Break_Point in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-28-2013, 06:30 PM
  3. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  4. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  5. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 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