+ Reply to Thread
Results 1 to 4 of 4

need help with IF formula

  1. #1
    Registered User
    Join Date
    09-23-2005
    Posts
    11

    need help with IF formula

    hi
    pls help me with the formula for the following criteria with formula in PAYMENT column:
    REF TERMS PRESENTED RELEASED PAYMENT
    111 TT 05/05/2006 15/05/2006
    112 DP 05/05/2006 08/05/2006 30/05/2006
    113 DP 08/05/2006 25/01/1900
    114 LC 09/05/2006 11/05/2006

    this is the formula I used in payment column:
    =IF(B:B="DP",C4+25,IF(B:B="TT",D4+10,D4+2))

    It works fine except for REF 113 (cell E4)

    The condition I need to add is that if TERMS is DP and if there is no date in PRESENTED column, it should be D4+25.

    pls help
    raj

  2. #2
    Miguel Zapico
    Guest

    RE: need help with IF formula

    You may use something like this, also simplifiying the B column condition to
    check just for the value on the same row.
    =IF(B4="DP",IF(C4<>"",C4+25,D4+25),IF(B4="TT",D4+10,D4+2))

    Hope this helps,
    Miguel.

    "Raj Shah" wrote:

    >
    > hi
    > pls help me with the formula for the following criteria with formula in
    > PAYMENT column:
    > REF TERMS PRESENTED RELEASED PAYMENT
    > 111 TT 05/05/2006 15/05/2006
    > 112 DP 05/05/2006 08/05/2006 30/05/2006
    > 113 DP 08/05/2006 25/01/1900
    > 114 LC 09/05/2006 11/05/2006
    >
    > this is the formula I used in payment column:
    > =IF(B:B="DP",C4+25,IF(B:B="TT",D4+10,D4+2))
    >
    > It works fine except for REF 113 (cell E4)
    >
    > The condition I need to add is that if TERMS is DP and if there is no
    > date in PRESENTED column, it should be D4+25.
    >
    > pls help
    > raj
    >
    >
    > --
    > Raj Shah
    > ------------------------------------------------------------------------
    > Raj Shah's Profile: http://www.excelforum.com/member.php...o&userid=27505
    > View this thread: http://www.excelforum.com/showthread...hreadid=541049
    >
    >


  3. #3
    CLR
    Guest

    RE: need help with IF formula

    This should add the new condition to your formula.....

    =IF(AND(F4="DP",G4=""),D4+25,YourFormula)

    Vaya con Dios,
    Chuck, CABGx3



    "Raj Shah" wrote:

    >
    > hi
    > pls help me with the formula for the following criteria with formula in
    > PAYMENT column:
    > REF TERMS PRESENTED RELEASED PAYMENT
    > 111 TT 05/05/2006 15/05/2006
    > 112 DP 05/05/2006 08/05/2006 30/05/2006
    > 113 DP 08/05/2006 25/01/1900
    > 114 LC 09/05/2006 11/05/2006
    >
    > this is the formula I used in payment column:
    > =IF(B:B="DP",C4+25,IF(B:B="TT",D4+10,D4+2))
    >
    > It works fine except for REF 113 (cell E4)
    >
    > The condition I need to add is that if TERMS is DP and if there is no
    > date in PRESENTED column, it should be D4+25.
    >
    > pls help
    > raj
    >
    >
    > --
    > Raj Shah
    > ------------------------------------------------------------------------
    > Raj Shah's Profile: http://www.excelforum.com/member.php...o&userid=27505
    > View this thread: http://www.excelforum.com/showthread...hreadid=541049
    >
    >


  4. #4
    Registered User
    Join Date
    09-23-2005
    Posts
    11
    Thanks guys...it works...excellent!

+ 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