Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default how to return the value of the last nonblank cell in a row?

Does anyone know of a method to return the value of the last nonblank cell in
a row?
I have a running total spreadsheet that contains links to other workers, the
value that I need in the reference cell has to be the last value in the row,
it may be b22 then next time c22, d22 etc
all suggestions appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default how to return the value of the last nonblank cell in a row?

One way to match any number larger than possible in your row.
=INDEX(3:3,MATCH(9999999,3:3))

--
Don Guillett
SalesAid Software

"WINDMILL" wrote in message
...
Does anyone know of a method to return the value of the last nonblank cell
in
a row?
I have a running total spreadsheet that contains links to other workers,
the
value that I need in the reference cell has to be the last value in the
row,
it may be b22 then next time c22, d22 etc
all suggestions appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default how to return the value of the last nonblank cell in a row?

Use this: =INDIRECT(ADDRESS(MAX((DataRange2<"")*ROW(DataRan ge2)),
COLUMN(DataRange2),4))

See here for more info: http://www.cpearson.com/excel/excelF.htm , under the
section titled Finding the Used Part of a Range

Dave
--
Brevity is the soul of wit.


"WINDMILL" wrote:

Does anyone know of a method to return the value of the last nonblank cell in
a row?
I have a running total spreadsheet that contains links to other workers, the
value that I need in the reference cell has to be the last value in the row,
it may be b22 then next time c22, d22 etc
all suggestions appreciated.

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
Return value in cell above the reference Jean Excel Discussion (Misc queries) 4 May 31st 06 07:50 PM
help with index to return particular cell value Allan from Melbourne Excel Discussion (Misc queries) 0 May 27th 06 03:20 AM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Select cell, Copy it, Paste it, Return to Previous cell spydor Excel Discussion (Misc queries) 1 December 30th 05 01:29 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 07:47 AM.

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

About Us

"It's about Microsoft Excel"