Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Last non-blank row

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Last non-blank row

=LOOKUP(2,1/(E1:E100<""),E1:E100)


"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Last non-blank row

Hi

index('Sheet1'!e1:e100,max(row('Sheet1'!e1:e100)*( 'Sheet1'!e1:e100<"")))

Would be the best idea.

Cheers,
Shane Devenshire

"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Last non-blank row

Hi,

Other shorter formulas for the last non-blank text cell a


=INDEX(Sheet1!e1:e100,MATCH(TRUE,Sheet1!e1:e100<" "))

=LOOKUP(REPT("z",255),Sheet1!e1:e100,Sheet1!e1:e10 0)

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Last non-blank row

On Sheet1, pull-down:

Insert Names Define

pick a Name like le
and in the Refers To box, enter:

=IF(ISBLANK(Sheet1!$E$65536),LOOKUP(2,1/(Sheet1!$E$1:$E$655350),Sheet1!$E$1:$E$65535),She et1!$E$65536)

Then in any worksheet, the formula:

=le

will return the value in the last filled cell in column E of Sheet1.
--
Gary''s Student - gsnu2007k


"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Last non-blank row

last non blank for text ( use ctrl + shift + enter )

=INDEX(E1:E100,MAX(ISTEXT(E1:E100)*ROW(E1:E100)))


On Dec 1, 11:02*pm, awreet wrote:
Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? *Any feedback is appreciated...Thanks.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Last non-blank row

=INDEX(Sheet1!e1:e100,MATCH(TRUE,Sheet1!e1:e100< ""))

If there are empty cells within the range that will return an incorrect
result.

=LOOKUP(REPT("z",255),Sheet1!e1:e100,Sheet1!e1:e1 00)


You can shorten that to:

=LOOKUP(REPT("z",255),Sheet1!e1:e100)


--
Biff
Microsoft Excel MVP


"Shane Devenshire" wrote in
message ...
Hi,

Other shorter formulas for the last non-blank text cell a


=INDEX(Sheet1!e1:e100,MATCH(TRUE,Sheet1!e1:e100<" "))

=LOOKUP(REPT("z",255),Sheet1!e1:e100,Sheet1!e1:e10 0)

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Last non-blank row

Shane:

Thanks very much for the response. It still doesn't read through the array
to the last non-blank row, however. It returns the value in 'e1'. If I
replace that with 'e2', I get the value in e2 on the correct sheet, etc.
It's like Excel is ignoring the Max or array directions, or both.

Thanks,
Wayne (I'll use my name, I'm new to this group thing)

"Shane Devenshire" wrote:

Hi

index('Sheet1'!e1:e100,max(row('Sheet1'!e1:e100)*( 'Sheet1'!e1:e100<"")))

Would be the best idea.

Cheers,
Shane Devenshire

"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Last non-blank row

I need to return the last non-blank row of text in a column

If you want to return the last TEXT entry in the range Sheet1!E1:E100:

=LOOKUP(REPT("z",255),Sheet1!E1:E100)

If the last *text* entry happens to be a formula blank ("") then that's what
will be returned. If you have formulas in the range that return formula
blanks and want to exclude those then let us know.


--
Biff
Microsoft Excel MVP


"awreet" wrote in message
...
Shane:

Thanks very much for the response. It still doesn't read through the array
to the last non-blank row, however. It returns the value in 'e1'. If I
replace that with 'e2', I get the value in e2 on the correct sheet, etc.
It's like Excel is ignoring the Max or array directions, or both.

Thanks,
Wayne (I'll use my name, I'm new to this group thing)

"Shane Devenshire" wrote:

Hi

index('Sheet1'!e1:e100,max(row('Sheet1'!e1:e100)*( 'Sheet1'!e1:e100<"")))

Would be the best idea.

Cheers,
Shane Devenshire

"awreet" wrote:

Hello:

I need to return the last non-blank row of text in a column from one
worksheet to a summary worksheet at the front of my workbook.

='Sheet1'!E4 works to return text from cell E4 of Sheet 1.

=index(e1:e100,max(row(e1:e100)*(e1:e100<""))) supposedly returns the
last non-blank text from a row in a column.

However, when I combine the two I get an error:

='Sheet1'!index(e1:e100,max(row(e1:e100)*(e1:e100< "")))

Can anyone educate me? Any feedback is appreciated...Thanks.



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
conditional formatting:highlight row based on blank or non-blank c Nat Maxwell Excel Worksheet Functions 3 May 14th 23 07:43 PM
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
Average Formula to display blank cell if named range is blank Rachael F Excel Worksheet Functions 3 February 22nd 08 05:05 PM
where can I down Blank Worksheets, blank stmt. of account forms carmen Excel Discussion (Misc queries) 2 January 15th 07 03:03 PM
Not showing blank and non blank items in filter mode for values Bhaskar Polisetty Excel Worksheet Functions 0 June 20th 06 02:04 PM


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