+ Reply to Thread
Results 1 to 4 of 4

adding up results of =if

  1. #1
    Registered User
    Join Date
    07-23-2016
    Location
    London
    MS-Off Ver
    Office for Mac 2011
    Posts
    6

    adding up results of =if

    Hello -

    I'm doing a spreadsheet for evaluating applications; against each criterion are three columns with check boxes for 'met', 'partially met' and 'not met', then next to those, I've used =if(c2=true,"1",if(d2=true,"0.5",if(e2=true,"0"))) to give a score for each criterion. That all works fine, but then I simply want to add up the scores at the bottom, and I can't figure out how to do that, because the usual =sum etc just gives zero

    Thanks in advance

    Chris

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: adding up results of =if

    Hi and welcome

    remove the inverted commas from your formula. Its probably reading this as text not numbers
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,418

    Re: adding up results of =if

    Quote Originally Posted by chrishuning View Post
    ... because the usual =sum etc just gives zero ...
    That's because your formula is returning text values and not proper numbers - you should remove the quotes from the formula, like this:

    =if(c2=true,1,if(d2=true,0.5,if(e2=true,0)))

    but you could simplify that to:

    =if(c2,1,if(d2,0.5,if(e2,0)))

    or even:

    =C2*1 + D2*0.5

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-23-2016
    Location
    London
    MS-Off Ver
    Office for Mac 2011
    Posts
    6

    Re: adding up results of =if

    Fabulous! Removed the inverted commas and it works.

    Many thanks

    Chris

+ 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. [SOLVED] VLOOKUP & Adding results
    By gassiusmax in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-28-2014, 06:09 PM
  2. adding results of two SUMIF's. Is there a better way?
    By finny388 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2011, 12:53 PM
  3. Need help in adding IF function results
    By Khaldon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2011, 03:53 AM
  4. Adding multiple results
    By jgomez in forum Excel General
    Replies: 1
    Last Post: 01-06-2011, 12:02 PM
  5. Adding only the filtered results
    By spartikus411 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2006, 06:20 AM
  6. Adding only the filtered results
    By spartikus411 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2006, 06:10 AM
  7. [SOLVED] adding color to the results of IF statements
    By Mark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-28-2005, 03:06 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