+ Reply to Thread
Results 1 to 4 of 4

How to ad a IF in a existing formula

  1. #1
    Forum Contributor
    Join Date
    05-18-2007
    Posts
    153

    How to ad a IF in a existing formula

    I have that formula =Sum(BC22:$BC4000)
    But I want to add that formula how apparently remove the 0.
    =IF(SUM(A1:B1)<>0,SUM(A1:B1),NA())

  2. #2
    pinmaster
    Guest
    Hi,

    How about:

    =IF(SUM(A1:B1)=0,"",SUM(A1:B1))


    HTH
    Jean-Guy

  3. #3
    pinmaster
    Guest
    Hi,

    Sorry, looking back at your post and now I'm not sure what you meant. You want to add which formula to which?

    here are some simple samples that might help you!

    basic IF function.
    =IF(condition,true,false)

    basic IF function used if the condition returns a TRUE statement
    =IF(condition,IF(condition,true,false),false)

    another example
    =IF(condition,IF(condition,IF(condition,true,false),false),false)

    basically you can use an IF function as the condition, true or false statement in another IF function, if used as a condition make sure it returns either a TRUE or FALSE statement so that the formula will work properly!

    Hope this helps!
    Jean-Guy

  4. #4
    Registered User
    Join Date
    06-11-2007
    Location
    Nonthaburee Province, Thailand
    MS-Off Ver
    MS Office 2003 to MS Office 2010
    Posts
    82
    Hello feejo

    Using Custom Format Number rather than using the danger formula as below

    Please Login or Register  to view this content.
    Because, The dangerous formula give the result is text. If you need to use the result to calculation, but the dangerous formula give the result is text. It will return #VALUE!

    How to use The custom Format Number.

    Choose cell
    Right Click choose format cells...
    Click Number Tab
    At the categories list box choose custom.
    At the Type text box Type #,##0.00 ;[Red] -#,##0.00 ;;
    Click OK
    N. Yauvasuta
    Power User Excel.

+ 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