ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Range of numbers equation (https://www.excelbanter.com/excel-discussion-misc-queries/65208-range-numbers-equation.html)

nastech

Range of numbers equation
 
Is there a way to find the lowest & highest number in a range of columns, and
perform a calculation on them, e.g. %change (to-fm)/fm% Thanks

JE McGimpsey

Range of numbers equation
 
What relationship do "to" and "fm" have to the lowest and highest number?

If "to" is the lowest number in columns A:J, and "fm" is the highest
number in columns A:J:

=MIN(A:J)/MAX(A:J) - 1

formatted as a percentage.

In article ,
"nastech" wrote:

Is there a way to find the lowest & highest number in a range of columns, and
perform a calculation on them, e.g. %change (to-fm)/fm% Thanks


nastech

Range of numbers equation
 
thanks!

"JE McGimpsey" wrote:

What relationship do "to" and "fm" have to the lowest and highest number?

If "to" is the lowest number in columns A:J, and "fm" is the highest
number in columns A:J:

=MIN(A:J)/MAX(A:J) - 1

formatted as a percentage.

In article ,
"nastech" wrote:

Is there a way to find the lowest & highest number in a range of columns, and
perform a calculation on them, e.g. %change (to-fm)/fm% Thanks



nastech

Range of numbers equation
 
thanks again. :) that was good, found that a similar equation I have, is
using up alot of memory in my file. Equation is for same range, but using
"choices" of 2, 3, or 4 periods of input (so I repeated the same equation, 4
times: 1st time is if end of day: 1st column emptied): was wondering if
there might be a simpler way to calculate? thanks

=IF(AK9="","",
IF(AND(AL9<"",COUNTA(AL9:AM9)<0,OR($O$2={"",".", 2})),IF(AK9AVERAGE(AL9:AM9),"U",IF(AK9<AVERAGE(AL 9:AM9),"D","F")),
IF(AND(COUNTA(AM9:AN9)<0,OR($O$2={"",".",2})),IF( AK9AVERAGE(AM9:AN9),"U",IF(AK9<AVERAGE(AM9:AN9)," D","F")),
IF(AND(COUNTA(AL9:AN9)<0,$O$2=3),IF(AK9AVERAGE(A L9:AN9),"U",IF(AK9<AVERAGE(AL9:AN9),"D","F")),
IF(AND(COUNTA(AL9:AO9)<0,$O$2=4),IF(AK9AVERAGE(A L9:AO9),"U",IF(AK9<AVERAGE(AL9:AO9),"D","F")),"")) )))



"JE McGimpsey" wrote:

What relationship do "to" and "fm" have to the lowest and highest number?

If "to" is the lowest number in columns A:J, and "fm" is the highest
number in columns A:J:

=MIN(A:J)/MAX(A:J) - 1

formatted as a percentage.

In article ,
"nastech" wrote:

Is there a way to find the lowest & highest number in a range of columns, and
perform a calculation on them, e.g. %change (to-fm)/fm% Thanks




All times are GMT +1. The time now is 08:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com