Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I get excel to choose the second to last # in a series?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default How do I get excel to choose the second to last # in a series?

This formula returns the 2nd largest number from A1:A100
=LARGE(A1:A100,2)

Is that something you can work with?

Regards,

Ron
Microsoft MVP (Excel)


"coolerthancool" wrote in message
...



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default How do I get excel to choose the second to last # in a series?

On Sun, 15 Jul 2007 17:10:00 -0700, coolerthancool
wrote:


"Series" can have a number of different meanings.

If your series is listed in column A, and there are no blanks, this formula
will return the second to last entry:

=INDEX(A:A,COUNT(A:A)-1)

If your series is in column A, and there might be blanks or non-numbers listed,
then this **array-entered** formula will return the second to last number.

To array-enter a formula, after typing it into the formula bar, hold down
<ctrl<shift while hitting <enter. Excel will place braces {...} around the
formula.

=INDEX(A:A,LARGE(ROW(A1:A65535)*ISNUMBER(A1:A65535 ),2))
--ron
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I get excel to choose the second to last # in a series?

No. I don't want second largest. I want second to last.

If there are a series of numbers: 1, 2, 4, 5, 5

The second to largest is 5 because 5 and 5 are two separate #'s. I only
want to identify the second (or 3rd or 4th to last).

"Ron Coderre" wrote:

This formula returns the 2nd largest number from A1:A100
=LARGE(A1:A100,2)

Is that something you can work with?

Regards,

Ron
Microsoft MVP (Excel)


"coolerthancool" wrote in message
...




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,202
Default How do I get excel to choose the second to last # in a series?

Before you protest any further, try the formula out that Ron posted (for the
numbers you are showing, the 2nd largest is the second to the last).

Rick


"coolerthancool" wrote in message
...
No. I don't want second largest. I want second to last.

If there are a series of numbers: 1, 2, 4, 5, 5

The second to largest is 5 because 5 and 5 are two separate #'s. I only
want to identify the second (or 3rd or 4th to last).

"Ron Coderre" wrote:

This formula returns the 2nd largest number from A1:A100
=LARGE(A1:A100,2)

Is that something you can work with?

Regards,

Ron
Microsoft MVP (Excel)


"coolerthancool" wrote in
message
...





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
Can i use the IF function in a chart to choose its data series? Edd UK Charts and Charting in Excel 2 April 2nd 23 07:57 PM
excel chart maximum series should more than 255 series kameking Charts and Charting in Excel 5 August 22nd 10 10:52 AM
Set up macro in Excel to choose active row? kerri Excel Worksheet Functions 3 August 18th 06 01:44 AM
how do I change a line series to a column series in excel? Mati Charts and Charting in Excel 1 May 12th 05 09:32 AM
in excel, how do I choose a column and add 20% servmarkpdx Excel Worksheet Functions 1 November 18th 04 07:36 PM


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