Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Min Max What's Wrong?

XP Pro Office 2003
I have this in cell A2:
="For "&TEXT(MIN(A4:A36),"dd-mmm-yy")&" through
"&TEXT(MAX(A4:A36),"dd-mmm-yy")

I enter today's date in cell A4 and get this returned in cell A2
For 00-Jan-00 through 04-Oct-06

Why am I not getting correct date for MIN?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Min Max What's Wrong?

I think you *do* get the right answer for MIN. One of your cells in A4:A36 is zero or something which is interpreted as zero by
the MIN function.
You can check by inserting a column in which you copy column A and format it as number.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"shep" wrote in message ...
| XP Pro Office 2003
| I have this in cell A2:
| ="For "&TEXT(MIN(A4:A36),"dd-mmm-yy")&" through
| "&TEXT(MAX(A4:A36),"dd-mmm-yy")
|
| I enter today's date in cell A4 and get this returned in cell A2
| For 00-Jan-00 through 04-Oct-06
|
| Why am I not getting correct date for MIN?
|
| Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Min Max What's Wrong?

How is the data formatted in the range A4:A36?

Dave
--
Brevity is the soul of wit.


"shep" wrote:

XP Pro Office 2003
I have this in cell A2:
="For "&TEXT(MIN(A4:A36),"dd-mmm-yy")&" through
"&TEXT(MAX(A4:A36),"dd-mmm-yy")

I enter today's date in cell A4 and get this returned in cell A2
For 00-Jan-00 through 04-Oct-06

Why am I not getting correct date for MIN?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Min Max What's Wrong?

<in which you copy column A

I mean with an =
--
Kind regards,

Niek Otten
Microsoft MVP - Excel
formula, like
=A4
=A5

etc

"Niek Otten" wrote in message ...
|I think you *do* get the right answer for MIN. One of your cells in A4:A36 is zero or something which is interpreted as zero by
| the MIN function.
| You can check by inserting a column in which you copy column A and format it as number.
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
| "shep" wrote in message ...
|| XP Pro Office 2003
|| I have this in cell A2:
|| ="For "&TEXT(MIN(A4:A36),"dd-mmm-yy")&" through
|| "&TEXT(MAX(A4:A36),"dd-mmm-yy")
||
|| I enter today's date in cell A4 and get this returned in cell A2
|| For 00-Jan-00 through 04-Oct-06
||
|| Why am I not getting correct date for MIN?
||
|| Thanks
|
|


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Min Max What's Wrong?

Dave and Nick
Nick you are right. I had cells in the range with formated for date and MIN
was picking that up. Nothing wrong after all.

I apologize for my oversight, but appreciate your responses and help.

"Dave F" wrote:

How is the data formatted in the range A4:A36?

Dave
--
Brevity is the soul of wit.


"shep" wrote:

XP Pro Office 2003
I have this in cell A2:
="For "&TEXT(MIN(A4:A36),"dd-mmm-yy")&" through
"&TEXT(MAX(A4:A36),"dd-mmm-yy")

I enter today's date in cell A4 and get this returned in cell A2
For 00-Jan-00 through 04-Oct-06

Why am I not getting correct date for MIN?

Thanks

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
Getting wrong values PW Excel Worksheet Functions 5 August 14th 06 11:01 PM
How do I recover data that somebody pasted over on the wrong page Randy Excel Discussion (Misc queries) 2 July 2nd 06 01:29 AM
SUMPRODUCT is showing wrong Amount msbutton27 Excel Discussion (Misc queries) 2 January 25th 06 03:40 PM
hyperlink navigation path path wrong in Excel 2003 CE Admin Excel Discussion (Misc queries) 5 January 7th 06 07:47 PM
What am I doing wrong? jewels Excel Worksheet Functions 8 December 8th 05 02:04 PM


All times are GMT +1. The time now is 08:58 PM.

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"