+ Reply to Thread
Results 1 to 2 of 2

correction of formula please............

  1. #1
    azmi
    Guest

    correction of formula please............

    C2=IF(A2+B2=0,"0",C1-A2+B2)

    the above formula is which im using presently. then i came out with the one
    below to eliminate the error which would occur by entering data on both
    cells, A2 and B2 at the same time.

    C2=IF(A2=0,C1+B2,IF(B2=0,C1-A2,IF(A2 AND B2=0,"0","ERROR")))

    what i need to do is if A2 and B2 has values at the same time to show an
    error message.appriciate if someone could correct the above formula.

  2. #2
    JE McGimpsey
    Guest

    Re: correction of formula please............

    See reply to your earlier post.


    In article <[email protected]>,
    "azmi" <[email protected]> wrote:

    > C2=IF(A2+B2=0,"0",C1-A2+B2)
    >
    > the above formula is which im using presently. then i came out with the one
    > below to eliminate the error which would occur by entering data on both
    > cells, A2 and B2 at the same time.
    >
    > C2=IF(A2=0,C1+B2,IF(B2=0,C1-A2,IF(A2 AND B2=0,"0","ERROR")))
    >
    > what i need to do is if A2 and B2 has values at the same time to show an
    > error message.appriciate if someone could correct the above formula.


+ 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