=CELL("address") works in some worksheets but not in others

edge37

Board Regular
Joined
Sep 1, 2016
Messages
57
Office Version
  1. 2021
Platform
  1. Windows
Hi! This simple formula to return the address of a cell still works on a worksheet I created a few years ago. Now in the file where I need it, it simply doesn't work, I click a cell and the cell address do not change or update; it only works if I press F9 after or if I enter anything in a cell and then click on another empty cell (weird) and I need this to work automatically. Maybe you can help me solve this riddle I have. I'm using Excel 2021, I include some images to show what I mean.

Thank you
 

Attachments

  • Screenshot_16.jpg
    Screenshot_16.jpg
    9.7 KB · Views: 10
  • Screenshot_15.jpg
    Screenshot_15.jpg
    7.6 KB · Views: 10

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
What happens when you anchor the formula to a cell reference i.e.

Excel Formula:
=CELL("address",A1)

Is you calculation still set as Automatic?
Do you have any circular references?
 
Upvote 0
What happens when you anchor the formula to a cell reference i.e.

Excel Formula:
=CELL("address",A1)

Is you calculation still set as Automatic?
Do you have any circular references?
I get $A$1, which is what it is expected.
 

Attachments

  • Screenshot 2023-10-20 063602.jpg
    Screenshot 2023-10-20 063602.jpg
    10.9 KB · Views: 3
Upvote 0
UPDATE
It seems that this formula works only with a VBA code:
VBA Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Range("AA6").Value = ActiveCell.Value
End Sub
Don't know why why this happens, but the cell address formula works fine when that code is inserted in the worksheet. Thank you for your help
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top