Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default array formulas using MIN MAX

I have a worksheet with the following layout:
A B C D
Rating Year Rate Override Rate
Row1 1 2009 4% 2.5%
Row2 1 2010 3%
Row3 3 2009 6%
Row4 1 2010 4%

I'm trying to set up formuals to populate the following:
Titles---------- Forumlas----
Rating Year Min Max
1 2009 2.5% 6.0%
1 2010 3.0% 3.0%

I can't figure out how to select only one column's value for calculating the
Min/Max. D should always replace C, if D is populated. Otherwise only C
should be considered. File is much bigger than this, but an example formula
I was trying to work with (which is not properly calculating the MIN) is:

={MIN(MIN((IF((a1:a4="1")*(b1:b4=2009)*(d1:d4=0),c 1:c4)),MIN((IF((a1:a4="1")*(b1:b4=2009)*(d1:d4<0) ,d1:d4)))))}

Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default array formulas using MIN MAX

shouldn't MAX for Rating 1 in 2009 equal 4%?
shouldn't MAX for Rating 1 in 2010 equal 4%, too?

On 17 Gru, 05:01, Christi wrote:
I have a worksheet with the following layout:
* * * * * *A * * * * * * * *B * * * * * * * * * *C * * * * * * * * * * *D
* * * * *Rating * * * * Year * * * * * * * *Rate * * * * * * * * Override Rate
Row1 * * 1 * * * * * * * * 2009 * * * * * * * 4% * * * * * * * * * 2.5%
Row2 * * 1 * * * * * * * * 2010 * * * * * * * 3% * * * * * * * * *
Row3 * * 3 * * * * * * * * 2009 * * * * * * * 6% * * * * * * * * *
Row4 * * 1 * * * * * * * * 2010 * * * * * * * 4% *

I'm trying to set up formuals to populate the following:
Titles---------- * * * *Forumlas----
Rating * * Year * * * * Min * * * Max
1 * * * * * * 2009 * * * *2.5% * *6.0%
1 * * * * * * 2010 * * * *3.0% * *3.0%

I can't figure out how to select only one column's value for calculating the
Min/Max. *D should always replace C, if D is populated. *Otherwise only C
should be considered. *File is much bigger than this, but an example formula
I was trying to work with (which is not properly calculating the MIN) is:

={MIN(MIN((IF((a1:a4="1")*(b1:b4=2009)*(d1:d4=0),c 1:c4)),MIN((IF((a1:a4="1"*)*(b1:b4=2009)*(d1:d4<0 ),d1:d4)))))}

Can anyone help? * * * * * * * *


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default array formulas using MIN MAX

Whoops. Yes, I had some typos when I was simplifying mu jumbo worksheet.
Sorry for the confusion. With what I have here, yes, it should be 4%.

The formula still doesn't work, because for if you substitute 2010 for 2009,
it will arrive at a min of 0%, when the Min is 3%.

"Jarek Kujawa" wrote:

shouldn't MAX for Rating 1 in 2009 equal 4%?
shouldn't MAX for Rating 1 in 2010 equal 4%, too?

On 17 Gru, 05:01, Christi wrote:
I have a worksheet with the following layout:
A B C D
Rating Year Rate Override Rate
Row1 1 2009 4% 2.5%
Row2 1 2010 3%
Row3 3 2009 6%
Row4 1 2010 4%

I'm trying to set up formuals to populate the following:
Titles---------- Forumlas----
Rating Year Min Max
1 2009 2.5% 6.0%
1 2010 3.0% 3.0%

I can't figure out how to select only one column's value for calculating the
Min/Max. D should always replace C, if D is populated. Otherwise only C
should be considered. File is much bigger than this, but an example formula
I was trying to work with (which is not properly calculating the MIN) is:

={MIN(MIN((IF((a1:a4="1")*(b1:b4=2009)*(d1:d4=0),c 1:c4)),MIN((IF((a1:a4="1"Â*)*(b1:b4=2009)*(d1:d4< 0),d1:d4)))))}

Can anyone help?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default array formulas using MIN MAX

On Wed, 17 Dec 2008 10:29:02 -0800, Christi
wrote:

Whoops. Yes, I had some typos when I was simplifying mu jumbo worksheet.
Sorry for the confusion. With what I have here, yes, it should be 4%.

The formula still doesn't work, because for if you substitute 2010 for 2009,
it will arrive at a min of 0%, when the Min is 3%.

"Jarek Kujawa" wrote:

shouldn't MAX for Rating 1 in 2009 equal 4%?
shouldn't MAX for Rating 1 in 2010 equal 4%, too?

On 17 Gru, 05:01, Christi wrote:
I have a worksheet with the following layout:
A B C D
Rating Year Rate Override Rate
Row1 1 2009 4% 2.5%
Row2 1 2010 3%
Row3 3 2009 6%
Row4 1 2010 4%

I'm trying to set up formuals to populate the following:
Titles---------- Forumlas----
Rating Year Min Max
1 2009 2.5% 6.0%
1 2010 3.0% 3.0%

I can't figure out how to select only one column's value for calculating the
Min/Max. D should always replace C, if D is populated. Otherwise only C
should be considered. File is much bigger than this, but an example formula
I was trying to work with (which is not properly calculating the MIN) is:

={MIN(MIN((IF((a1:a4="1")*(b1:b4=2009)*(d1:d4=0),c 1:c4)),MIN((IF((a1:a4="1"*)*(b1:b4=2009)*(d1:d4<0 ),d1:d4)))))}

Can anyone help?





Try taking away all " from the formula and see if that helps.
Also, the - must be a typo. It should be removed if it is there.

When I make these changes I get 2.5% as a result.

The formula can also be simplified a bit. The following will give the
same result

={MIN(IF((A1:A4=1)*(B1:B4=2009),IF(D1:D4<"",D1:D4 ,C1:C4)))}

Hope this helps / Lars-Åke

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
Formulas with-an an array Dave Excel Worksheet Functions 2 December 12th 07 03:24 PM
Help With Array Formulas... Carl Excel Discussion (Misc queries) 6 February 12th 07 07:51 PM
Array Formulas Peledon Excel Worksheet Functions 2 February 9th 07 12:21 PM
array formulas Nader Excel Worksheet Functions 16 November 14th 06 03:32 PM
How do I sum a row of array formulas? Rob Az Excel Worksheet Functions 1 February 10th 06 10:45 PM


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