Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Address of last nonzero value in a range

Maybe something like this (in sections for readability):

=ADDRESS(ROW(INDIRECT(E2)),MATCH(2,INDEX(1/(
INDIRECT(MID(REPT(":"&LOOKUP(10^99,--RIGHT(
E2,{1,2,3,4,5})),2),2,255))<""),0)),4)

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Hans Knudsen" wrote:

I have the following matrix formula
=ADDRESS(E2;MAX(IF(16:16<"";COLUMN(1:256);""));4)
E2 holds a cell Address, for example A16 and the above formula then gives me
the address of the last nonzero cell in row 16. What should the formula look
like if I want to let the first argument of the IF formula (here 16:16)
reflect the row number of the cell address specified in cell E2?

Regards
Hans Knudsen

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 to compute StDev of only nonzero entries in a range? Sam Excel Worksheet Functions 3 February 5th 09 01:27 AM
Address Range [email protected] Excel Worksheet Functions 5 August 23rd 07 06:07 PM
Deleting Range name's listed in the range address box. Satnam Patel Excel Discussion (Misc queries) 4 May 5th 05 01:42 PM
nonzero value DAVID Excel Worksheet Functions 2 January 10th 05 05:07 PM
find first nonzero value in column DAVID Excel Worksheet Functions 0 January 10th 05 01:11 PM


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