Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
my excel skills must be getting rusty as i do not use it as heavily anymore.
but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This would set x to the value of the bottom used cell in Col A
Sub LastCellInColumn() Range("A65536").End(xlUp).Select x = ActiveCell.Value End Sub "Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
how about something without a vba function.
"Mike" wrote: This would set x to the value of the bottom used cell in Col A Sub LastCellInColumn() Range("A65536").End(xlUp).Select x = ActiveCell.Value End Sub "Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try...
=LOOKUP(2,1/(A2:A100<""),A2:A100) Hope this helps! In article , Spencer wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See he http://support.microsoft.com/default.aspx/kb/152407
Dave -- Brevity is the soul of wit. "Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=LOOKUP(9.99999999999999E+307,C:C)
"Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That's only last numeric value, not last value.
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Teethless mama" wrote in message ... =LOOKUP(9.99999999999999E+307,C:C) "Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How bout the formula for finding the first row in a column that
contains data,the opposite of this solution. Teethless mama wrote: =LOOKUP(9.99999999999999E+307,C:C) "Spencer" wrote: my excel skills must be getting rusty as i do not use it as heavily anymore. but can anyone help me with a function. i need to return the value of the last cell in a column that contains data. thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro question | Excel Worksheet Functions | |||
Inputting data to one worksheet for it effect another | Excel Discussion (Misc queries) | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
Positioning Numeric Values Resulting from 6 Column Array Formula | Excel Worksheet Functions | |||
Excel Macro to Copy & Paste | Excel Worksheet Functions |