+ Reply to Thread
Results 1 to 6 of 6

Multiple If Condition based on Date today

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    Kuala Lumpur
    MS-Off Ver
    Excel 2010
    Posts
    23

    Multiple If Condition based on Date today

    Hi All,

    In my excel I have Planning Date, Advertisement Date, Selling Date and Closing Date and Status

    Below is the process of how users manage date information:

    1) If they receive a planning date, the user will enter the date in the Planning Date column.
    2) If they receive the Advertisement Date, the user will enter the date in the Advertisement Date column and they will delete the Planning Date
    3) If they receive a Selling Date, the user will enter the Selling Date column and also enter a Closing Date based on 30 days (sample) from the Selling Date.

    For Item #1, the status is Planning
    For Item #2 the status is Advertisement
    For Item #3 the status is Closing if closing date is equal or greater than todays date or return selling if less.

    How can I achieve this ... I also attached a sample file for easy reference.

    Attachment : DateStatus.xlsx

    Additional Information:

    I am currently using the formula below but knowing how the date is captured now it will not meet the criteria....

    =IF([Closing Date]<>"", "Closed",
    IF(AND(Selling Date]<>"", [ Date]=""), "Selling",
    IF(AND(Advertisement Date]<>"",[Selling Date]=""), "Advertisement",
    IF([Planning Date]<>"", "Planning", "")
    )
    )


    Thank you in advanced.

    Regards,
    NickzNickz
    Last edited by zulfaizan; 02-07-2024 at 11:00 PM.

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Multiple If Condition based on Date today

    How can a date be in the column 'Actual Closing Date' and row 'Selling' at the same time?
    It seems inconsistent to me.

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Multiple If Condition based on Date today

    Please enter today date in C2 and try in F5 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-17-2012
    Location
    Kuala Lumpur
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Multiple If Condition based on Date today

    Hi @DJunqueira,

    From what I've been informed... Once the Selling Date has been confirmed, they will plus 30days and get the closing date. (standard practice).

    Regards,
    NickzNickz

  5. #5
    Registered User
    Join Date
    01-17-2012
    Location
    Kuala Lumpur
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Multiple If Condition based on Date today

    Quote Originally Posted by HansDouwe View Post
    Please enter today date in C2 and try in F5 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Hi HansDouwe,

    Niceeeee .... I also change from C$2 to TODAY() .... and it's work ...

    Thanks a lot sir.

    Regards,
    NickzNickz

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,640

    Re: Multiple If Condition based on Date today

    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. 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, 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.

+ 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. [SOLVED] Extract data from multiple sheets to multiple sheets based on date(today)
    By KalilMe in forum Excel Programming / VBA / Macros
    Replies: 63
    Last Post: 08-02-2023, 11:00 AM
  2. Replies: 7
    Last Post: 05-06-2022, 11:51 AM
  3. vba color date based on multiple condition
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-22-2020, 04:31 AM
  4. Find MAX date based on multiple row condition
    By roman22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2019, 10:22 AM
  5. Replies: 3
    Last Post: 08-27-2015, 08:53 AM
  6. Using Today() and making it Static based on a particular condition.
    By all4excel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2008, 05:09 PM
  7. how do I put today's date and other dates in macro condition?
    By lpdarspe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2006, 08:30 PM

Tags for this Thread

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