Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Finding MIN value in a column between Two Dates in different columns

Hello,
Hope everybody is doing well. I am trying to find a solution to the
problem I am having for some time. I seem to have found half of the
solution from one of the threads and stuck finding the other half.

Here is what I have:

ColumnA ColumnB MIN MAX
----------------------------------------------------------------------------
Date1 Date2 ???? MAX(INDEX)
*(see below)

ColumnC ColumnD
-------------------------------------------------------
Date1 value1
Date1a value1a
Date1b value1b
Date1c value1c
Date1d value1d
Date1e value1e
Date2 value2
Date3 value3
Date4 value4
Date5 value5

Problem: To find MIN and MAX value (Column D) between dates Date1 and
Date2 (Column A&B)
I have the solution for MAX from one of the threads. I am using,
=MAX(INDEX((A2<=$C$2:$C$7)*(B2=$C$2:$C$7)*($D$1:$ D$7),0)) which
gives
the maximum of ColumnD between Date1 and Date2. (I am still trying to
understand how this works.)
But, if I use =MIN(INDEX((!$C$2:$C$7=A2)*($C$2:$C$7<=B2)*($D$1: $D
$7),
0)) for MIN, I am getting 0 (there are no 0s or -ve numbers in
ColumnD). Does anybody know how I can resolve this?

I really appreciate help regarding this.

Thanks and have a wonderful day.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding MIN value in a column between Two Dates in different columns

Try this array formula** :

=MIN(IF((A2<=$C$2:$C$7)*(B2=$C$2:$C$7),$D$1:$D$7) )

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"ML Srini" wrote in message
ups.com...
Hello,
Hope everybody is doing well. I am trying to find a solution to the
problem I am having for some time. I seem to have found half of the
solution from one of the threads and stuck finding the other half.

Here is what I have:

ColumnA ColumnB MIN MAX
----------------------------------------------------------------------------
Date1 Date2 ???? MAX(INDEX)
*(see below)

ColumnC ColumnD
-------------------------------------------------------
Date1 value1
Date1a value1a
Date1b value1b
Date1c value1c
Date1d value1d
Date1e value1e
Date2 value2
Date3 value3
Date4 value4
Date5 value5

Problem: To find MIN and MAX value (Column D) between dates Date1 and
Date2 (Column A&B)
I have the solution for MAX from one of the threads. I am using,
=MAX(INDEX((A2<=$C$2:$C$7)*(B2=$C$2:$C$7)*($D$1:$ D$7),0)) which
gives
the maximum of ColumnD between Date1 and Date2. (I am still trying to
understand how this works.)
But, if I use =MIN(INDEX((!$C$2:$C$7=A2)*($C$2:$C$7<=B2)*($D$1: $D
$7),
0)) for MIN, I am getting 0 (there are no 0s or -ve numbers in
ColumnD). Does anybody know how I can resolve this?

I really appreciate help regarding this.

Thanks and have a wonderful day.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Finding MIN value in a column between Two Dates in different columns

Hello,

Thank you very much for your help. It worked!!!!

On Oct 5, 1:57 pm, "T. Valko" wrote:
Try this array formula** :

=MIN(IF((A2<=$C$2:$C$7)*(B2=$C$2:$C$7),$D$1:$D$7) )

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

"ML Srini" wrote in message

ups.com...



Hello,
Hope everybody is doing well. I am trying to find a solution to the
problem I am having for some time. I seem to have found half of the
solution from one of the threads and stuck finding the other half.


Here is what I have:


ColumnA ColumnB MIN MAX
---------------------------------------------------------------------------*-
Date1 Date2 ???? MAX(INDEX)
*(see below)


ColumnC ColumnD
-------------------------------------------------------
Date1 value1
Date1a value1a
Date1b value1b
Date1c value1c
Date1d value1d
Date1e value1e
Date2 value2
Date3 value3
Date4 value4
Date5 value5


Problem: To find MIN and MAX value (Column D) between dates Date1 and
Date2 (Column A&B)
I have the solution for MAX from one of the threads. I am using,
=MAX(INDEX((A2<=$C$2:$C$7)*(B2=$C$2:$C$7)*($D$1:$ D$7),0)) which
gives
the maximum of ColumnD between Date1 and Date2. (I am still trying to
understand how this works.)
But, if I use =MIN(INDEX((!$C$2:$C$7=A2)*($C$2:$C$7<=B2)*($D$1: $D
$7),
0)) for MIN, I am getting 0 (there are no 0s or -ve numbers in
ColumnD). Does anybody know how I can resolve this?


I really appreciate help regarding this.


Thanks and have a wonderful day.- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Finding MIN value in a column between Two Dates in different columns

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"ML Srini" wrote in message
ps.com...
Hello,

Thank you very much for your help. It worked!!!!

On Oct 5, 1:57 pm, "T. Valko" wrote:
Try this array formula** :

=MIN(IF((A2<=$C$2:$C$7)*(B2=$C$2:$C$7),$D$1:$D$7) )

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

"ML Srini" wrote in message

ups.com...



Hello,
Hope everybody is doing well. I am trying to find a solution to the
problem I am having for some time. I seem to have found half of the
solution from one of the threads and stuck finding the other half.


Here is what I have:


ColumnA ColumnB MIN MAX
---------------------------------------------------------------------------*-
Date1 Date2 ???? MAX(INDEX)
*(see below)


ColumnC ColumnD
-------------------------------------------------------
Date1 value1
Date1a value1a
Date1b value1b
Date1c value1c
Date1d value1d
Date1e value1e
Date2 value2
Date3 value3
Date4 value4
Date5 value5


Problem: To find MIN and MAX value (Column D) between dates Date1 and
Date2 (Column A&B)
I have the solution for MAX from one of the threads. I am using,
=MAX(INDEX((A2<=$C$2:$C$7)*(B2=$C$2:$C$7)*($D$1:$ D$7),0)) which
gives
the maximum of ColumnD between Date1 and Date2. (I am still trying to
understand how this works.)
But, if I use =MIN(INDEX((!$C$2:$C$7=A2)*($C$2:$C$7<=B2)*($D$1: $D
$7),
0)) for MIN, I am getting 0 (there are no 0s or -ve numbers in
ColumnD). Does anybody know how I can resolve this?


I really appreciate help regarding this.


Thanks and have a wonderful day.- 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
Finding Certain Dates T_Sr via OfficeKB.com New Users to Excel 2 February 11th 07 01:09 AM
Help finding dates July thru June lawdoggy Excel Worksheet Functions 0 February 7th 06 08:26 PM
Finding the Latest Date from Several Dates in Different Columns sdupont Excel Discussion (Misc queries) 4 December 30th 05 08:50 PM
Finding data by dates [email protected] Excel Worksheet Functions 3 October 4th 05 07:54 AM
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM


All times are GMT +1. The time now is 11:06 AM.

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"