Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
68magnolia71
 
Posts: n/a
Default Last value in a column

Good evening everybody,

Probably the question has been asked before. My problem is the following,
I'm looking to retrieve the last value in a column. And I have no formula
that is running when the values in the colums are based on a calculation and
if there a cell in this column underneath the last filled cell, that has not
yet returned its value. A clumsy solution is to suppress all the calculations
below the last calculated cell and to reenter the formula in the next cell
when necessary. Has anyone a idea how tio solve this problem?
Here the formula I use for "normal" columns
INDEX(Tab;MAX(LIGNE(Tab)*NON(ESTVIDE(Tab)))-LIGNE(Tab)+1)
in french.
INDEX(Tab;MAX(LINE(Tab)*NOT(ISEMPTY(Tab)))-LINE(Tab)+1) as a translation
with "tab" the name of the zone.

Thank you for any help.

68magnolia71
  #2   Report Post  
Gary Brown
 
Posts: n/a
Default

What is the 'Line' function?
Gary

"68magnolia71" wrote:

Good evening everybody,

Probably the question has been asked before. My problem is the following,
I'm looking to retrieve the last value in a column. And I have no formula
that is running when the values in the colums are based on a calculation and
if there a cell in this column underneath the last filled cell, that has not
yet returned its value. A clumsy solution is to suppress all the calculations
below the last calculated cell and to reenter the formula in the next cell
when necessary. Has anyone a idea how tio solve this problem?
Here the formula I use for "normal" columns
INDEX(Tab;MAX(LIGNE(Tab)*NON(ESTVIDE(Tab)))-LIGNE(Tab)+1)
in french.
INDEX(Tab;MAX(LINE(Tab)*NOT(ISEMPTY(Tab)))-LINE(Tab)+1) as a translation
with "tab" the name of the zone.

Thank you for any help.

68magnolia71

  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

68magnolia71 wrote:
Good evening everybody,

Probably the question has been asked before. My problem is the following,
I'm looking to retrieve the last value in a column. And I have no formula
that is running when the values in the colums are based on a calculation and
if there a cell in this column underneath the last filled cell, that has not
yet returned its value. A clumsy solution is to suppress all the calculations
below the last calculated cell and to reenter the formula in the next cell
when necessary. Has anyone a idea how tio solve this problem?
Here the formula I use for "normal" columns
INDEX(Tab;MAX(LIGNE(Tab)*NON(ESTVIDE(Tab)))-LIGNE(Tab)+1)
in french.
INDEX(Tab;MAX(LINE(Tab)*NOT(ISEMPTY(Tab)))-LINE(Tab)+1) as a translation
with "tab" the name of the zone.

Thank you for any help.

68magnolia71


The following would return the last numeric value:

=LOOKUP(9.99999999999999E+307,A:A)

=RECHERCHE(9,99999999999999E+307;A:A)

  #4   Report Post  
68magnolia71
 
Posts: n/a
Default

..Hello Gary,

In the "line" (row) I may have in column B any function like
=IF(A2="";"";A1+A2) , then copied down the comlumn to A100 for example. What
I need is the value of the last filled cell in the column A. Some rows may
remain empty since there is no value in An, some cells may even have a text
written afterwards.
Hopefully it will help you to fix the problem

Anyway thaks a lot.

68magnolia71

"Gary Brown" wrote:

What is the 'Line' function?
Gary

"68magnolia71" wrote:

Good evening everybody,

Probably the question has been asked before. My problem is the following,
I'm looking to retrieve the last value in a column. And I have no formula
that is running when the values in the colums are based on a calculation and
if there a cell in this column underneath the last filled cell, that has not
yet returned its value. A clumsy solution is to suppress all the calculations
below the last calculated cell and to reenter the formula in the next cell
when necessary. Has anyone a idea how tio solve this problem?
Here the formula I use for "normal" columns
INDEX(Tab;MAX(LIGNE(Tab)*NON(ESTVIDE(Tab)))-LIGNE(Tab)+1)
in french.
INDEX(Tab;MAX(LINE(Tab)*NOT(ISEMPTY(Tab)))-LINE(Tab)+1) as a translation
with "tab" the name of the zone.

Thank you for any help.

68magnolia71

  #5   Report Post  
68magnolia71
 
Posts: n/a
Default

Hello Aladin,

Thank you for the formulas. I will put them in place and be back to you.
Also thanks for the translation. Not always easy and hard to find someone
with a english version of Excel. It's everything but plain english.

68magnolia71

"Aladin Akyurek" wrote:

68magnolia71 wrote:
Good evening everybody,

Probably the question has been asked before. My problem is the following,
I'm looking to retrieve the last value in a column. And I have no formula
that is running when the values in the colums are based on a calculation and
if there a cell in this column underneath the last filled cell, that has not
yet returned its value. A clumsy solution is to suppress all the calculations
below the last calculated cell and to reenter the formula in the next cell
when necessary. Has anyone a idea how tio solve this problem?
Here the formula I use for "normal" columns
INDEX(Tab;MAX(LIGNE(Tab)*NON(ESTVIDE(Tab)))-LIGNE(Tab)+1)
in french.
INDEX(Tab;MAX(LINE(Tab)*NOT(ISEMPTY(Tab)))-LINE(Tab)+1) as a translation
with "tab" the name of the zone.

Thank you for any help.

68magnolia71


The following would return the last numeric value:

=LOOKUP(9.99999999999999E+307,A:A)

=RECHERCHE(9,99999999999999E+307;A:A)


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
How do I sort by row instead of by column? PercivalMound Excel Worksheet Functions 7 August 28th 06 10:41 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
How do I reference every "n" cell in a column in Excel? Alma Excel Worksheet Functions 2 March 22nd 05 06:19 PM
Formula for a column comicfly Excel Discussion (Misc queries) 2 March 11th 05 12:16 PM


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