EXCEL Formula not auto updating! Help! - excel

I have an excel formula to pull the name of the file in excel and put it into a field. The problem is, when I open multiple files I've already done, it repulls the file name and updates it to the LAST file opened. So if I opened MFULTON and then JADAM, the file name cell for JADAM would real MFULTON. If I manually double click and press enter, it will auto correct back to JADAM, but my colleagues won't know how to do this. What is happening?

Uou need to make your formula Volatile

You can try this. Go to File->options->Formulas-> Workbook Calculation-> Select Automatic. And also Check the check box Formula Auto Complete.

Related

Excel not displaying results after reopening file, only after manual recalculation

I have a very strange Excel problem that I cannot wrap my head around:
I have the following formula:
=IFERROR(LEFT(INDIRECT(ADDRESS(INT(((ROW()))/4)+2,3,,,"Sheet1")),(FIND(" ",INDIRECT(ADDRESS(INT(((ROW()))/4)+2,3,,,"Sheet1")),1)-1)),"")
which essentially goes through a different sheet and looks for string entries including a space and then returns only the first word and outputs the same results for 4 consecutive rows.
Typing this formula into Excel and executing it manually works. Dragging the formula down a couple rows also works.
When I now save, close and reopen the workbook, the cells are empty. The formula is still present but now it is in array format {} and the results do not show. If I now click on the cells with my mouse and execute them again by pressing enter it calculates correctly. See picture below.
Cells only display result after manual execution
So I know the formula still works. Copying the formula, deleting the entire array and pasting it and dragging it down results again in a working formula.
Does anyone what is causing this strange behavior and how I can fix it?
Many thanks in advance and best regards.
Make Sure your Workbook Calculation is set to Automatic.
Please check once here -
Go to File > Option > Select 'Formulas' on Left > Check under 'Calculation Options' if Workbook Calculation is set to Automatic. If not, make it Automatic and give it a try.
Suggest you rewrite your formula to use OFFSET rather than INDIRECT(ADDRESS. Also, if you're using WEBSERVICE anywhere it is not affected by automatic calculation.

auto calculation for formula that is defined through whether a file exists

here is the formula:
=IF(doesfileexists($AT$3&$P16&$AS$3&$P16&".xls"),"CF✔","*")
the only problem is that if the file is deleted, it doesnt change. On the other hand, if i click on the formula to edit it and click enter, it then recalculates to the right value. i would like to automate this process of pressing enter
*note: My data calculation is set to automatic and works with other data entries. Maybe the fact that it includes a function(doesfileexists) changes something??
Thank you very mech to all.
The below link explains the use of function "FileExists", can you give this a try.
https://stackoverflow.com/a/36308613/8251387
You need to make the function Volatile so that it calculates at every Excel calculation: add Application.Volatile=True
But deleting a file from a folder will not of itself trigger an Excel calculation.

Error when entering table_array with spaces in the name Excel Formula

first my apologies for being a noob with regard to Excel Formulas - I did search and did not find an answer.
I have a spreadsheet that I am trying to modify. I got two spreadsheets from a client, who gave me a working copy and one that he had modified. There is a #REF error in the modified version. If I look at the working copy the formula looks like this.
=VLOOKUP($C$1,'Client Rates'!$A$2:J$228,5,FALSE)
As you can see it has quote marks in the table_array parameter because it does have a space in it. However I cannot enter it this way as it throws an error every time I try. Error is something like this - 'There is a problem with this formula. Not trying to type a formula? ... '
How can I enter the work sheet as a parameter with spaces in the name into the formula?
Did you try F2 to edit formula directly. Then highlight section of formula you wish to change then select the actual data you want evaluated by the formula?
Excel will create the correct string for the sheet and area reference for you.
The problem is you are trying to copy and paste directly from on workbook to another. Copying ctrl-c and pasting ctrl-v from one workbook to another may not have the desired effect. If you copy first to notepad or some other text editor and then paste from that text editor all works fine.

Excel: Cross-sheet reference not working

I'm having trouble with a cross-sheet reference within the same file.
On the second tab named "Disclosures & Identification," there is a set of merged cells at D5:G5 which hold text.
On the first tab, there is a reference to that cell. The formula being used is
"='Disclosures & Identification'!D5. Instead of copying the text from the second tab's field, the formula just appears in the cell.
I have tried renaming the tab (in case the & was the problem); I have tried using the entire set of merged cells in the reference (d5:g5); I have saved the file under a new name and updated to Office 2007 format (old version was 2003, but that should have worked anyway); and I have done what I consider an appropriate amount of searching for the answer (with no luck). Does anyone have an idea as to why this might not be working?
There are 2 possible things:
Make sure the format of the cell is not 'Text'. If it is, change to something else, such as 'General' and then double click in the formula bar and press enter.
Make sure that 'Show Formulas' is OFF. You can find the option under the tab 'Formulas'. Otherwise, you can use Ctrl+`
In case the above doesn't work, ensure your list isn't filtered or the filter is set active. Deactivate the filter and try link again.

Getting Reference (url link) from another cell?

I want to link a cell to an external file. The name of the external file changes daily though.
I created a cell that contains the full address of the external file (C:\Users\Main\Desktop\data\History\02092013.csv)
I then named that cell HistoryFileReference
So then why does this not work?
='HistoryFileReference'!$A$2
When I press enter, a window named "Update Values: HistoryFileReference" pops up, asking me to choose a file.
edit: I don't want to "update links" via excel. Thanks
For this to work you will have to manually put brackets in the file name and then store it as
C:\Users\Main\Desktop\data\History\[02092013.csv] in the cell which you have named as HistoryFileReference
Now open the CSV file and leave it open. Go back to the above sheet and type this formula
=INDIRECT("'" & HistoryFileReference & "02092013'!$A$2")
and press Enter and you are done :)
Caution: Next time you open the file, do not click on Update Links else all the values generated by the above formula will change into #REF! as Indirect doesn't work with close files.
For the sake of an example, I have place a csv file in C:\ as shown in the screenshot below and I am trying to retrieve values from Cell A1

Resources