Formula doesn't update itself

Bandito1

Board Regular
Joined
Oct 18, 2018
Messages
233
Office Version
  1. 2016
Platform
  1. Windows
Hello all,

I use the following formula;
Excel Formula:
=IF(AS22="";"";SUMPRODUCT(--('\\nltilnetapsnas1\PUBLIC\Supply Chain\Planning\Sales Order Report\[Tracker QA on the floor New.xlsm]Tracker QA on the Floor'!$J:$J=AS22)))
I specific use SUMPRODUCT cause it should update even if the source file is closed.

It doesn't; i just opened the file and the data it showed was 0.
After i hit enter when i click the formula it updates.

The calculation options is set on automatic

Someone knows why the data doesn't update?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hello all,

I use the following formula;
Excel Formula:
=IF(AS22="";"";SUMPRODUCT(--('\\nltilnetapsnas1\PUBLIC\Supply Chain\Planning\Sales Order Report\[Tracker QA on the floor New.xlsm]Tracker QA on the Floor'!$J:$J=AS22)))
I specific use SUMPRODUCT cause it should update even if the source file is closed.

It doesn't; i just opened the file and the data it showed was 0.
After i hit enter when i click the formula it updates.

The calculation options is set on automatic

Someone knows why the data doesn't update?
Hi - Have you tried the enable iterative calculation part ?
 
Upvote 0
I know you said you had calculations turned on but do you have all the Link setting for automatic update turned on as well ?
And do you have any event macros running that might be turning it off.

Data > Edit Links
• Update Automatic
• Startup Prompt - at least the 1st or 3rd option (not the 2nd option)

1671796233039.png
 
Upvote 0
Ah!

It was on; Don't display the alert and don't update automatic links (2nd option)
Now i remember why it was on that; my excel turns very slow when links will be updated.

Is there a way through for example VBA that i can manage which sheets / cells are updated and which are not?
 
Upvote 0
I am pretty sure it is a workbook setting and you can't you can't turn it on at the range or worksheet level.
How many workbooks and worksheets are you linking to ?
Is using Power Query to pull in the data an option ? You can then control the refresh and it will be much faster.

I am not a big fan of having linked workbooks. They slow your workbook down too much and I prefer to have a point in time snapshot that I import so that I have control over when things change and manage versions.
 
Upvote 0
It is linked to two workbooks.

Power Query is new for me.
Is it hard to learn?
 
Upvote 0
The basics are pretty straight forward.
It depends on how your data you are linking to is laid out as to whether you can use it for your purpose.
 
Upvote 0
Well for example;

I got this now; see 1
1.PNG

I managed to get the total with power query;
2.PNG


Is it possible to get it in the same lay-out as i had?
Now it's green with a header above it.
I can transform this all so it looks like in my example picture?
 
Upvote 0
Not sure which layout you are after.
The grid with Jan-Dec is an ideal layout for power query.
You can pull it into your main workbook and use that in your formulas instead of having external formula links.
You can then refresh it manually or from a button or use a worksheet event to refresh the data.
 
Upvote 0
So power query will make my workbook faster?

And one question i need to know before diving fully into it;

The get data file i link to with power query is expanding each day.
It seems like i load the workbook into power query. Is it "set in stone" then and i need to reload it each day or is it being updated when data is added?
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,500
Members
449,090
Latest member
RandomExceller01

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