Formula to find 2nd largest in a range including negatives, ignoring zeros

RUMPOLE

New Member
Joined
Oct 4, 2017
Messages
25
Hi

I'm looking for a formula to find the 2nd largest in a range including negatives, but ignoring zero values.

eg, range of values is

8
0
-2
0
-6
-8
-9

I have tried to calculate a formula which gives me -2 as the second largest value, but had no luck.

Can anyone kindly assist?

Kind Regards

RUMPOLE
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi Aladin

Thanks for your reply.

I tried this but no luck- got #num in the cell.

When you say control shift enter, how does that affect the formula/

Sorry I'm a bit clueless there

Kind Regards
RUMPOLE
 
Upvote 0
Control+shift+enter means: Press down the shift and the control keys at the same time while you hit the enter key. If done correctly, Excel itself puts a pair of { and } around the formula in recognition.
 
Upvote 0
Hi Aladin

Thanks for your reply.

Still doesnt work unfortunately- the formula suggested returns 0

I had no luck using ctrl+shift+enter; didnt make any change to the formula unfortunately.

Any other suggestions?!

Kind Regards
Matthew
 
Upvote 0
Pressing CTRL + SHIFT + ENTER didn't change the formula at all, it didn't put {brackets} around it ?

Note, you can't do the CTRL+SHIFT+ENTER after the fact of entering the formula.
You have to do it at the time the formula is entered.
If the formula is already there, double click on that cell as if to edit it.
THEN press CTRL + SHIFT + ENTER

If this still doesn't produce the {brackets}...

Are you actually using Excel? Or some other Excel 'like' program, such as google sheets or something?
 
Upvote 0
Last edited:
Upvote 0
Pressing CTRL + SHIFT + ENTER didn't change the formula at all, it didn't put {brackets} around it ?

Note, you can't do the CTRL+SHIFT+ENTER after the fact of entering the formula.
You have to do it at the time the formula is entered.
If the formula is already there, double click on that cell as if to edit it.
THEN press CTRL + SHIFT + ENTER

If this still doesn't produce the {brackets}...

Are you actually using Excel? Or some other Excel 'like' program, such as google sheets or something?

That works, thanks very much Jonmo1!
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top