Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default MIN DATE from Array

Need some help with a MIN formula - the MAX works fine. He's the
formula:

{=MIN(($B$2:$B$8983=$N2)*($K$2:$K$8983))}
{=MAX(($B$2:$B$8983=$N2)*($K$2:$K$8983))}

I know why I get the answer I get, but don't know how to fix it. The
formula causes ZEROS when the model doest match the one I'm interested
in, hence the 00-Jan-00 below. How do I write a formula to give me
the MIN (starting date) for the info in the table?



A B D
E F
175BR 06-Jan-08 MIN MAX
175BR 01-Mar-08 175BR 00-Jan-00 01-Mar-08
197SD 06-Jan-08 197SD 00-Jan-00 15-Feb-08
197SD 15-Jan-08 391SB 00-Jan-00 17-Feb-08
197SD 15-Feb-08
391SB 02-Jan-08
391SB 17-Feb-08


-Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default MIN DATE from Array

=MIN(IF($B$2:$B$8983=$N2,$K$2:$K$8983))

ctrl+shift+enter, not just enter


" wrote:

Need some help with a MIN formula - the MAX works fine. He's the
formula:

{=MIN(($B$2:$B$8983=$N2)*($K$2:$K$8983))}
{=MAX(($B$2:$B$8983=$N2)*($K$2:$K$8983))}

I know why I get the answer I get, but don't know how to fix it. The
formula causes ZEROS when the model doest match the one I'm interested
in, hence the 00-Jan-00 below. How do I write a formula to give me
the MIN (starting date) for the info in the table?



A B D
E F
175BR 06-Jan-08 MIN MAX
175BR 01-Mar-08 175BR 00-Jan-00 01-Mar-08
197SD 06-Jan-08 197SD 00-Jan-00 15-Feb-08
197SD 15-Jan-08 391SB 00-Jan-00 17-Feb-08
197SD 15-Feb-08
391SB 02-Jan-08
391SB 17-Feb-08


-Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default MIN DATE from Array

Perfect Thanks...

On May 12, 8:17*am, Teethless mama
wrote:
=MIN(IF($B$2:$B$8983=$N2,$K$2:$K$8983))

ctrl+shift+enter, not just enter



" wrote:
Need some help with a MIN formula - the MAX works fine. *He's the
formula:


{=MIN(($B$2:$B$8983=$N2)*($K$2:$K$8983))}
{=MAX(($B$2:$B$8983=$N2)*($K$2:$K$8983))}


I know why I get the answer I get, but don't know how to fix it. *The
formula causes ZEROS when the model doest match the one I'm interested
in, hence the 00-Jan-00 below. *How do I write a formula to give me
the MIN (starting date) for the info in the table?


* *A * * * * * * * *B * * * * * * * * * * * * * * D
E * * * * * * *F
175BR * * *06-Jan-08 * * * * * * * * * * * * * *MIN * * * * * *MAX
175BR * * *01-Mar-08 * * * * * * * 175BR * 00-Jan-00 * * * 01-Mar-08
197SD * * *06-Jan-08 * * * * * * * 197SD * 00-Jan-00 * * * 15-Feb-08
197SD * * *15-Jan-08 * * * * * * * 391SB * 00-Jan-00 * * * 17-Feb-08
197SD * * *15-Feb-08
391SB * * *02-Jan-08
391SB * * *17-Feb-08


-Steve- Hide quoted text -


- Show quoted text -


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
Array Lookup to Find Closest Date and Next Closest Date [email protected] Excel Worksheet Functions 7 November 7th 07 03:04 AM
Conditional date array formula caj Excel Discussion (Misc queries) 1 September 23rd 06 06:42 AM
Conditional Array Formula for date caj Excel Discussion (Misc queries) 5 September 19th 06 09:05 PM
date array shifting kimdnw Excel Discussion (Misc queries) 2 February 8th 06 10:30 PM
Macro to sum array by date Joe Blow Excel Worksheet Functions 5 January 21st 05 11:05 PM


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