![]() |
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 |
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 |
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 |
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 | | |
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 |
All times are GMT +1. The time now is 06:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com