#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Difference in values

Have a column with many numbers, need difference between low value and high
value, while ignoring zeros...can this be done? thx.
--
Just because you can, doesn't mean you should.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Difference in values

Try this array formula which cannot use the entire column and must be
entered using ctrl+shift+enter

=MAX(IF(O1:O100<0,O1:O100))-MIN(IF(O1:O100<0,O1:O100))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ayeFayze" wrote in message
...
Have a column with many numbers, need difference between low value and
high
value, while ignoring zeros...can this be done? thx.
--
Just because you can, doesn't mean you should.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Difference in values

=MAX(IF(A1:A1000<0,A1:A1000))-MIN(IF(A1:A1000<0,A1:A1000))

this is an array formula and must be entered with CNTRL-SHFT-ENTER
rather then just
ENTER
--
Gary''s Student - gsnu200766


"ayeFayze" wrote:

Have a column with many numbers, need difference between low value and high
value, while ignoring zeros...can this be done? thx.
--
Just because you can, doesn't mean you should.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Difference in values

Very much obliged...no way I would have figured that out...
--
Just because you can, doesn''t mean you should.


"Gary''s Student" wrote:

=MAX(IF(A1:A1000<0,A1:A1000))-MIN(IF(A1:A1000<0,A1:A1000))

this is an array formula and must be entered with CNTRL-SHFT-ENTER
rather then just
ENTER
--
Gary''s Student - gsnu200766


"ayeFayze" wrote:

Have a column with many numbers, need difference between low value and high
value, while ignoring zeros...can this be done? thx.
--
Just because you can, doesn't mean you should.

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
Get the difference of two values which are on the same row , on t. Piya Charts and Charting in Excel 0 October 15th 07 02:29 PM
show difference between weights with correct pos and neg values Sharon Durow Excel Worksheet Functions 2 January 30th 06 05:15 PM
How can I minimalize the difference between extreme values on a c. kitkat Charts and Charting in Excel 1 April 10th 05 09:11 PM
How do you find the difference between two time values when one i. tubroh730 Excel Discussion (Misc queries) 1 March 25th 05 04:32 PM
How do you calculate the difference between two values within a p. emlouise Excel Discussion (Misc queries) 2 December 10th 04 03:13 AM


All times are GMT +1. The time now is 03:52 PM.

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"