Solved

Formula lost from cell and only value retained  Excel 2010

Posted on 2013-05-30
4
362 Views
Last Modified: 2013-06-19
I have at least to cells, formated as currency , locked and hidden.  Each has a formula that produces a correct value.  On save and re-load the formula is gone and only the value (still the originally correct one) is in the cell.  Any ideas on what causes this and how to prevent?

cell 1 formula:  =ROUND(IF(DHSConversionRateOKed,MAX((dhsEWBudgetCapConversion),(DailyNFRate*365/12)-VLOOKUP(IF(ISBLANK(CLServiceDate),TODAY(),CLServiceDate),MedicaidMaintReq,2,TRUE)),MIN((dhsEWBudgetCapConversion),(DailyNFRate*365/12)-VLOOKUP(IF(ISBLANK(CLServiceDate),TODAY(),CLServiceDate),MedicaidMaintReq,2,TRUE))),2)

Cell 2 Formula: =ROUND(xlsProposedCLRateAdjustedforDaysAbsent,2)

Precedents are ok;  These had been control sources for form text boxes, though other cells that are control sources and had formulas did not loose their formulas
0
Comment
Question by:MJDercks
  • 2
  • 2
4 Comments
 
LVL 85

Assisted Solution

by:Rory Archibald
Rory Archibald earned 495 total points
ID: 39207947
Are they still used as controlsources for textboxes on any forms? That can cause the behaviour you describe.
0
 

Assisted Solution

by:MJDercks
MJDercks earned 0 total points
ID: 39208694
The contols were locked so could not change, but guessing this might be the problem, I used the initialize event to set the values instead of being a control source,  This seems to have fixed the issue so far.
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 495 total points
ID: 39208987
As a general rule of thumb, I recommend not binding any controls to cells directly.
0
 

Author Closing Comment

by:MJDercks
ID: 39258790
I determined my solution before the expert and mine is more specific on what the problem is and a work-around.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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