Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JLT
 
Posts: n/a
Default Minimum Date Range from other cells


I have several seperate excel files where people enter a specific date
I then have a seperate excel file that captures the date from the other
files mentioned above. From this file I need to capture the oldest
date. Not everyone is required to enter a date if they have nothing to
report however there will _always_ be a date in cell I4 (see below)


Code:
--------------------
=MIN(I4,L4,R4,X4)
--------------------


The problem is if I have nothing in any of the other cells three cells,
it returns a value of 0. I need to know how to ignore the values if any
of the cells are blank.

I have included a screenshot of what I'm doing. Any help would be
great as I'm sure this is an easy question.

Thanks
James


+-------------------------------------------------------------------+
|Filename: excel help.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4171 |
+-------------------------------------------------------------------+

--
JLT
------------------------------------------------------------------------
JLT's Profile: http://www.excelforum.com/member.php...o&userid=30042
View this thread: http://www.excelforum.com/showthread...hreadid=497259

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Minimum Date Range from other cells


=MIN(IF(N(INDIRECT({"I4";"L4";"R4";"X4"}))<0,N(IN DIRECT({"I4";"L4";"R4";"X4
"}))))

It is an array formula, so commit with Ctrl-Shift-Enter.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JLT" wrote in message
...

I have several seperate excel files where people enter a specific date
I then have a seperate excel file that captures the date from the other
files mentioned above. From this file I need to capture the oldest
date. Not everyone is required to enter a date if they have nothing to
report however there will _always_ be a date in cell I4 (see below)


Code:
--------------------
=MIN(I4,L4,R4,X4)
--------------------


The problem is if I have nothing in any of the other cells three cells,
it returns a value of 0. I need to know how to ignore the values if any
of the cells are blank.

I have included a screenshot of what I'm doing. Any help would be
great as I'm sure this is an easy question.

Thanks
James


+-------------------------------------------------------------------+
|Filename: excel help.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4171 |
+-------------------------------------------------------------------+

--
JLT
------------------------------------------------------------------------
JLT's Profile:

http://www.excelforum.com/member.php...o&userid=30042
View this thread: http://www.excelforum.com/showthread...hreadid=497259



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
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 10:07 PM
Computing a date range roy.okinawa Excel Worksheet Functions 7 November 15th 05 12:45 AM
Date Range and calculation vgreen Excel Worksheet Functions 2 August 23rd 05 11:08 AM
Select Range of Cells programmingrookie Excel Discussion (Misc queries) 2 August 11th 05 07:13 PM
monitoring a changing range of cells kevin Excel Discussion (Misc queries) 1 June 3rd 05 05:39 PM


All times are GMT +1. The time now is 01:59 AM.

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"