+ Reply to Thread
Results 1 to 5 of 5

IF statement work around.

  1. #1
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    IF statement work around.

    I have a formula that needs to have a few more "IF" statements, but I have maxed out the amount useable in Excel 2003. I read about splitting them into two cells, but that did not seem to work. Can someone here help? I will paste the current if statement and the variables that I need it to calculate. Thanks!


    =IF(E4="active-air ESV",(F4+366),IF(E4="active-twin ESV",(F4+366),IF(E4="active-twin",(F4+366),IF(E4<>"active","",IF(ISBLANK(H4),"NEED DATE",IF(ISBLANK(F4),"Need DATE",IF(((F4)+(366*3))>=(H4+1735),"on hydro date",IF((I4)>=2009,(F4)+(365*3)+1,""))))))))


    Active

    Actve-air ESV

    Active-air ISC

    Active-twin

    Active-twin ESV

    Active-t/air ESV

    Active-t/air ISC

    Inactive

    Out of Service

    Sold

    MIA

    Junk/Scrap

    For Sale

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF statement work around.

    Condensed...

    =IF(OR(E4="active-air ESV",E4="active-twin ESV",E4="active-twin"),F4+366,IF(OR(ISBLANK(H4),ISBLANK(F4)),"NEED DATE",IF(F4+366*3>=H4+1735,"on hydro date",IF(I4>=2009,F4+365*3+1,""))))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: IF statement work around.

    You can start chipping away at the formula by combining the first part into...

    =IF(OR(e4={"active-air ESV","active-twin ESV","active-twin"}),(F4+366)
    HTH
    Regards, Jeff

  4. #4
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: IF statement work around.

    Thanks guys! With a bit of tweeking it works!!

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: IF statement work around.

    Glad to hear you got it working and 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