Resetting cell references back to table names

psgoldberg

New Member
Joined
Jul 11, 2013
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Situation:
  • Excel data converted to Table (Insert Table); table renamed to MyTable
  • Formulas created to access table data using structured table references e.g., =sum(MyTable[[#data],[Col1]])
  • For specific reasons, the Table needs to be converted back to a range and then, after certain actions, converted back to a Table. Table renamed back to MyTable

At this point, the formula with structured references has been converted to cell references (no names) - =sum(Sheet1!$B$3:$B$5).

Question: How do I get the names back - i.e., change the cell references to names.

Obvious solution that doesn't seem to be available: Use the Define names| Apply Names action. However, Table names are not available.

Can this be done without writing a macro? Or using Indirect to build the formula (which of course does work).

PSG
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Why are you converting the table?

OK, you are asking me for my "specific reasons". A feature of the table automatically copies a formula down. It may be the case that I don't want the formula in all cells (I want to replace a specific formula but not all). I convert the range, put in the specific formula, and then convert back. Obviously, this is not a great practice but it does occur and there may be other reasons.

So now you know the reason, what is the solution?
 
Upvote 0
You can enter a different formula in your Table without converting it to a Range. After entering the formula click Undo so that the copying to the other rows is cancelled.
 
Upvote 0
You can enter a different formula in your Table without converting it to a Range. After entering the formula click Undo so that the copying to the other rows is cancelled.

Good answer to consider. There may be other situations where converting to normal range and re-inserting a table may happen; I know that before I realized this behavior I was doing it without concern because it was very easy and there seemed to be no adverse consequences. My question remains: is there any way to re-reference, similar to apply names?
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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