LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ML ML is offline
external usenet poster
 
Posts: 57
Default Finding min date value with hidden zeros with vlookup

Hi,
I'm trying to find the earliest date from 4 cells (B:E) that have time
format mm/dd/yyyy. Some or all of the 4 cells might be empty (hidden zeros).
First the simple min( ) function gave 1/0/1900 if the were any empty cells,
but I managed to get around that by using for example
=IF(AND(B2="",C2="",D2="",E2=""),"",MIN(B2:E2))

However, now I need to get the answer to a different worksheet using vlookup
function, but I started getting 1/0/1900 answers again. Any advice?

For example:
Worksheet1 looks like this
A B
Start
End
Plan

Worksheet2
A B C D E
Start 1/7/2009 11/4/2009 1/13/2009
End
Plan 8/1/2009 6/9/2009 4/8/2009

For Worksheet1 column B I want
1/7/2009
(empty cell or N/A)
4/8/2009

Thanks!


 
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
Finding Zeros Seahorsenerd Excel Worksheet Functions 2 June 17th 08 07:30 PM
finding a max date in a range in vlookup data Graham Excel Discussion (Misc queries) 5 March 22nd 07 12:02 PM
Vlookup blanks = zeros Marilyn Excel Discussion (Misc queries) 6 March 18th 07 01:21 AM
Finding all cells that are locked/hidden Bob Excel Discussion (Misc queries) 4 December 29th 06 02:24 PM
finding the no. of rows in a COL filled with numbers, zeros and bl z.entropic Excel Worksheet Functions 14 May 21st 05 11:05 PM


All times are GMT +1. The time now is 05:35 AM.

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"