A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

last value in a row



 
 
Thread Tools Display Modes
  #1  
Old September 17th, 2003, 10:44 AM
Cees Bruin
external usenet poster
 
Posts: n/a
Default last value in a row

there probably is a fuction which will give me the last
value in a row, the thing is I dont know which one, i use
the max value .. but there could be a problem when numbers
are decreasing it will still give me the (then uncorrect)
high figure in stead off the last figure.

your help is much appriciated
best regards

Cees
  #2  
Old September 17th, 2003, 11:56 AM
Paul B
external usenet poster
 
Posts: n/a
Default last value in a row

Cees, try this it will return the last numeric valve in row 1
=INDEX(1:1,MATCH(9.9999999999E+307,1:1))
--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
"Cees Bruin" wrote in message
...
there probably is a fuction which will give me the last
value in a row, the thing is I dont know which one, i use
the max value .. but there could be a problem when numbers
are decreasing it will still give me the (then uncorrect)
high figure in stead off the last figure.

your help is much appriciated
best regards

Cees



  #3  
Old September 17th, 2003, 01:32 PM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default last value in a row

On Wed, 17 Sep 2003 02:44:33 -0700, "Cees Bruin"
wrote:

there probably is a fuction which will give me the last
value in a row, the thing is I dont know which one, i use
the max value .. but there could be a problem when numbers
are decreasing it will still give me the (then uncorrect)
high figure in stead off the last figure.

your help is much appriciated
best regards

Cees


For row 18, the *array-entered* formula:

=INDEX(18:18,1,MAX(ISNUMBER(18:18)*COLUMN(18:18)))

To *array-enter* a formula, after typing or pasting it into the cell, hold down
ctrlshift while hitting enter. XL will place braces {...} around the
formula.


--ron
  #4  
Old September 17th, 2003, 02:24 PM
Jason Morin
external usenet poster
 
Posts: n/a
Default last value in a row

Assuming row 1 with no blank cells between values:

=INDEX(1:1,COUNTA(1:1))

With blank cells between values:

=INDEX(1:1,MAX(IF(1:1"",COLUMN(1:1))))

Second formula is an array, which means you must press
ctrl/shift/enter after inserting the formula.

HTH
Jason
Atlanta, GA

-----Original Message-----
there probably is a fuction which will give me the last
value in a row, the thing is I dont know which one, i use
the max value .. but there could be a problem when

numbers
are decreasing it will still give me the (then uncorrect)
high figure in stead off the last figure.

your help is much appriciated
best regards

Cees
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.