+ Reply to Thread
Results 1 to 14 of 14

Nested Ifs

Hybrid View

Mrsm Nested Ifs 05-30-2007, 07:38 AM
NBVC Does this work for you? ... 05-30-2007, 08:06 AM
sweep Hi, Try this in A5 ... 05-30-2007, 08:09 AM
Mrsm Nested Ifs 05-30-2007, 08:50 AM
Mrsm Follow on..... 06-06-2007, 09:50 AM
NBVC The True/False strings should... 06-06-2007, 10:05 AM
Mrsm It works, thanks again for... 06-06-2007, 12:12 PM
Mrsm Slight error in orig info... 06-07-2007, 11:55 AM
NBVC Try this amendment to my... 06-07-2007, 12:18 PM
Mrsm HI, Thanks for... 06-08-2007, 04:16 AM
Mrsm Apologies NBVC, I had the... 06-08-2007, 04:35 AM
NBVC You're welcome. Not... 06-08-2007, 07:46 AM
Mrsm Everything working fine. ... 06-08-2007, 09:55 AM
NBVC Great! You're welcome... 06-08-2007, 10:28 AM
  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try this amendment to my original formula:

    =IF(AND(OR(A1={"Approved","Submitted for Approval","In Development","App for IA"}),A2=0),"",OR(AND(OR(A1={"completed","cancelled","Rejected","On hold"}),A2>0),AND(OR(A1={"Approved","Submitted for Approval","In Development","App for IA"}),A2>0)))
    Note: Double-Check the key words to make sure they match your key words.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  2. #2
    Registered User
    Join Date
    05-30-2007
    Posts
    16
    HI,

    Thanks for this......However, it seems to be working back to front!!

    If the status is "Complete", "Cancelled" etc and there is no date it is returning a blank rather than False and If there is a Date it is returning a false rather than a True. AND If the status is "Approved","Submitted for approval" etc and there is no date - it is returning a False rather than a blank and if there is a date it is returning a True - (which is correct). I have tried to rework it but I still can't get it to work out

    Any ideas??

  3. #3
    Registered User
    Join Date
    05-30-2007
    Posts
    16
    Apologies NBVC, I had the status order incorrect - it does work

    You are very helpful and I really appreciate how quickly you have come back to me.

    Could you please help with my second If statement - it won't work now!!

    Many thanks.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by Mrsm
    Apologies NBVC, I had the status order incorrect - it does work

    You are very helpful and I really appreciate how quickly you have come back to me.
    You're welcome.

    Could you please help with my second If statement - it won't work now!!

    Many thanks.
    Not sure which one you are talking about?

    You mean this one?:
    =IF(G2=TRUE,$A$38,IF(G2=FALSE,$A$39,""))

    This one should work with True, False or blank.

    What's not working about it?

  5. #5
    Registered User
    Join Date
    05-30-2007
    Posts
    16
    Everything working fine.

    Thanks for everything - you're a star!


  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Great!

    You're welcome

+ 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