Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jlewis
 
Posts: n/a
Default Function determine if date is even or odd

Is there a function that can determine if a date is even or odd? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Function determine if date is even or odd

Let's assume that you mean that the day is even. If the date is in A1 then:

=ISEVEN(DAY(A1)) will return TRUE if the date is even,
--
Gary's Student


"jlewis" wrote:

Is there a function that can determine if a date is even or odd? Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Function determine if date is even or odd

And make sure you have the analysis toolpak loaded so you can use =iseven().

An alternative that doesn't need the ATP:
=mod(day(a1),2)=0


Gary''s Student wrote:

Let's assume that you mean that the day is even. If the date is in A1 then:

=ISEVEN(DAY(A1)) will return TRUE if the date is even,
--
Gary's Student

"jlewis" wrote:

Is there a function that can determine if a date is even or odd? Thanks!


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Date Function ACase Excel Discussion (Misc queries) 2 March 31st 05 03:11 PM
Using date function in an if statement M Smith Excel Worksheet Functions 2 March 30th 05 06:53 PM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM
Using formulas to determine date in one cell based on date in anot Gary Excel Worksheet Functions 2 November 22nd 04 08:11 AM


All times are GMT +1. The time now is 05:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"