I try to do something simple like subtract two cells from each other, then drag the cells down to calculate all rows, and Excel just gives me one value for this action.
I made a video and posted it on youtube to show what I mean (just a minute long!):Excel Issue
Is something wrong with my excel processor? It's for a fairly large dataset (10000).
Thank you for your advice
Please be sure that you enabled the Automated Calculations in your Excel Spreadsheet, go see some of the sites here to enable it
Run calculations if Workbook is in Mode Manual
Activate automatic calculations
From your video it seems you excel calculation option may be set to manual. Make it automatic. Please follow the below screenshot to change calculation option to automatic.
Go to Formulas tab.
Under Calculation section you will find Calculation Options.
From Calculation Options select Automatic.
Related
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.
I have an Excel spreadsheet with calculation options set to Automatic
However when I add some formulate for example
=CONCATENATE(“ABC",UNICHAR(8730))
The formulae do not auto-compute. Even running the manual computation from the menus does not force them to calculate.
The only way to do this is to click in the Cell, and then press Enter which is tedious since I have hundreds of cells per document, and do not want the end users to have to do this.
This does not work in Excel 16 for Mac, Windows Excel 16
UPDATE 1:
Link to sample Excel File https://www.dropbox.com/s/cxdbego1vw1jwln/SampleExcelFileWithErrors.xls?dl=0
I don't know what causes this issue, and I can't replicate it. But the two suggested solutions are:
Find and replace - swap "=" for "=". Yes the same thing.
Text to columns - click finish right away.
I am looking for a way to prevent formulas in my spreadsheet from automatically updating unless I trigger them. This is a massive spreadsheet with literally millions of formulas that all attempt to update every time any cell is updated, which lags out my system a lot. I was hoping to create what I imagine will likely be a vba macro which will disable formulas from updating entirely, and add a button which can be pressed to then force formulas to update.
If this is not possible (I am finally learning that excel has more limitations that I first thought), I could then use some advice on how to potentially smooth the formula updating process. There is no way to trim the program or reduce the number of formulas present, and using multiple sheets to communicate would just make everything look too sloppy. Any advice is appreciated, though a direct answer to the first paragraph is preferred.
You may try : Formulas > Calculation options > Manual .
Hope that helps. (:
you can go to Excel Options> Formulas > Calculation options > Manual .
When you want to update the formulas just click F9 button which will manually update all the formulas.
I hope this Helps
VBA is known to work on only one processor at the same time, so when I run a macro, Excel only uses 50% of CPU instead of totally (dual-core).
Is there a workaround to make VBA use both processors ?
Thanks.
The answer is no unless you split the workload across multiple Excel instances and recombine the results at the end. But the vast majority of cases of slow VBA execution can be speeded up by orders of magnitude:
switch off screen updating
set calculation to manual
read and write excel data using large ranges and variant arrays rather than cell-by-cell
look closely at the coding in VBA UDFs and bypass the VBE refresh bug
minimise the number of calls to the Excel object model
You could split the problem up across multiple instances of Excel.Applications, that way you could do half in one copy of Excel and half in the other.
I've seen someone doing simulation work in Excel VBA using 8 cores. A bit of a pain to bring the results back together at the end, but it worked.
In Excel 2010
Go to File --> Options --> Advanced.
Scroll down until you see the section for Formulas and you can set the number of processors to be used when calculating formulas.
This may not have an effect on VBA but it will work for running a formula down an entire column. Its a big time saver when working with large workbooks. Additionally you can go to task manager and right click on excel and set the priority to high so that your machine focuses its energy there.
** This option does not appear to be available for Mac **
If I need to automate a series a task on an excel sheet like
remove all rows where column 3 contains value "asdf"
remove column 7 and column 9
sort according to column 4
etc.
What is the easiest way of automating such tasks in excel? I think it would recording a macro but sometimes macro have to be edited a lot to actually make them work and even then macros stop if the excel sheet has a variation. Editing macro scripts could be a time taking process which becomes inefficient for such tasks. The automation is required since number of excel sheets will be a lot. Can you suggest an easier way ?
As long as, you have the activities defined - Macro is still the better thing to look for.
There could be some things that could change.
Please explain the problem with the help of code.
If you have defined the steps with a few variables, it should be easy to write a macro that wouldn't stop in case of variation.
Please post the code and describe in detail what you would want? which point does it stop, in case of variation? What would you like the code to do?
EDIT: Alternatively, you can write code in VB6/.net (c#/vb.net)/Python for automation.
If you record these steps using the macro recorder it will work fine, these are the ideal types of things for the macro recorder as the parameters (i.e. your sort by and delete conditions) are always the same. Just make sure that you always import/paste the data to the same place!
Thanks
Ross