Excel Formula Issue

%3CLINGO-SUB%20id%3D%22lingo-sub-2807295%22%20slang%3D%22en-US%22%3EExcel%20Formula%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807295%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there!%3CBR%20%2F%3EI%20am%20completing%20a%20worksheet%20and%20m%20formula%20does%20not%20seem%20to%20be%20correct%2C%20although%20it%20does%20compute%20it.%3CBR%20%2F%3EI%20am%20getting%20an%20%22inconsistent%20calculated%20column%20formula%2C%22%20and%20I%20am%20not%20too%20sure%20what%20this%20may%20mean.%3CBR%20%2F%3EI%20know%20what%20numbers%20I%20must%20take%20to%20compute%20to%20solve%20for%20%22X%2C%22%20however%20I%20think%20I%20may%20be%20inputting%20the%20formula%20incorrectly%20to%20Excels%20standards.%3CBR%20%2F%3EThis%20is%20for%20an%20Income%20Statement%20and%20Balance%20Sheet.%3CBR%20%2F%3EPlease%20advise!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2807295%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2807333%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Formula%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2807333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1173683%22%20target%3D%22_blank%22%3E%40sunique%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20error%20occurs%20because%20you%20have%20a%20formula%20in%20only%204%20of%20the%20cells%20of%20the%20Actual%20Usage%20column%2C%20and%20it%20doesn't%20refer%20to%20cells%20in%20the%20same%20row.%3C%2FP%3E%0A%3CP%3ESelect%20I3.%3C%2FP%3E%0A%3CP%3EEnter%20the%20formula%20%3D%5B%40%5BBeginning%20Value%5D%5D%2B%5B%40Purchases%5D-%5B%40%5BEnding%20Value%5D%5D%3C%2FP%3E%0A%3CP%3EClick%20the%20error%20triangle%20and%20select%20'Restore%20to%20calculated%20column%20formula'%20from%20the%20popup%20menu.%3C%2FP%3E%0A%3CP%3EFill%20down%20from%20I3%20to%20I46%20(the%20last%20row%20of%20the%20table).%3C%2FP%3E%0A%3CP%3EAlso%2C%20you%20should%20not%20use%20SUM%20formulas%20in%20row%2041.%20Delete%20the%20word%20Totals%20and%20the%20SUM%20formulas%20in%20that%20row.%3C%2FP%3E%0A%3CP%3EInstead%2C%20activate%20the%20Table%20Design%20tab%20of%20the%20ribbon%20and%20tick%20the%20check%20box%20Total%20Row%20in%20the%20Table%20Style%20Options%20group.%3C%2FP%3E%0A%3CP%3EThis%20will%20add%20a%20new%20row%20to%20the%20table%20in%20row%2047.%3C%2FP%3E%0A%3CP%3EClick%20in%20the%20cell%20in%20row%2047%20of%26nbsp%3B%20each%20of%20the%20columns%20where%20you%20want%20a%20total%2C%20click%20the%20drop-down%20arrow%20in%20that%20cell%2C%20and%20select%20Sum%20from%20the%20drop-down%20menu.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi there!
I am completing a worksheet and m formula does not seem to be correct, although it does compute it.
I am getting an "inconsistent calculated column formula," and I am not too sure what this may mean.
I know what numbers I must take to compute to solve for "X," however I think I may be inputting the formula incorrectly to Excels standards.
This is for an Income Statement and Balance Sheet.
Please advise!

5 Replies

@sunique 

The error occurs because you have a formula in only 4 of the cells of the Actual Usage column, and it doesn't refer to cells in the same row.

Select I3.

Enter the formula =[@[Beginning Value]]+[@Purchases]-[@[Ending Value]]

Click the error triangle and select 'Restore to calculated column formula' from the popup menu.

Fill down from I3 to I46 (the last row of the table).

Also, you should not use SUM formulas in row 41. Delete the word Totals and the SUM formulas in that row.

Instead, activate the Table Design tab of the ribbon and tick the check box Total Row in the Table Style Options group.

This will add a new row to the table in row 47.

Click in the cell in row 47 of  each of the columns where you want a total, click the drop-down arrow in that cell, and select Sum from the drop-down menu.

@Hans Vogelaar
Thank you for your response! I appreciate it
I have given your suggestion a try and the 'error,' no longer shows up.
In relation to the 'Ending Value,' column, I simply too the unit price and the quantity in stock and multiplied them together, like so (10*10). It has given me 100, however would this be considered a proper formula?

@sunique 

No, proper formulas refer to other cells.

Select F3:F46.

Enter the formula

=MID([@[Unit Price]],2,FIND("/",[@[Unit Price]])-2)*[@[Quantity in Stock]]

and confirm it with Ctrl+Enter.

(It's complicated because the Unit Price column contains text instead of a number)

@Hans Vogelaar 
Thank you! I was able to get my same answers using the formula provided.
You're right, the formula is so complicated but I understand why.
If it did not have per, "kg, case, each," I could have used a more simplified formula, possibly even using for example, =D3*D6?
How do you generate these equations, especially for someone who is not used to the software?
Any tips?
To find the "Variance," I'm okay to use the standard, "actual usage-theoretical usage?"
e.g I3-J3?

@sunique 

If you didn't have kg, case etc., the formula could be

 

=[@[Unit Price]]*[@[Quantity in Stock]]

 

This way of referring to the columns of a table is called a structured reference. See Introduction to structured references.

You'll find lots of useful information about Excel formulas on that website.

 

The formula for variance could be

 

=[@[Actual Usage]]-[@[Theoretical Usage]]