+ Reply to Thread
Results 1 to 7 of 7

Non-signed Difference between 2 cells

  1. #1
    cherft
    Guest

    Non-signed Difference between 2 cells

    rather than having to code:
    =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
    or
    applying special formating to the cell to suppress the "-" sign,

    Surely there must be a worksheet built-in function to give me the difference
    between two cells.

    Can anyone help?
    Thanks a mil
    Cherft

  2. #2
    arno
    Guest

    Re: Non-signed Difference between 2 cells

    Hi cherft,
    > rather than having to code:
    > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))


    =abs(a1-b1)

    arno

  3. #3
    Mangesh
    Guest

    Re: Non-signed Difference between 2 cells

    =ABS(A1-B1)

    - Mangesh



    "cherft" <[email protected]> wrote in message
    news:[email protected]...
    > rather than having to code:
    > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
    > or
    > applying special formating to the cell to suppress the "-" sign,
    >
    > Surely there must be a worksheet built-in function to give me the

    difference
    > between two cells.
    >
    > Can anyone help?
    > Thanks a mil
    > Cherft




  4. #4
    JE McGimpsey
    Guest

    Re: Non-signed Difference between 2 cells

    One way:

    =ABS(A1-B1)

    In article <[email protected]>,
    cherft <[email protected]> wrote:

    > rather than having to code:
    > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
    > or
    > applying special formating to the cell to suppress the "-" sign,
    >
    > Surely there must be a worksheet built-in function to give me the difference
    > between two cells.


  5. #5
    cherft
    Guest

    Re: Non-signed Difference between 2 cells

    Many thanks indeed - appreciated
    regards
    Cherft

    "arno" wrote:

    > Hi cherft,
    > > rather than having to code:
    > > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))

    >
    > =abs(a1-b1)
    >
    > arno
    >


  6. #6
    cherft
    Guest

    Re: Non-signed Difference between 2 cells

    Many thanks indeed - appreciated
    regards
    Cherft

    "JE McGimpsey" wrote:

    > One way:
    >
    > =ABS(A1-B1)
    >
    > In article <[email protected]>,
    > cherft <[email protected]> wrote:
    >
    > > rather than having to code:
    > > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
    > > or
    > > applying special formating to the cell to suppress the "-" sign,
    > >
    > > Surely there must be a worksheet built-in function to give me the difference
    > > between two cells.

    >


  7. #7
    cherft
    Guest

    Re: Non-signed Difference between 2 cells

    Many thanks indeed - appreciated
    regards
    Cherft

    "Mangesh" wrote:

    > =ABS(A1-B1)
    >
    > - Mangesh
    >
    >
    >
    > "cherft" <[email protected]> wrote in message
    > news:[email protected]...
    > > rather than having to code:
    > > =IF(A1-B1<0,(A1-B1)*-1,(A1-B1))
    > > or
    > > applying special formating to the cell to suppress the "-" sign,
    > >
    > > Surely there must be a worksheet built-in function to give me the

    > difference
    > > between two cells.
    > >
    > > Can anyone help?
    > > Thanks a mil
    > > Cherft

    >
    >
    >


+ 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