LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default find last populated cell in range of cells

I have a worksheet that contains the actual and projected hours for
workers and I'm trying to figure out the function that would search
through the entire row and return the last cell of the row that
contains a non-blank value. Some of the cells contain hours (ex: 1.0,
15.0, 3.5) and other cells are blank. Some of the cells are
completely blank in between the specific range. For example the first
column contains the workers names and after that are the hours, the
very first row in the sheet is the week that the hours are projected
for... for this example, semi colons are used to represent a new cell:
A ; B ; C ; D ; E ;
F ; G ; H ; I ; J
1; Name ; 7-Aug; 14-Aug; 21-Aug; 28-Aug; 4-Sep; 11-Sep; 18-
Sep; 25-Sep; Total
2; John Smith; 1.0 ; 2.0 ; 2.5 ; ; ;
5.5 ; 5.2 ; ; 16.2
3; Jane Doe ; 2.0 ; 5.0 ;
1.5 ; ; ; ; ; ;
8.5

I want the function to search through the range and return the date
that is above the last unblank cell.
Range - B2:I2 returns 18-Sep (I don't want it to return 21Aug
because it is followed by a blank)
Range - B3:I3 returns 21-Aug

This function needs to be entirely data driven and the only thing that
can really be hard coded is the row that contains the date that needs
to be returned.

Thanks for all the help!
 
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
Find the first or last populated column in a range Commish Excel Worksheet Functions 6 May 14th 09 10:16 PM
First populated cell in row array/ Last populated cell in row arra Skyscan Excel Worksheet Functions 7 May 29th 08 05:20 PM
LookUp to Display Last Value Populated a in Range sony654 Excel Worksheet Functions 13 May 11th 08 05:46 AM
Search range of cells, find a value, output adjoining cell. How? nyys Excel Worksheet Functions 3 January 5th 06 01:48 PM
find a cells from a range of cell kelvintaycc Excel Worksheet Functions 2 April 2nd 05 07:20 PM


All times are GMT +1. The time now is 12:29 AM.

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"