Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Range less than/.. min/max to a negative number..

Hello, I have a percent change equation with min/max being used that can not
figure out the easy way for showing it is a negative. (maybe shorter way for
positive half as well?) thanks

idea, not quite working ("-"& makes number text: get a long text number,
not rounded up/dn; min/max is not the same result)

=IF(OR(BI9="",COUNTA(BJ9:BN9)=0),"",
IF(BI9<AVERAGE(BJ9:BN9),"-"&MAX(BI9:BN9)/MIN(BI9:BN9)%-100,MAX(BI9:BN9)/MIN(BI9:BN9)%-100))
  #2   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Range less than/.. min/max to a negative number..

or is min / max, getting a different number supposed to be correct??, as in:
=IF(OR(BI9="",COUNTA(BJ9:BN9)=0),"",
IF(BI9<AVERAGE(BJ9:BN9),MIN(BI9:BN9)/MAX(BI9:BN9)%-100,MAX(BI9:BN9)/MIN(BI9:BN9)%-100))

"nastech" wrote:

Hello, I have a percent change equation with min/max being used that can not
figure out the easy way for showing it is a negative. (maybe shorter way for
positive half as well?) thanks

idea, not quite working ("-"& makes number text: get a long text number,
not rounded up/dn; min/max is not the same result)

=IF(OR(BI9="",COUNTA(BJ9:BN9)=0),"",
IF(BI9<AVERAGE(BJ9:BN9),"-"&MAX(BI9:BN9)/MIN(BI9:BN9)%-100,MAX(BI9:BN9)/MIN(BI9:BN9)%-100))

  #3   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Range less than/.. min/max to a negative number..

Hi, think found answer, thought had tried this already.. but just having a
negative sigh "-" surround entire variable did inverse the item. too many
numbers,, don't know if on right track anyways: 2 equations makes
deviation.. max/min or min/max, using: ("-" sign now working, thanks).

=IF(OR(BI9="",COUNTA(BJ9:BN9)=0),"",IF(BI9<AVERAGE (BJ9:BN9),-(MAX(BI9:BN9)/MIN(BI9:BN9)%-100),MAX(BI9:BN9)/MIN(BI9:BN9)%-100))

"nastech" wrote:

Hello, I have a percent change equation with min/max being used that can not
figure out the easy way for showing it is a negative. (maybe shorter way for
positive half as well?) thanks

idea, not quite working ("-"& makes number text: get a long text number,
not rounded up/dn; min/max is not the same result)

=IF(OR(BI9="",COUNTA(BJ9:BN9)=0),"",
IF(BI9<AVERAGE(BJ9:BN9),"-"&MAX(BI9:BN9)/MIN(BI9:BN9)%-100,MAX(BI9:BN9)/MIN(BI9:BN9)%-100))

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
Converting Negative Number to Postive number Tedd Excel Worksheet Functions 7 September 2nd 09 04:34 PM
count number of occurances of a word in a range John Davies Excel Worksheet Functions 3 February 24th 06 01:46 PM
How to sum data that is only within a specific number range? ryesworld Excel Worksheet Functions 3 November 15th 05 10:23 PM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 06:47 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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