+ Reply to Thread
Results 1 to 4 of 4

Formula problem...

  1. #1
    Registered User
    Join Date
    05-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Formula problem...

    Hello - im struggling with a lenghty formula. Hoping someone can tell me what im doing wrong with this...

    =IF(B12="Stop","",IF(AND(B2=0,B3=0),"Back",IF(AND(B2>0,B3=0,B23=0),"Lay",IF(AND(B2=0,B23=1) OR(AND(B3=0,B23=1),"Cancel","")))))

    Any thoughts appreciated...

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

    Re: Formula problem...

    Try this..

    =IF(B12="Stop","",IF(AND(B2=0,B3=0),"Back",IF(AND(B2>0,B3=0,B23=0),"Lay",IF(OR(AND(B2=0,B23=1),AND(B3=0,B23=1)),"Cancel",""))))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    05-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula problem...

    Perfect!

    Thanks so much.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Formula problem...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Never use Merged Cells in Excel

+ 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