Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default IF Statement in excel for a date

If I have this and I want to have the earliest date in the cell how do I set
up the IF statement?

Member Kick off Call Date Data Received Date MT Data Lock Date Date
9/22/06 10/9/06 11/8/06

I want the outcome in the column "Date". and I want it to read 9/22/06
since that is the earliest date. Does this make sense?
--
Thomas
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default IF Statement in excel for a date

Dates are just numbers formatted to look like dates so the MIN() function
will return the earliest date:

=MIN(A1,C1,D1,F1)

or whatever your cells are.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"T Miller" wrote in message
...
If I have this and I want to have the earliest date in the cell how do I
set
up the IF statement?

Member Kick off Call Date Data Received Date MT Data Lock Date Date
9/22/06 10/9/06 11/8/06

I want the outcome in the column "Date". and I want it to read 9/22/06
since that is the earliest date. Does this make sense?
--
Thomas



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF Statement in excel for a date

Try this:

=IF(COUNT(A2:C2),MIN(A2:C2),"")

Format as DATE

Biff

"T Miller" wrote in message
...
If I have this and I want to have the earliest date in the cell how do I
set
up the IF statement?

Member Kick off Call Date Data Received Date MT Data Lock Date Date
9/22/06 10/9/06 11/8/06

I want the outcome in the column "Date". and I want it to read 9/22/06
since that is the earliest date. Does this make sense?
--
Thomas



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Excel date format trouble michaelberrier Excel Discussion (Misc queries) 2 April 21st 06 05:21 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM


All times are GMT +1. The time now is 12:49 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"