ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if formula (https://www.excelbanter.com/excel-discussion-misc-queries/200107-if-formula.html)

samoan

if formula
 
have column of numbers. at bottom of column, want cell to display last number
in column. can't use max cause last number may be less than number above.
could use =if but can't next more than 7 formulas. possibility of 30 numbers
in column.


--
Tx,
Samoan

Don Guillett

if formula
 
try this where you are trying to match any number larger than possible in
your data.
in cell b31
INDEX(B1:B30,MATCH(99999999,B1:B30))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"samoan" wrote in message
...
have column of numbers. at bottom of column, want cell to display last
number
in column. can't use max cause last number may be less than number above.
could use =if but can't next more than 7 formulas. possibility of 30
numbers
in column.


--
Tx,
Samoan



T. Valko

if formula
 
Assume your numbers are in the range A1:A10

=LOOKUP(1E100,A1:A10)

--
Biff
Microsoft Excel MVP


"samoan" wrote in message
...
have column of numbers. at bottom of column, want cell to display last
number
in column. can't use max cause last number may be less than number above.
could use =if but can't next more than 7 formulas. possibility of 30
numbers
in column.


--
Tx,
Samoan




Ron Coderre

if formula
 
With values in A2:A100

This formula returns the last numeric value in that range:
=LOOKUP(10^99,A2:A100)

...or...if there may not be any numbers...this formula has an error check:
=IF(COUNT(A2:A100),LOOKUP(10^99,A2:A100),"")

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"samoan" wrote:

have column of numbers. at bottom of column, want cell to display last number
in column. can't use max cause last number may be less than number above.
could use =if but can't next more than 7 formulas. possibility of 30 numbers
in column.


--
Tx,
Samoan



All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com