+ Reply to Thread
Results 1 to 3 of 3

Formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    200

    Formula

    Please help with the following formula

    If C26<0 AND D26 >0 then E6 = 0 (the result must return 0 not true or false)
    If C26>0 AND D26 <0 then E6 = 0
    If C26>0 AND D26 >0 then E6 = c26 less d26

    Many Thanks

  2. #2
    Forum Contributor vandanavai's Avatar
    Join Date
    09-04-2006
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    256
    Hi

    Try this formula in cell E6

    =IF(AND(C26<0,D26>0),IF(AND(C26>0,D26<0),0,0),IF(AND(C26>0,D26>0),C26-D26,0))

  3. #3
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    200

    Red face Formula

    works a treat - many thanks

+ 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