+ Reply to Thread
Results 1 to 8 of 8

Multiple IF statements

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Multiple IF statements

    Hi,

    I have attached a test version of the spreadsheet to makes things easier.

    Basically I have 2 formulas

    IF(AND(T16<$B$1),IF(V16>$B$1,"Late"," "))

    AND(V5>=DATE(2012,2,1),T5<=DATE(2012,2,31))

    Currently the 2nd formula is in the conditional formatting under cell X5, but what I need is to combine both of the above formulas, to show that if all the arguments are true, then it will display "Late" in cell X5.

    Any help would be amazing.

    Thanks!!
    Attached Files Attached Files

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

    Re: Multiple IF statements

    How about...

    =IF(AND(T5<$B$1,V5>$B$1,V5>=DATE(2012,2,1),T5<=DATE(2012,2,31)), "Late", " ")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Multiple IF statements

    Works perfectly thanks.

    1 other thing, it now shows "Late", if there is nothing in cell V5, anyway you can make it show blank?

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Multiple IF statements

    Hello Try..

    =if(V5="","",the formula given by Ace) in post #2
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Multiple IF statements

    Thanks very much! I thought it was that, but I was missing an extra IF.

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Multiple IF statements

    Welcome. Thanks Ace for that formula. He's offline. Just taken this so you'll not wait for him.

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Multiple IF statements

    @ Will_iam

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Registered User
    Join Date
    08-06-2012
    Location
    Bristol
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Multiple IF statements

    Sorry. I will remember from now on!

+ 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