Sumif formula is changing my link to a table after I close the workbook

emoen

New Member
Joined
Jul 2, 2014
Messages
2
I'm trying to write a sumif formula that is linking to a table and it keeps changing the formula once I save/close and then reopen the file. I highlight the column "Region" in my table (which is located in a different workbook) and it populates correctly in the formula and then when I reopen the file it changes the "Region" to the cell #'s (ex B4:B27142). I don't want it to be the cell numbers in case my table changes (either gets shorter/longer or the columns change places).

Here is the right formula
=SUMIF('SERVICE COMP BREAKDOWN.xlsx'!<wbr>ServiceCompBreakdown[Region],I<wbr>NPUT!$B$4,'SERVICE COMP BREAKDOWN.xlsx'!<wbr>ServiceCompBreakdown[DSCAMOUNT<wbr>$])

Here is what it changes to
=SUMIF('[SERVICE COMP BREAKDOWN.xlsx]OUTPUT'!$B$4:$<wbr>B$27142,INPUT!$B$4,'[SERVICE COMP BREAKDOWN.xlsx]OUTPUT'!$I$4:$<wbr>I$27142)

Do you have any idea why this is happening and how to fix it? Maybe it's because I'm using Excel 2010?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Have you tried closing your workbook before the source workbook (the workbook containing the table) is closed and ensuring that the source workbook is open prior to opening your workbook?
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
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