Solved

Why am I getting the wrong value

Posted on 2014-10-04
10
72 Views
Last Modified: 2014-10-06
am trying to bring values from the Master worksheet into the Budget worksheet.  I'm sure I have the  right formula but the resulting value is wrong.  What am I doing wrong.

 Budget-question.jpg
Also, I recently put a formula in a cell but the formula displayed, not the value. How do I make the value display?
0
Comment
Question by:mikecox_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40361481
Is it possible that Calculation is set to manual?  

Press [F9] and see if the value changes.  If so - and it's correct - set the calculation mode to Automatic.
Menu: File - Options - Formulas (on left) - Workbook Calculation section - "Automatic" checkbox.

If not, we'll probably need to see an example workbook.

Regards,
-Glenn
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40361482
Another possibility:  Are these two different workbooks?  The title bars on the two windows show different names:
* "Master Budget 2012-2013"
* "Master Budget"
0
 
LVL 15

Expert Comment

by:WalkaboutTigger
ID: 40361483
What is the formula in the Budget worksheet in cell B7?

What is the formula which is displaying as a formula instead of a value?  If that cell's data type set to Text or General?  It should be set to General.

What version of Excel are you using?
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40361486
@WalkaboutTigger:  The formula is Master!T16.  However, it is not clear that this the same workbook.

Additionally, the formula in "Master Budget" cell B7 is in a section titled "2013-2014", yet the value highlighted in the other workbook (2,137) is in a workbook titled "Master Budget 2012-2013".
0
 
LVL 33

Expert Comment

by:Paul Sauvé
ID: 40361541
On the left, we see the file name "Master Budget 2012-2013" above cell A15...

On the right, we see the file name "Master Budget" above cell A2...

Copy cell T16 in the file Master Budget 2012-2013 and paste to cell B7 in file Master Budget!

Now you should see ='[Master Budget 2012-201]Master'!$T$16 rather than =Master$T$16...
0
 

Author Comment

by:mikecox_
ID: 40362185
Ok, I see the problem. Glenn got it right, I am trying to import data from Master Budget 2012-2013

Paul, I tried your formula
=[Master Budget 2012-2013]Master!$T$16 but is isn't working.  I also tried
='[Master Budget 2012-2013]'Master!$T$16

Did I enter it wrong?

As I understand it, now, brackets allow the user to get data into a workbook, from a different workbook.

Anyone got an answer for
"Also, I recently put a formula in a cell but the formula displayed, not the value. How do I make the value display? "
0
 
LVL 33

Assisted Solution

by:Paul Sauvé
Paul Sauvé earned 200 total points
ID: 40362310
Sorry:
>>Copy cell T16 in the file Master Budget 2012-2013 and paste to cell B7 in file Master Budget! is a mistake!


I didn't give this as a formula, it's an example, i.e. what you SHOULD see if you correctly do the following...
I suggest:
1. go to to cell B7 in file Master Budget" and type =

2. now, go to the file Master Budget 2012-2013 and click on the cell T16

3. Enter on the keyboard
Now you should see something similar to what I have shown above...
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 300 total points
ID: 40362332
Mike,

It's easier to set up cross-workbook references when both files are open.  Once you create the formula references correctly, Excel will retain the filepath of the referenced (and possibly closed) workbook in the formula.  Of course, if the source file is moved or deleted, this won't work.

If you tried to enter the formula directly without the second file open, that would explain why your second attempt did not work; you didn't include the full filepath.

Paul's last suggestion will guarantee that the formula is built correctly (i.e., have both workbooks open, enter an equal sign in B7 of "Master Expenses", switch to the other workbook, click on cell T16 of the "Master" sheet in the "Master Budget 2012-2013.xlsx" workbook, press [Enter]).  If this does not work, then report back.
================================
As for your last question, one of three possibilities:
1) you did not include an equal sign at the front
2) there is an apostrophe in the front of the equal sign (not likely)
3) the cell is formatted as "Text" (see the cell formatting options to be sure)
4) formula display is turned on for the sheet (also not likely as ALL formulas on the sheet would be visible

Probably option 3. Select the cell in-question, then click on the "Home" menu tab and look in the 'Number" section on the ribbon.  If it says "Text" in the dropdown box on top, change it to "General".  If it doesn't change to a value, press [F2] and then [Enter].


-Glenn
0
 

Author Comment

by:mikecox_
ID: 40363833
Paul: Thanks; that made it perfectly clear and very informative; now I know how to create the formula without typing it out!
0
 

Author Closing Comment

by:mikecox_
ID: 40363865
Glenn ID'd the problem first and answered the second question.  
Paul explained how to generate a formula, guaranteed to be correct.
I would have given an A+ if it were available!
Thanks to you both.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question