Find/Replace within a formula

jk4747

New Member
Joined
Aug 17, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello, I have the following function in Excel that references tables from different sheets.

=SUMIF(ParentTCA[$ Weighted %Placement],"<>#VALUE!")/SUMIF(ParentTCA[$ Weighted PWP20%],"<>#VALUE!",ParentTCA[ValueUSD])

I need to replace every "ParentTCA" with "TCA" but when I run a find and replace I get an error message saying "There's a problem with this formula". I have tried running the SUBSTITUTE function without any luck. Please help!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
The two tables got to have the same column headers. Then the find and replace will work.

So both ParentTCA and TCA have to have column headers - $ Weighted %Placement and $ Weighted PWP20% and ValueUSD
 
Upvote 1
Go to Formulas and Name Manager, find the table named ParentTCA and double click on it. Then type in the new name - TCA. It will change your formula.
1692299895154.png
 
Upvote 0
Sorry, I should've been more clear--I don't need to just change the name, I need the formula to reference a separate table that happens to be titled "TCA".
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,470
Latest member
Subhash Chand

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