+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    Truckee, CA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Exclamation Adding values of formatted cells

    I have finally gotten my workbook where I want it. This is the last remaining piece until my life is complete (so to speak)

    I have set everything up where based on certain conditions I get a $$ amount in column G.

    The problem is I want to add all of colum G, but it is not recognizing the values of column G as $$ or numbers or anything? It wont add it up and only gives me $0.00 as my total.

    Ive tried formating it to numbers, accounting, currency etc etc....

    What am I doing wrong? Here is what colomn G contains : =IF(AND(E5="R",F5="CO",G5=0),"$75",IF(AND(E5="R",F5="CO",G5=1),"$105",IF(AND(E5="R",F5="CO",G5=2),"$ 130",IF(AND(E5="R",F5="MW",G5=0),"$30",IF(AND(E5="R",F5="MW",G5=1),"$35",IF(AND(E5="R",F5="MW",G5=2) ,"$45"))))))

    Please help! Thanks!!
    Last edited by jenmarie; 02-03-2010 at 07:08 PM.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,828

    Re: Adding values of formatted cells

    Hi,

    Where your IF tests are true you are entering a text 'value' in the cell, e.g. "$75".
    Leave out the double quotes, i.e. just 75, 105, etc. and you'll then be able to sum the values.

    HTH
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Registered User
    Join Date
    01-28-2010
    Location
    Truckee, CA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Adding values of formatted cells

    HOOOORAY!! Thanks for the quick response!!!

  4. #4
    Registered User
    Join Date
    01-28-2010
    Location
    Truckee, CA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Adding values of formatted cells

    What if- when the return value was false, I wanted the cell to return blank instead of FALSE.

    I know I have to add "" somewhere, but not sure where?

  5. #5
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,828

    Re: Adding values of formatted cells

    Hi,

    The general layout is:

    Code:
    =IF(condition=true,your value,"")
    i.e. put your double quotes as the last element of the IF()

    HTH
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

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.2.0