+ Reply to Thread
Results 1 to 4 of 4

Problem adding up range of values produced by IF function

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    10

    Problem adding up range of values produced by IF function

    I am trying to come up with a total for the attached where it says total - taking into account the values produced in row 4. However, when I do sum function in B5, I get zero when I should be getting 9.7.

    I'm a beginner in Excel so I'm sure I'm doing something wrong here.. any help is greatly appreciated!

    sample for excel forum.xlsx

  2. #2
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Problem adding up range of values produced by IF function

    It's because your IF statement are converting your numbers to text, don't put double quotes around the values

    =IF(D3="x",9.7,0)
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

  3. #3
    Registered User
    Join Date
    02-20-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Problem adding up range of values produced by IF function

    you're awesome, that worked perfectly. thanks & sorry if it was a really basic question!

  4. #4
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Problem adding up range of values produced by IF function

    No problem at all, glad to help

+ 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. Problem adding a range using Sumif function.
    By Domenic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 10:05 AM
  2. [SOLVED] Problem adding a range using Sumif function.
    By Domenic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  3. Problem adding a range using Sumif function.
    By vrk1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  4. [SOLVED] Problem adding a range using Sumif function.
    By vrk1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Problem adding a range in Sumif function.
    By vrk1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2005, 12:05 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