Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Don is offline
external usenet poster
 
Posts: 487
Default Choose last number in a column

I have a formula where one of the components is the last number in a column.
I need to know how to always call the last value in a column that will be
added to every day.
--
Don Rountree
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Choose last number in a column

One way:

=LOOKUP(100^10,A:A)

Biff

"Don" wrote in message
...
I have a formula where one of the components is the last number in a
column.
I need to know how to always call the last value in a column that will be
added to every day.
--
Don Rountree



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Don is offline
external usenet poster
 
Posts: 487
Default Choose last number in a column

Thank you. Just so that I know, what does the 100^10 mean? If you don't
mind responding one more time.
--
Don Rountree


"T. Valko" wrote:

One way:

=LOOKUP(100^10,A:A)

Biff

"Don" wrote in message
...
I have a formula where one of the components is the last number in a
column.
I need to know how to always call the last value in a column that will be
added to every day.
--
Don Rountree




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Choose last number in a column

It means 100 to the 10th power or 1 followed by 20 0s!
100,000,000,000,000,000,000

The way that LOOKUP works is if the lookup_value is greater than any value
in the lookup_vector it will return the *last* value that is less than the
lookup_value. There's a pretty good chance that no number in your range is
greater than 100^10 so the result is the *last* number in the range.

Basically, we use an arbitrary gigantic number like 100^10 when we don't
know what the possible values might be. All you really need is a number that
is greater than the highest number in your range. For example, suppose you
were working with bowling scores. The highest possible bowling score is 300
so the highest possible number in your range can only be 300. So you'd only
need a lookup_value of 301 for the formula to work:

=LOOKUP(301,A:A)

You could also do something like this:

=LOOKUP(MAX(A:A)+1,A:A)

But you really don't need to use another function call and calculation when
it's easier to just use something like 301 or 100^10.

Biff

"Don" wrote in message
...
Thank you. Just so that I know, what does the 100^10 mean? If you don't
mind responding one more time.
--
Don Rountree


"T. Valko" wrote:

One way:

=LOOKUP(100^10,A:A)

Biff

"Don" wrote in message
...
I have a formula where one of the components is the last number in a
column.
I need to know how to always call the last value in a column that will
be
added to every day.
--
Don Rountree






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
what function do I use for excel to choose the 2nd highest number ematboy Excel Worksheet Functions 2 April 11th 07 01:57 AM
Choose Column in Calculation martins New Users to Excel 2 April 3rd 06 06:14 PM
how i choose the column from a combo box Alberto Vargas Excel Discussion (Misc queries) 4 July 22nd 05 11:07 PM
How can I choose top two numbers in a column? Doug Excel Worksheet Functions 3 May 1st 05 11:04 PM
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 06:06 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"