Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Dates between two sheets...

Greetings, Everyone.

I have a sheet that will have dates between, say, 5 columns. (HH1 - HH5).
What I need is on a second sheet's cell, say 'J6', is if the five columns on
sheet one are filled with dates, put the most recent date in sheety two 'J6'.

Any ideas? I've looked at MAX and DMAX. Not sure what else to try.

It's been a long time since programming, but I'm getting back to it.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Dates between two sheets...

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Dates between two sheets...

With reference to the sheet? =MAX(sheet2!HH1:HH5)?

Would that work?

Thanks.

"Gary''s Student" wrote:

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Dates between two sheets...

Sorry, went back & looked and realized I didn't say it was also in a separate
worksheet!

So... =MAX([Worksheet1.xls]sheet1!HH1:HH5) ?

Stever

"Gary''s Student" wrote:

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Dates between two sheets...

One other quirk with it Gary - I only want the MAX Date if all of the cells
are not empty. If any of them don't have a date yet, I don't want the MAX
Date.

Steve

"Gary''s Student" wrote:

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Dates between two sheets...

=MAX('C:\Documents and Settings\Owner\My Documents\[Book1.xls]Sheet1'!HH1:HH5)

--
Gary''s Student - gsnu200814


"Skeeterj" wrote:

Sorry, went back & looked and realized I didn't say it was also in a separate
worksheet!

So... =MAX([Worksheet1.xls]sheet1!HH1:HH5) ?

Stever

"Gary''s Student" wrote:

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Dates between two sheets...

The great thing about dates is that they are just numbers! You don't need to
worry about zeros or empties.
--
Gary''s Student - gsnu200814


"Skeeterj" wrote:

One other quirk with it Gary - I only want the MAX Date if all of the cells
are not empty. If any of them don't have a date yet, I don't want the MAX
Date.

Steve

"Gary''s Student" wrote:

=MAX(HH1:HH5) and format as Date
--
Gary''s Student - gsnu200814

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
Work Sheets with Dates CHerzog Excel Worksheet Functions 1 March 9th 09 04:47 PM
putting dates on multiple sheets ramona Excel Discussion (Misc queries) 3 January 9th 09 04:38 PM
Changing dates on multiple sheets andyco11 New Users to Excel 3 March 1st 07 07:11 PM
Sheets dates,weeks and Months. How do I pano Excel Worksheet Functions 9 February 9th 07 04:51 PM
Add new sheets with week ending dates cottage6 Excel Programming 2 November 17th 04 04:08 PM


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