Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default difference between the lowest and next lowest value

I have data values in a1, b1 c1 and d1 say 12, 15, 14 & 11 respectively. Now
I need a formula in f1 to look up in a1:d1 and return the difference between
the lowest and next lowest value among these four values. (in this case 11 is
lowest and 12 is next to lowest, so the difference is 1)
Any method in excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default difference between the lowest and next lowest value

On Sun, 14 Dec 2008 06:55:01 -0800, Narnimar
wrote:

I have data values in a1, b1 c1 and d1 say 12, 15, 14 & 11 respectively. Now
I need a formula in f1 to look up in a1:d1 and return the difference between
the lowest and next lowest value among these four values. (in this case 11 is
lowest and 12 is next to lowest, so the difference is 1)
Any method in excel?


Try this formula in cell F1:

=SMALL(A1:D1,2)-SMALL(A1:D1,1)

Hope this helps / Lars-Åke

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default difference between the lowest and next lowest value

Don Guillett,
The data values in a1, b1 c1 and d1. Dont worry I got the solution.



"Don Guillett" wrote:

=SMALL(J8:M8,2)-SMALL(J8:M8,1)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Narnimar" wrote in message
...
I have data values in a1, b1 c1 and d1 say 12, 15, 14 & 11 respectively.
Now
I need a formula in f1 to look up in a1:d1 and return the difference
between
the lowest and next lowest value among these four values. (in this case 11
is
lowest and 12 is next to lowest, so the difference is 1)
Any method in excel?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default difference between the lowest and next lowest value

=SMALL(A1:D1,2)-SMALL(A1:D1,1) or
=SMALL(A1:D1,2)-MIN(A1:D1)
--
David Biddulph

"Narnimar" wrote in message
...
I have data values in a1, b1 c1 and d1 say 12, 15, 14 & 11 respectively.
Now
I need a formula in f1 to look up in a1:d1 and return the difference
between
the lowest and next lowest value among these four values. (in this case 11
is
lowest and 12 is next to lowest, so the difference is 1)
Any method in excel?



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
determine lowest number in several columns and replace lowest numb jerry Excel Worksheet Functions 1 June 18th 08 03:19 AM
Difference Between Highest And Lowest? Saxman Excel Discussion (Misc queries) 4 February 28th 07 02:53 PM
MIN to get three lowest DKY Excel Worksheet Functions 2 February 4th 06 02:40 PM
Range vs. lowest #, 2nd lowest #, 3rd lowest #, etc jwebb Excel Discussion (Misc queries) 2 March 9th 05 12:38 PM
How can I get the lowest price, second lowest etc. from a range o. Robin Excel Worksheet Functions 2 November 9th 04 12:23 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"