date comparison

O

oldLearner57

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.

:)
 
B

bapeltzer

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
 
O

oldLearner57

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

10s again to You and Community.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top