Common Formula Errors
When formulas fail to work in Excel, it is often due to syntax errors or incorrect use of functions. For instance, mismatched parentheses can cause formulas to not execute correctly [1:2]. Additionally, using incorrect characters, such as smart quotes instead of regular quotation marks, can lead to formula errors
[5:8]. Always ensure that your formula syntax matches Excel's requirements, and check for any unnecessary characters.
Formatting Issues
Cell formatting can significantly impact how formulas behave. If a cell is formatted as text, Excel might not recognize the formula [4:7],
[5:6]. Changing the cell format to general or number can resolve this issue. Similarly, hidden values due to cell formatting can affect calculations, as seen with the
XLOOKUP()
function outputting zero [2:1].
Calculation Settings
Excel's calculation settings can sometimes switch from automatic to manual, causing formulas not to update automatically [4:5],
[4:6]. Ensure that your workbook is set to calculate formulas automatically by checking the Calculation Options under the Formula menu bar.
Data Type Consistency
Ensure that the data types in your formula are consistent. For example, if you are using numerical values, they should be recognized by Excel as numbers. You can multiply or round them to confirm their type [3:1]. For non-numerical values, check for superfluous characters that may prevent matching
[3:1].
Troubleshooting Steps
By following these steps and considering the common issues highlighted above, you can effectively troubleshoot and resolve problems with Excel formulas.
Hi and thanks in advance to anyone who can help.
I usually stick with Google sheets for my clients, as they are often averse to purchasing office on top of paying for my services. But this means my Excel knowledge has entirely degraded over the years.
I am working on a spreadsheet for baseball stats right now, but when we copy the formulas over from sheets to excel, the formula fails to initiate. I am assuming the issue is that the command prompts are different in Excel, but me knowledge of Excel has declined enough to where I am unsure what the correct ones are.
Anyone mind taking a look at these formulas and telling me where the errors are?
In Column H:
=IF(AND(D2>0,E2>0,F2>0,G2>0),ROUND((((((D2*1.087)*4)+E2*3)+F2*1.5)+G2*1.5)/10), 0)
In Column I:
=IF(AND(D2>0,E2>0,F2>0,G2>0),ROUND((((((D2*1.087)*4.1)+E2*3.1)+F2*2.1)+G2*0.7)/10), 0)
Cells in formula for reference
**Cross Posted in Google Sheets**
Edit: Solved on my own. The error was with my actual Excel Program. I was using an old laptop that my kid messes with while my normal work rig was in the shop. Turns out my kid was trying to learn coding and was going into non-critical program files (like Excel) and messing with them. Re-installed Excel and problem solved.
Thanks for those that tried to help. Minus the one dink that just popped up to throw insults. You can go kick rocks.
For the first formula I think there might be some mismatched parentheses, you certainly don't need all those - try this version
=IF(AND(D2>0,E2>0,F2>0,G2>0),ROUND((D2*1.087*4+E2*3+F2*1.5+G2*1.5)/10,0),"")
Not quite sure what the intent is but that will either give you a blank cell if any of D2, E2, F2 or G2 are zero or blank....or it does your calculation and rounds to the nearest whole number
Made me wonder if OP even knew how to use either with all those parentheses.
Parentheses were fine. Thanks for the insult. I just usually prefer to add in extra parentheses in my formulas when they get of a certain length to keep it compartmentalized. It makes it easier for me to read and parse it out that way.
Now, if you don't have anything useful to add besides snide comments, hush.
Your formula works fine in Google but fails again in Excel on my end. Copy and pasted it verbatim, so no edit error possible.
Starting to make me think the error might be with my excel program itself.
Yeah, seems OK in excel for me, which cell are you putting it in?
See screenshot example
>the formula fails to initiate.
what does that mean?
It gives an error message.
for future posts, give actual details ,not just "it gives an error message"
what was the error message?
your image was also all but useless in conveying anything about the error.
As for the comment on the parentheses you took offense to, I also wondered why so many parentheses.
It was not an insult, it was a written thought which you could have answered without the snide tone.
Anyhow , glad you got it figured out , that is a doozey.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
|Fewer Letters|More Letters| |-------|---------|---| |AND|Returns TRUE if all of its arguments are TRUE| |IF|Specifies a logical test to perform| |ROUND|Rounds a number to a specified number of digits|
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
^(Beep-boop, I am a helper bot. Please do not verify me as a solution.)
^(3 acronyms in this thread; )^(the most compressed thread commented on today)^( has 23 acronyms.)
^([Thread #42594 for this sub, first seen 19th Apr 2025, 21:41])
^[FAQ] ^([Full list]) ^[Contact] ^([Source code])
/u/Smart_Cockroach8026 - Your post was submitted successfully.
Solution Verified
to close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Using Excel 365 on PC - Desktop version
Identical formulas (with change for where they are calculating) in cells and some are returning the correct info and some are not returning any info.
For instance - Cell BF19 returns the correct value but cell DI30 is returning 0 and should be returning 69.
I am at my whits end and cannot get to the bottom of the issue...Perplexity was no help.
would really appreciate the help
/u/Diddlydiddlydo1 - Your post was submitted successfully.
Solution Verified
to close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Your XLOOKUP()
in column AU is outputting zero, which you have conveniently hidden with cell formatting. This means it is not =""
, thus your eDate
returns zero, causing everything else to break.
and changing this to edate=0 fixes it...ROCKSTAR.
Man...send me a DM - I'd like to buy you a beer!
+1 point
You have awarded 1 point to Anonymous1378.
^(I am a bot - please contact the mods with any questions)
Is there anything I can do when I'm trying to perform an Index Match / vlookup and it just isn't working on a document I downloaded?
For example, I'll download a file at work and try to find matching values between two spreadsheets and occasionally I'll get a document that gives me nothing but errors in the cells when I enter my formula even though I know for certain there are values that match between the two spreadsheets. I look to check the formatting to see if they match as well. Is there anything else I should be looking out for when this happens?
/u/thebalancewithin - Your post was submitted successfully.
Solution Verified
to close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Are your values numerical? Try multiplying the first and second arguments of your match function to ensure they are excel-recognized numbers. You may also attempt to round them before matching in case of floating point error.
If your values are not numerical, try checking for superfluous characters in your cells. You may use =A1=B1
for two cells which appear the same to you, to confirm if excel also recognizes them as the same.
For instance.
I go =sum and usually you have the formula activate, but now all of a sudden nothing happens.
Does anyone have any idea what is wrong?
Have you got the show formulas option clicked? Formula tab, formula auditing section then the show formula option.
so basically this is the problem https://imgur.com/a/rSiDa6G
It is most likely the dumbest problem I have ever had on excel, but it slows me down substantially
Also checked it, not the thing.
Basically the formula doesn't pop up
Check that your workbook calculates formulas automatically and hasn't switched to manually updating somehow. From memory, it's under File/Options.
That was the first thing I checked. I really don't get it, as in what happened. Worked in excel yesterday and today it doesn't work
You have you cell formatted as text . Please format as standard
I’d look at Ctrl+~ which toggles between displaying formulas in the worksheet or the results. This would leave your =SUM(blah:blah) formula as =SUM(blah:blah) in the cell. The ~ key is right below Esc, people often hit it accidentally and then scramble trying to ‘undo’ a display option.
If it’s that the values don’t change then look at your Calculate settings. If you hit F9 and everything calculates, then you’re likely set to Manual calc. This Calculation Options is toward the left in the Formula menu bar. The dropdown lets you select Automatic (what you want), Auto except for tables, and Manual. Once in Manual, hit F9 to force a recalc.
EDIT: to add that the Calc Options can be set by individual workbooks. If you’re sharing files someone else may have set a file to Manual, then you opened that file, then proceeded to open other files which dutifully carried over the Manual setting.
Check that your cells are not formatted as text. If they are, change them back to general and hit enter on the cell again.
This is the drop down on the home tab where you can change a cell from Currency or Accounting or Short Date etc.
Lotus compatibility settings? Huh.
OP- where are you getting your spreadsheets from?
When you say where I get my spreadsheets from you mean like in what industry?
Dear Sir or Madam,
I love u. It worked. thank you very much. Any idea how it happened?
Solution verified
So I’m at my ends wits here and thought this forum might provide some interesting advice!
So I wanted to create some if formulas at work today and excel “blocked” me at each turn.
I tried everything. Ensured that all content was formulated properly, tried single and double citation marks, used brackets and even used the help sections own formula - each time I write out the formula it says something’s wrong with the formula.
I can build it and it will work but if I try to write it, it always states that something wrong.
Has anyone else experienced something similar and can tell me I’m not crazy? :)
Try the most basic formula, eg, =A1+B1, and see if that works. If it does then it seems to indicate that there's something wrong with the formula you're actually creating rather than the Excel sheet.
Might be nice to see your formula that does not work. Without it, how do we tell you how to fix it?
Sorry, since my text mentioned the formula origin (being the default showcase of an if formula) I thought giving a formula would not make a difference.
But I see all of your points, you are right.
So these are the formulas I tried:
=IF(C2=“Yes”;1,2)
I Formated the referenced cell to be text. I tried copying it from the excel help section I tried writing it out I tried other type of formulas but anything outside simple calculator formulas all return the error statement that isn’t working.
I have office in several languages, tried the formula using German , Swedish and English, all returning same error.
Sorry for not being clear in the beginning.
Whatever else you do when seeking help, DO NOT give clear examples. s/
Sorry, since my text mentioned the formula origin (being the default showcase of an if formula) I thought giving a formula would not make a difference.
But I see all of your points, you are right.
So these are the formulas I tried:
=IF(C2=“Yes”;1,2)
I Formated the referenced cell to be text. I tried copying it from the excel help section I tried writing it out I tried other type of formulas but anything outside simple calculator formulas all return the error statement that isn’t working.
I have office in several languages, tried the formula using German , Swedish and English, all returning same error.
Sorry for not being clear in the beginning.
“
are not "
which is one error, maybe just because you are posting from your phone..
;,
chose one.. not both.. European likley use the ;
separator, if not try the ,
=IF(C2=“Yes”,1,2)
Hi
Excel is very stubborn today and i need help.
It will not calculate sums. Only if i enter the Formula of a given cell and press enter, it will show me the number. All versions of F9 won't work and i am kinda lost what to do.
I did add some pictures to understand what i mean. As you can see, the 4487857 only shows up after i did enter the formula again.
I also did add a picture of my settings.
​
I don't have Excel in front of me but from the ribbon it's something like:
Formulas > Calculation Options > Automatic
is activated. did not solve it
OK interesting. If you go Formulas > Calculate Now
, does that force update?
Basically your Excel is glitching. If you haven't already, try fully closing Excel down (so that you don't see it in [PC] Task Manager > Processes / [Mac] Activity Monitor) and reopening. Otherwise, how often do you fully turn off your computer - if it's been on/sleeping for a few days then try fully turning off and on. Modern Excel seems to go wibbly after a lot of up time.
Okay not sure why it's exhibiting that behavior since you mentioned it's Number not Text. But if I had to fix this quickly, I would do a Find and Replace (Ctrl+H shortcut) - find "=" and replace with "=" would kind of make it reenter all the formulas.
Had the same problem today and this worked for me. Good tip, thanks!
Well that worked.
You sound pissed and satisfied at the same time 😂
Also check for any circular references.
There arent any.
Check if the format of the cells is text and if so, change it
It is not text sadly. it is set as number
Another trick is to show formulas (formulas menu), copy & paste into notepad, copy & paste back into Excel.
So I'm working on a new thing for fun and I left it alone for a day and today I'm coming back to it and I can't input a formula in some of the cells. Originally I only had formulas in the rows that show #
and those seem to be working I would manually enter the letters in the input cells but I decided to work on an addition and put equations in the orange input cells but they're not calculating. If I put in =3+6
I get =3+6
instead of 9
Try holding the control key and hitting Tilda.
CTRL + ~
You completely saved the day for my work spreadsheet.
i almost shit my 5k ultra running inseams from this problem... but thanks to you I wiped it up instantly. May the Gu Gods bless you & never run out of Gu on your ultras.
old post but thank you!
Select any cell where formula is there. Right click, format cells, click General and then Ok. Then ctrl+F2
excellent
Solution Verified
/u/JaFakeItTillYouJaMak - Your post was submitted successfully.
Please read these reminders and edit to fix your post where necessary:
Solution Verified
to close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Put a ‘ in front of the formula. Hit enter. Change the format to general. Get rid of the ‘ in front of the formula. Hit enter. Don’t ask, but it works.
this saved my life today. thank you!
No worries. It's not needed often, but when it is, it can cause tremendous frustration. It's funny because I was just telling my wife that I answered this question about 5 years ago, but consistently get 1 or 2 thank yous each year. It's a pretty obscure issue but causes lots of pain if you don't know how to deal with it.
Uaaaaaa... Works perfectly!!! Amazing!!!
Saved my life.
[removed]
You just need to use only this formula in Conditional Formatting and remove anything what you have used, and when next pay period arrives just filp it. =DAY($C7)<16
=DAY($C7)>15
Watch the animation:
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
|Fewer Letters|More Letters| |-------|---------|---| |DAY|Converts a serial number to a day of the month| |EOMONTH|Returns the serial number of the last day of the month before or after a specified number of months| |IF|Specifies a logical test to perform| |OR|Returns TRUE if any argument is TRUE| |TODAY|Returns the serial number of today's date|
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
^(Beep-boop, I am a helper bot. Please do not verify me as a solution.)
^(5 acronyms in this thread; )^(the most compressed thread commented on today)^( has 42 acronyms.)
^([Thread #44622 for this sub, first seen 3rd Aug 2025, 20:32])
^[FAQ] ^([Full list]) ^[Contact] ^([Source code])
This post has been removed due to Rule 1 - Poor Post Title.
Please post with a title that clearly describes the issue.
The title of your post should be a clear summary of your issue. It should not be your supposed solution, or just a function mention, or a vague how to. A good title is generally summed up in a sentence from questions posed in your post.
Here's a long example and a short example of good posts.
Rules are enforced to promote high quality posts for the community and to ensure questions can be easily navigated and referenced for future use. See the Posting Guidelines for more details, and tips on how to make great posts.
To our users, please report poorly titled posts rather than answer them, they will be removed along with the answers.
Yeah, that would be a reasonable way to do it, I think
make a post, do not hijack a post
If you want to relate the conditional formatting to the current pay period then don't you need to reference today's date in the formula?
This should format dates outside the current period, assuming you are only showing the current month
=IF(DAY(TODAY())<16,DAY($C7)>15,DAY($C7)<16)
or to exclude any other dates, even outside the current month
=EOMONTH($C7,-1)+15*(DAY($C7)>15)<>EOMONTH(TODAY(),-1)+15*(DAY(TODAY())>15)
I'm working with a large number of sheets, and it's becoming a pain to test that the formulas actually produce the desired result.
Is this a common pain point for you all as well? If so, what are some strategies and/or tools you use to validate and test the inputs and outputs for your spreadsheets?
Пиши формулы двумя разными способами и сверяй результат. Например query и filter.
Если формула сложная, я пользуюсь конструкцией:
=arrayformula(let( isDebug; true;
out; "some formula"; debug; "debug data formula";
if(isDebug;debug;out) ))
В ней считаю основное, плюс в debug вывожу все промежуточные вычисления, комментарии и т.п. Это очень помогает в отладке и поиске проблем в релизной версии
At first, I'm usually just doing filtering or manual calcs to ensure things are working properly. You could also try AI and tell it your formula and what you're trying to do to get the result. They're good 'ol chatGPT but also formula bots like Coefficient's GPT Copilot.
I use 2 digit years in a personal spreadsheet as I don't need 4. I get notified of another formula error so when I do the error checking, it stops on my 2 digit years. I go to Options and uncheck the 2 digit year one and no other errors are found. I save my spreadsheet. When I open it again, that error is checked again. Why doesn't my spreadsheet keep what I changed in Options? I have MS 365.
Do not use 2 digit years..
You will only get out of Excel the quality of the data you input.
Do not take shortcuts..
The main issue is unchecking a box in Options won't save. What's the point of having the box the check/uncheck?
It is my personal spreadsheet and I like to see dates how I have them. They are not sorted, just column headings.
Excel serializes dates and times. It cannot determine if 22 is 1922 or 2022. Math requires data to be normalized.
You can apply a format to the cells if you really need to see them as a two-digit number.
Excel doesn't recognize your entitlement.
how to troubleshoot excel formulas
Key Considerations for Troubleshooting Excel Formulas
Check for Errors: Look for common error messages like #VALUE!
, #DIV/0!
, #N/A
, or #REF!
. Each indicates a specific issue:
#VALUE!
: Wrong type of argument or operand.#DIV/0!
: Division by zero.#N/A
: A value is not available.#REF!
: Invalid cell reference.Formula Auditing Tools: Use Excel's built-in auditing tools:
Check Cell References: Ensure that cell references are correct (absolute vs. relative). Use $
to lock references if needed.
Parentheses and Order of Operations: Verify that parentheses are correctly placed and that the order of operations is respected (PEMDAS/BODMAS).
Data Types: Ensure that the data types in your cells are appropriate for the operations being performed (e.g., numbers vs. text).
Formatting Issues: Sometimes, numbers may be formatted as text. Use the VALUE()
function to convert text to numbers if necessary.
Recalculate Workbook: If formulas are not updating, press F9
to recalculate the workbook.
Recommendation: Start by using the "Evaluate Formula" tool to pinpoint where the formula is failing. This step-by-step evaluation can often reveal hidden issues that are not immediately obvious. Additionally, double-check your data types and cell references, as these are common culprits in formula errors.
Get more comprehensive results summarized by our most cutting edge AI model. Plus deep Youtube search.