+ Reply to Thread
Results 1 to 6 of 6

multiple If one nested then if overall result

  1. #1
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63

    multiple If one nested then if overall result

    I am having a brain fart, I need some help with a easy IF statment.

    I am trying to do this.
    in Cell E3 if H3 = A then D3 X 11% and if X3=MD H3 X 11% X 1.09%
    if H3 = M then D3 X 15% and if X3=MD H3 X 11% X 1.09%

    basicly if H3 = A then multiply D3 by 11% but if H3 = M then D3 multiply by 15% and if X3 = MD multiply D3 by 11% or 15% depending on H3 =A or M
    by another 1.09% and put result in E3. does this make sense???

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Does this work for you?

    =IF(X3="",IF(H3="A",D3*11%,IF(H3="M",D3*15%,"")),IF(AND(X3="MD",H3="A"),IF(AND(X3="MD",H3="A"),D3*11%)+IF(AND(X3="MD",H3="A"),D3*11%)*1.09%,IF(AND(X3="MD",H3="M"),D3*15%)+IF(AND(X3="MD",H3="M"),D3*15%)*1.09%))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63
    No if X3 = anything other than MD still need to calculate D3 X H3(A or M) 11 or 15%

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by swieduwi
    No if X3 = anything other than MD still need to calculate D3 X H3(A or M) 11 or 15%
    Change =IF(X3="", to =IF(X3<>"MD",

  5. #5
    Registered User
    Join Date
    04-08-2005
    Location
    Washington, DC
    Posts
    63
    Thanks That was it
    Last edited by swieduwi; 02-25-2007 at 05:08 PM.

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad about that, only my brain was about to explode too - thanks for the feedback

+ 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