Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default Find column letter of the first unused cell

What Excel 2007 fcn do I use to find the letter of the first column in the
row C2:C13 that is empty?

I appreciate your help, -John
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Find column letter of the first unused cell

Since all the cells in C2:C13 are in Column C, I'm betting that there is no
column letter that can match your stated condition. If you meant to write
something like C2:K2, then you could use this formula to return the column
letter...

=CHAR(64+SUMPRODUCT((C2:K2="")*COLUMN(C2:K2)))

--
Rick (MVP - Excel)


"John" wrote in message
...
What Excel 2007 fcn do I use to find the letter of the first column in the
row C2:C13 that is empty?

I appreciate your help, -John


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Find column letter of the first unused cell

On Sun, 10 May 2009 12:31:01 -0700, John
wrote:

What Excel 2007 fcn do I use to find the letter of the first column in the
row C2:C13 that is empty?

I appreciate your help, -John


Your question is unclear. You are only specifying a one column range. The
column number would be 3 if there are any empty cells in that range.

If you mean the column number of the first empty cell in a row, starting with
column C, then look below.

If you mean something else, then try rephrasing your question.


This formula must be **array-entered**:

=SUBSTITUTE(ADDRESS(1,2+MATCH(TRUE,ISBLANK(C2:XFD2 ),0),4),1,"")
^

Note that the "2" is the column number for column C less 1.
----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. If you did this
correctly, Excel will place braces {...} around the formula.
--ron
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
find column letter Stuart WJG[_2_] Excel Discussion (Misc queries) 13 August 29th 08 11:27 PM
How to replace column letter in refferences with a function using the old column letter? Dmitry Kopnichev Links and Linking in Excel 6 October 13th 05 09:09 AM
How to replace column letter in refferences with a function using the old column letter? Dmitry Kopnichev Excel Worksheet Functions 6 October 13th 05 09:09 AM
How do I find a cell starting with a specific letter? Bking Excel Discussion (Misc queries) 5 July 18th 05 05:14 AM
Find column letter containing specific data markx Excel Worksheet Functions 4 March 17th 05 10:41 PM


All times are GMT +1. The time now is 05:18 PM.

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"