#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default date comparison

hi community

how can i write a comparison between two dates in the cells, I am using the
Advance Filter, and wanting to filter a set of records,

when i enter in a cell, =14 Mar 2009, the data changes to a text format? i
wanted to use 2 dates that are between the dates oof March 14 and March 22

thanks community for the kind assistance.

:)
--
oldLearner57
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default date comparison

The first criterion would be like
="=" & DATE(2009,3,14)
It's a string, but with the date converted (via the Date function) to a
numeric value.
The date could also be in another cell, so your criterion would be like
="=" & I3


"oldLearner57" wrote:

hi community

how can i write a comparison between two dates in the cells, I am using the
Advance Filter, and wanting to filter a set of records,

when i enter in a cell, =14 Mar 2009, the data changes to a text format? i
wanted to use 2 dates that are between the dates oof March 14 and March 22

thanks community for the kind assistance.

:)
--
oldLearner57

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default date comparison

10s bapeltzer, it works perfectly well and solved my task!! appreciated your
guidance.

10s again to You and Community.
--
oldLearner57


"bapeltzer" wrote:

The first criterion would be like
="=" & DATE(2009,3,14)
It's a string, but with the date converted (via the Date function) to a
numeric value.
The date could also be in another cell, so your criterion would be like
="=" & I3


"oldLearner57" wrote:

hi community

how can i write a comparison between two dates in the cells, I am using the
Advance Filter, and wanting to filter a set of records,

when i enter in a cell, =14 Mar 2009, the data changes to a text format? i
wanted to use 2 dates that are between the dates oof March 14 and March 22

thanks community for the kind assistance.

:)
--
oldLearner57

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 comparison adimar Excel Worksheet Functions 14 February 3rd 08 06:44 PM
Date comparison TomD Excel Discussion (Misc queries) 4 February 20th 07 10:37 PM
date comparison help CathyZ Excel Discussion (Misc queries) 5 May 4th 06 11:53 AM
Date comparison Darkdrew Excel Worksheet Functions 7 March 23rd 06 04:22 PM
Date comparison Jonibenj Excel Discussion (Misc queries) 6 October 23rd 05 08:34 PM


All times are GMT +1. The time now is 02:24 PM.

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

About Us

"It's about Microsoft Excel"