Finding the oldest & newest dates

B

Bob Smith

Hi folks,

I've got a spreadsheet, where there a number of different dates & times in
column O (cells O7 through O31). All these dates are imported from different
worksheets in the same workbook, via copy/paste special.

I'd like to list the oldest date/time in cell E2 and the newest date/time in
E3. I've tried a number of different formulas with no correct results.

Can anyone provide some suggestions?

TIA, Bob
 
G

Guest

You should be able to use the MIN and MAX functions for this.

=MIN(O7:O31)
=MAX(O7:O31)

Make sure your cells are formatted as dates.

HTH,
Elkar
 
B

Bob Smith

Thanks for the reply Elkar. Unfortunately, I'm still not getting the correct
results.

Customer Date Formats in cells E2 & E3 are mmmm dd, yyyyy, hh:mm am/pm. The
results in receiving in both cells are January 00, 1900, 12:00 AM.

Bob
 
B

Bob Smith

Just to let everyone know, so no one wastes any further time, I have
received an answer from Dick K, which is a heck of a lot more complicated,
but it works well. In complicated, it's because all my data comes down from
web queries, and half of my worksheets in the workbooks have names with
spaces between words.

Bob
 

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