+ Reply to Thread
Results 1 to 3 of 3

IF statement date stamp

  1. #1
    Registered User
    Join Date
    05-07-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    12

    IF statement date stamp

    Hello

    Im trying to create an IF statement to look at a date stamp that was converted to a numeric value.

    Its a value for "spring break" actually, but if the date stamp column B6 is between the value 41363 and 41370 return a 1 else a 0.

    Any help to get the operators to work for this range would be super helpful! Thanks!

    =IF(B6=41363<>41370,1,0)

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: IF statement date stamp

    Try

    =IF(AND(B6>=41363,B6<=41370),1,0)

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,921

    Re: IF statement date stamp

    Or try:

    (B6>=41363)*(B6<=41370)

+ 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. Need vba code to change date&time stamp as date format dd-mmm-yy in A:A rng
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2014, 06:08 AM
  2. Permanent date stamp based on IF statement outcome
    By Darren6177 in forum Excel General
    Replies: 7
    Last Post: 05-09-2014, 04:30 PM
  3. Replies: 6
    Last Post: 02-08-2013, 08:29 AM
  4. Need to capture date data in a text string containing a date and time stamp
    By Grilleman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 01:14 PM
  5. [SOLVED] Create a button that will date stamp todays date in a cell
    By Tom Meacham in forum Excel General
    Replies: 3
    Last Post: 01-10-2006, 09:10 PM
  6. Date stamp spreadsheet in excel to remind me of completion date
    By Big fella in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2005, 12:05 PM
  7. Separating date from a Date & Time stamp
    By JT in forum Excel General
    Replies: 3
    Last Post: 02-20-2005, 01:06 PM

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