LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default removing a cell from an array

Hello,

I am trying to make a formula that will find the largest and second largest
numbers from an array. The largest is easy as it can be done with the max
function. The second largest is not so easy. Is there any way to subtract a
cell from an array, I have tried the following two variations to no avail.

let A2:A10 be my array
let A12 be =max(A2:A10-max(A2:A10))
and then =max(A2:A10-index(A2:A10,Match(A12,A2:A10,1)))

any ideas?
 
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
Prevent cell/array references from changing when altering/moving thecell/array nme Excel Discussion (Misc queries) 1 September 19th 08 01:53 PM
Removing a formula from a cell once the result is in the cell jpolzner Excel Worksheet Functions 2 April 15th 07 02:36 PM
Removing last character in a cell Megadrone Excel Worksheet Functions 0 November 30th 06 06:23 PM
Removing the €œ from a cell MarkM Excel Worksheet Functions 2 February 9th 05 04:13 PM
Removing a space within a cell JERRY8 Excel Worksheet Functions 3 December 2nd 04 03:22 AM


All times are GMT +1. The time now is 09:53 PM.

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"