+ Reply to Thread
Results 1 to 6 of 6

If Function Adjustment Request.

  1. #1
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    If Function Adjustment Request.

    I have a work book that has 2 sheets.

    Selection (sheet 1) is used for entry:
    • Survivor Selection - (green) you put an x in 8 columns under a Survivor (I have 3 examples set up)
    • As each Survivor gets booted out (red) you enter a number to show the order they got booted. I have already booted them all.
    • You get a points for every boot: Went out 3rd you get 3 points, went out 10th you get 10 points etc. But .... on Master Points (sheet 2) its only suppose to give you the points if you have selected that Survivor.

    Out of the 3 examples I have set up it is only working for the 1st record.
    The other 2 exmaples are adding up all 16 entries to equal 136 when they should only equal 90 and 48 respectively.

    Master Points (sheet 2)
    • is suppose to only calculate the points for the survivor(s) you have picked via the x.

    The the if statment is on C6:R6 entry 1 (works), entry 2 c50:r50, entry 3 c74:r74.

    It is getting the boot info for all entrys from C3:R3

    See the attached I suspect I need to modify the if statment for the 2nd and 3rd entry.

    Just not sure how.
    Last edited by SVTF; 08-16-2011 at 11:24 PM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: If Function Adjustment Request.

    You don't saw it because the cells are all black but when the cell in Selection is empty, your formula returns 0 instead of being blank. This makes your If formula (=IF((C73<>"");C$3;"")) to evaluate as TRUE each time and it counts the points. Instead, check if the value is different then 0 like here:
    Please Login or Register  to view this content.
    It should solve your issue.

  3. #3
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: If Function Adjustment Request.

    Quote Originally Posted by p24leclerc View Post
    You don't saw it because the cells are all black but when the cell in Selection is empty, your formula returns 0 instead of being blank. This makes your If formula (=IF((C73<>"");C$3;"")) to evaluate as TRUE each time and it counts the points. Instead, check if the value is different then 0 like here:
    Please Login or Register  to view this content.
    It should solve your issue.
    Thanks ... seems to be working.

    I had to swap out the ; to , though.

  4. #4
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: If Function Adjustment Request.

    The if statment has gone bad ... I messed something up.

    Have a look at the attachement.

    Sheet 1 (selection) is only to enter info.
    Points are calculated on Sheet 2 (master points)

    Sheet 2 should only be adding up the points with the x in the column's.
    I have messed something up ...

    Please Login or Register  to view this content.
    My row C49:T49 no longer equals the zero's?

    C49=Selection!C5 ... etc

    Easy fix I am sure.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by SVTF; 08-16-2011 at 11:54 PM.

  5. #5
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: If Function Adjustment Request.

    It was simple, indeed but not obvious to see.
    In your sheet Selection, you inserted the string " " which has a space in it instead of being a NULL string. That changes all the things. Go to your sheet Selection and delete the content of every cells that donot have an X in it.
    Regards
    Pierre

  6. #6
    Forum Contributor
    Join Date
    08-22-2005
    MS-Off Ver
    Office 365
    Posts
    342

    Re: If Function Adjustment Request.

    Quote Originally Posted by p24leclerc View Post
    It was simple, indeed but not obvious to see.
    In your sheet Selection, you inserted the string " " which has a space in it instead of being a NULL string. That changes all the things. Go to your sheet Selection and delete the content of every cells that donot have an X in it.
    Regards
    Pierre

    Thanks again - That worked.

+ 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