Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Adresmith
 
Posts: n/a
Default Formula to return the name of a cell


I am trying to write a formula that will look at a cell and if it is not
blank then it will return the cell name (rather than the cell value).
Any help would be greatly appreciated!

Thanks!
Adrianne


--
Adresmith
------------------------------------------------------------------------
Adresmith's Profile: http://www.excelforum.com/member.php...fo&userid=9131
View this thread: http://www.excelforum.com/showthread...hreadid=379077

  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

If you mean cell address by cell name then

=IF(ISBLANK(A1),"",CELL("ADDRESS",A1))
will return $A$1 if A1 is not blank.


"Adresmith" wrote
in message ...

I am trying to write a formula that will look at a cell and if it is not
blank then it will return the cell name (rather than the cell value).
Any help would be greatly appreciated!

Thanks!
Adrianne


--
Adresmith
------------------------------------------------------------------------
Adresmith's Profile:
http://www.excelforum.com/member.php...fo&userid=9131
View this thread: http://www.excelforum.com/showthread...hreadid=379077



  #3   Report Post  
Domenic
 
Posts: n/a
Default


Try...

=IF(A1<"",CELL("address",A1),"")

...which will return $A$1, or try...

=IF(A1<"",ADDRESS(ROW(A1),COLUMN(A1),4),"")

...which will return A1.

Hope this helps!


--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=379077

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 do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
numbers being entered show in formula bar but not in cell? Jim in Florida Excel Discussion (Misc queries) 2 May 13th 05 06:36 PM
need help creating formula based on cell value Brad Excel Discussion (Misc queries) 3 April 1st 05 07:51 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
How can I write an if-then formula for 0 or less than 0 in cell t. Baz1 Excel Worksheet Functions 1 November 30th 04 04:33 PM


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