SO I'm trying to get some work done in Excel 2013, and after getting an initial formula to work, I dragged it across several other cells. I did all the standard locking of references and such, even copied the exact formula into the new cell formula window with copy paste. The formula works in the first cell, not in those it's dragged over. It also works in seemingly random cells when pasted around (see screen shot).
Formula is below... this was a brand new sheet, the cells had not been initialized until the formula was pasted. Is this an issue with Excel 2013? Since the formula works in some pastes perfectly, and not in others, I don't think that's the issue... I changed the cell format after the pastes in a couple cells to see if that changed results at all - it does not.
Update: I added in the false value, and the IF is evaluating to false on the zero cells... why it's correctly true in some, and false in others is still a mystery.
=MIN(IF('Metrics'!$DL$2:$DL$1725=$L$2&$O$2,'Metrics'!$DH$2:$DH$1725))
The issue is that for the formula to correctly evaluate it should be set as an array (ctrl-shift-enter).
However, Excel 2013 seems to randomly recognize the formula as an array formula, and sometimes not. Thus the formula occasionally will work, in a brand new, uninitialized cell, using/displaying the standard formula, and a correct result. Other times it will still display the same formula, but produce incorrect results since it is not being evaluated as an array.
Any of the cells that did not magically convert to an array formula, when changed to array, will update with correct values.
Only manually changed cells reflect the {=MIN(IF(...)...))} indication of an array formula. Cells in which the formula produced correct results still display as a non-array formula.
I had a similar if not exactly the same issue. Try hitting F9 to recalc the sheet, or go to File>Options, go to "Formulas" and under "Workbook Calculations" set it to "Automatic".
Solved my problem, which manifested the same way yours did.
Good luck!
Since you are,using $ sign to lock the cells in the formula, it looks like you are just pointing it to the same cells giving you same results... Click on the formula and check or change to the correct reference cells as you desire...
turns out my 2003 excel problem was due to some circular formulas. Had "Circular:" at the very bottom line. When these all fixed, the other cells started to calculate properly.
Related
i am having a issue currently where when I try to copy a cell (with a formula e.g. =A1*B1 whose value / product is 6) and paste the formula into another cell, both the formula (now =A2*B2) and the copied-from cell’s value (i.e. 6) are updated in the new cell and also, if there is a total / sum row that factors in both cells, the sum does not get updated either after the paste action.
The only time the formulas update or re-calculate is after I double click the specific cell (as if to edit) and hit ‘enter’ or if I save the page. Even when I update one of the cells which the formula calls for, the formula does not automatically recalculate. This only seems to be happening when working in any workbook with a macro(s) even though there isn’t any code in the macro that should impact this. I’m using excel in Office professional plus 2013.
I don’t recall this happening in the past so it may have started happening more recently. Any help or insight would be really appreciated. (I even tried commenting out all the macro code but the issue still persists.)
I have an Excel file, in that file I have plenty of formulas and ALL seem to do what they suppose to, give the results.
Now the weird part, I have found that some(few) cells instead of showing in formula bar original formula like =SUM(A1:A5) are now showing formula like =#NULL!.
However in cell it self result is displayed and it is correct result, recalculated with each change in sheet.
I had a backup copy of that file, I have copied formulas over and everything seemed fine until day after. When file was reopened issue has returned.
Have anyone have any idea how to sort out that mystery?
Edit:
Maybe I wasn't clear enough. Formulas are working and calculating correctly.
The issue lies in showing formula it self, formula bar isn't showing formula used for calculation, instead it is showing =#NULL! formula in formula bar.
Please see picture with 'Show Formula' enabled. All cells showing =#NULL! should actual formulas used for calculation.
Look specially at formula bar it self.
I can't give you a definitive answer without actually seeing all your formulas, but generally the #NULL! error appears when (according to documentation):
This error occurs when you specify an intersection of two areas that do not intersect. The intersection operator is a space character between references.
Most common issues (I'll use formula =SUM() since you used it in your original question, but this doesn't exclusively apply to it)
=SUM(A3 A6)
=SUM(A1:A5, B1:B5)
=SUM(A1, #REF!)
#REF! is commonly caused if you are referencing to a cell, that from
to a different worksheet that is no longer available, or the reference
is no longer correct altogether`
So to sum it up (no pun intended) check up if your formulas have correct seperators (,) or (;). Check if your formulas make sense (eg. you can't sum two ranges, use =SUBTOTAL()instead) and check if your cell references are still correct.
I am using Excel 2016, and I am facing an issue that I never met before.
When I input any formula to a cell, it works what it should be. But once I want to change/edit the formula in the cell, the cell will turn into pure text cell. No matter how I empty the cell and redo the formula, the same problem just won't go away. The only solution I found is replacing the broken cell with an unused cell.
What's wrong?
I have a simple formula (an AutoSum) in a protected sheet and locked cell. My VBA code does not access this cell directly. Despite this, the formula sometimes changes to the numeric result when the sum changes. Any ideas how I can prevent this from happening?
It sounds like the Cell value is being set implicitly which over writes the formula. You may have a cell reference that you are missing. If your code does not set anything in that cell, then there is something in your workbook doing it. Try going to the Formulas tab and selecting Trace Dependents. See if an arrow points to something you were not aware of. Some of my sheets get so huge that I can loose track of things. Especially if I do any cutting and pasting.
I am using a Substitute Formula to replace a character '?' with '#'. But the formula isnt working as desired for the other rows when i drag the formula downwards.
The same output gets copied for others rows too. This happens even though the formula for other cells corresponds to its respective cells.
Please help!!!
Your formula is fine; it works correctly for me.
I can replicate your behaviour by setting the spreadsheet to manual calculation, so my thought is that yours is too.
You can check the setting from the Formula tab on the Ribbon. Click the Calculation Options item to see the current setting.
If it is manual, change to Automatic and your formulae should work as expected.