+ Reply to Thread
Results 1 to 3 of 3

if and between dates formula

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    Leeds
    MS-Off Ver
    MS 365
    Posts
    24

    if and between dates formula

    Hi all, i'm stuck with this, it seems to be by passing the B4 May 23 bit of the formula.


    =IF(R2="","No Date",IF(AND(R2>"31/01/2023",R2<"01/05/2023"),"B4 May 23",IF(AND(R2>TODAY(),R2<"31/10/2023"),"B4 Nov 23","Date Past")))

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: if and between dates formula

    Do you really need to check if R2 is greater than 31/01/2023 ?

    To avoid confusion, I always prefer to use DATE(2023,5,1) rather than "01/05/2023".

    Hope this helps.

    Pete

    Pete

  3. #3
    Registered User
    Join Date
    10-02-2013
    Location
    Leeds
    MS-Off Ver
    MS 365
    Posts
    24

    Re: if and between dates formula

    It does thank you

+ 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] Formula to return the 'earliest' and 'latest' dates from a list of dates is not working
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2017, 07:14 AM
  2. [SOLVED] Require a formula to count unique dates excluding weekend dates
    By john dalton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2015, 09:17 AM
  3. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2014, 07:42 PM
  4. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  5. Replies: 1
    Last Post: 06-14-2014, 02:01 AM
  6. Replies: 11
    Last Post: 05-04-2014, 08:28 PM
  7. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 AM

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