Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
barbdee
 
Posts: n/a
Default how to write function to find max deviation from specific number .

how do I write a function to find the maximum deviation from a specific
number (say 25, for example) in a worksheet of numbers above and below 25
(say cells d7:r249, for example)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default how to write function to find max deviation from specific number .

Hi!

Try this:

A1 = 25

=MAX(ABS(MAX(D7:R249)-A1),ABS(MIN(D7:R249)-A1))

Biff

"barbdee" wrote in message
...
how do I write a function to find the maximum deviation from a specific
number (say 25, for example) in a worksheet of numbers above and below 25
(say cells d7:r249, for example)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jerry W. Lewis
 
Posts: n/a
Default how to write function to find max deviation from specific number .

=MAX(ABS(D7:R249-25))
array entered (Ctrl-Shift-Enter)

Jerry

barbdee wrote:

how do I write a function to find the maximum deviation from a specific
number (say 25, for example) in a worksheet of numbers above and below 25
(say cells d7:r249, for example)


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
Find a "9" within a range using a function (T/F) R. Choate Excel Discussion (Misc queries) 9 November 5th 05 04:35 PM
to find number of days between 2 dates using vba code in excel sjayar Excel Discussion (Misc queries) 3 November 3rd 05 06:24 AM
How to use FV function to find a payment to reach a specific goal Duke20 Excel Worksheet Functions 2 October 9th 05 12:43 AM
What function would let me find Batting Averages? pertimesco Excel Worksheet Functions 0 March 1st 05 10:11 AM
#VALUE in cell but pop up function box show right number Ted Dalton Excel Discussion (Misc queries) 1 December 14th 04 03:15 PM


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