+ Reply to Thread
Results 1 to 6 of 6

If formula for multiple conditions needed pls

  1. #1
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    58

    If formula for multiple conditions needed pls

    Pls look at my attached sheet , i need slight modification in my formula to work better , its not counting/showing the cells if the days left are more than 2 .
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,169

    Re: If formula for multiple conditions needed pls

    What is required result if less than 2 days left?

    =IF(C5="","",IF(C5-TODAY()>2,C5-TODAY()&" days left "," no days left ??????"))

  3. #3
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    58

    Re: If formula for multiple conditions needed pls

    Your formula is not working :

    My answer should come like : 1 day left .. 2 days left
    1. If from today there are 2 days left then 2 days left
    2. If from today there is 1 day left then 1 day left

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,169

    Re: If formula for multiple conditions needed pls

    See attached.

    =IF(C2="","",IF(C2-TODAY()>=1,C2-TODAY()&" days left "," no days left ??????"))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-27-2015
    Location
    india
    MS-Off Ver
    2013
    Posts
    58

    Re: If formula for multiple conditions needed pls

    your formula is okay sir the only thing i want is days for plural and day for singular

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,169

    Re: If formula for multiple conditions needed pls

    Well you need to add a test to see if result is 1, then text is "day".

    =IF(C2="","",IF(C2-TODAY()=1,C2-TODAY()&" day left ",IF(C2-TODAY()>1,C2-TODAY()&" days left "," no days left ??????")))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  2. Urgent Help Needed! - Deleting rows by multiple conditions
    By shivboy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2014, 04:54 AM
  3. [SOLVED] VBA Help needed to fill cells with some specific texts based on multiple conditions
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-18-2014, 12:52 PM
  4. [SOLVED] Syntax for formula that uses multiple conditions inside of multiple IF statements
    By njmiller31 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 11:55 AM
  5. Replies: 1
    Last Post: 08-27-2009, 06:07 PM
  6. Replies: 12
    Last Post: 05-15-2009, 08:38 AM

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