Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Find Nonblank Cell

Is there a function that will find the first non blank cell in an array, like
returning cell address, or position in the array?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Find Nonblank Cell

="A"&MATCH(TRUE,A1:A10<"",0)

ctrl+shift+enter, not just enter


"Mike" wrote:

Is there a function that will find the first non blank cell in an array, like
returning cell address, or position in the array?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Find Nonblank Cell

=INDEX(B1:B10,MIN(IF(B1:B10<"",ROW(B1:B10))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Mike" wrote in message
...
Is there a function that will find the first non blank cell in an array,
like
returning cell address, or position in the array?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Find Nonblank Cell

Well, the match part I just figured out. That just returns the position in
the array. I'll have to do some extra work to turn that into an address.

Thanks.

"Teethless mama" wrote:

="A"&MATCH(TRUE,A1:A10<"",0)

ctrl+shift+enter, not just enter


"Mike" wrote:

Is there a function that will find the first non blank cell in an array, like
returning cell address, or position in the array?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Find Nonblank Cell

Why do you want to find the address (btw look at the ADDRESS function)?
If you want the value just use INDEX and MATCH



--
Regards,

Peo Sjoblom



"Mike" wrote in message
...
Well, the match part I just figured out. That just returns the position in
the array. I'll have to do some extra work to turn that into an address.

Thanks.

"Teethless mama" wrote:

="A"&MATCH(TRUE,A1:A10<"",0)

ctrl+shift+enter, not just enter


"Mike" wrote:

Is there a function that will find the first non blank cell in an
array, like
returning cell address, or position in the array?



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 return the value of the last nonblank cell in a row? WINDMILL Excel Discussion (Misc queries) 2 January 25th 07 01:31 PM
Find first nonblank cell row # in pivot table using MATCH Space Elf Excel Worksheet Functions 2 February 14th 06 09:50 PM
Require a cell to be nonblank if another cell is nonblank Herb Wexler Excel Discussion (Misc queries) 1 February 1st 06 08:05 PM
How do I find the minimum NONBLANK value in a sequence of cells? codeslinger New Users to Excel 3 November 2nd 05 08:12 PM
Find last nonblank in a column George W. Barrowcliff Excel Worksheet Functions 12 July 26th 05 05:40 PM


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