ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Display row & column number in cell (https://www.excelbanter.com/excel-worksheet-functions/72603-display-row-column-number-cell.html)

wesley

Display row & column number in cell
 
is there any way to display the row and column number in cell.

A B
1 test
2
3
--------------------------------
A B
1 A1
2
3

thank you for your help

Roger Govier

Display row & column number in cell
 
Hi Wesley

=CELL("Address") will return $A$1
If you don't want the $ signs, you could use
=SUBSTITUTE(CELL("Address"),"$","") to return A1

--
Regards

Roger Govier


"wesley" wrote in message
...
is there any way to display the row and column number in cell.

A B
1 test
2
3
--------------------------------
A B
1 A1
2
3

thank you for your help




Max

Display row & column number in cell
 
Put in A1: =ADDRESS(ROW(),COLUMN(),4)
Above returns A1. Just copy across & fill as required.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"wesley" wrote in message
...
is there any way to display the row and column number in cell.

A B
1 test
2
3
--------------------------------
A B
1 A1
2
3

thank you for your help




wesley

Display row & column number in cell
 
thank you both of you guy, I get it !

"wesley" wrote:

is there any way to display the row and column number in cell.

A B
1 test
2
3
--------------------------------
A B
1 A1
2
3

thank you for your help


Max

Display row & column number in cell
 
You're welcome !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"wesley" wrote in message
...
thank you both of you guys, I get it !





All times are GMT +1. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com