+ Reply to Thread
Results 1 to 4 of 4

can't get "sum" to add up properly

  1. #1
    Registered User
    Join Date
    08-07-2005
    Posts
    22

    can't get "sum" to add up properly

    Hi, I'd appreciate any help with my problem. I have the following

    A B C
    1 Benefit Coverage Amount Monthly Premium
    2 Employee Life .21/$1,000 $67,000.00 $14.07
    3 Dependent Life (if applicable) family $2.00
    4 Employee AD&D .04/$1,000$67,000.00 $2.68
    5 LTD 2.58/100 $1,529.00 $39.45
    6 Dental family 47.86
    7 Health family 48.90
    8 EAP (if applicable) yes $2.20
    9 Total Monthly Premium $60.40

    The formula in C9 is =SUM(C2:C8) but it doesn't seem to being adding the values in C6 and C7. The value in C6 comes from the following formula
    =IF(B6="single",20.35,"47.86") and the value in C7 comes from a similar formula.

    Any suggestions on how to get the total of C2 to C8 in C9

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    I bet if you change B6 to "single" it will add correctly. Your IF statement returns a TEXT string (not a number) when B6<>"single", (you have the amount enclosed in quotation marks). Remove the quotes and see what happens.

    =IF(B6="single",20.35,"47.86") should be:

    =IF(B6="single",20.35,47.86)

    Good Luck
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    08-07-2005
    Posts
    22

    Thanks Bruce your suggestion worked perfectly!

    Thanks Bruce your suggestion worked perfectly!

    Peter

  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    I'm glad it worked for you. Thanks for the feedback, it is always appreciated.

    Cheers!

+ 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