Why Are Formulas Automatically Overwritten By Result
Apr 7, 2004
When I enter a formula into a cell, for instance; (d27*d28/144)*d23, and then enter a number into cell d23, the formula gets replaced by the value of the result automatically.
I've searched the help files and found no setting that does this. It reminds me of an old question I've had lingering since I've used excel and that is why sometimes when you enter a math calculation, for intance; =25/5, the number 5 is entered into the cell instead of the formula.
After I posted the above, the problem magically went away until.....
This is boggling my mind. The problem is back.
The wierd thing is I copy a known good formula to one of these cells, for a split second you can see the formula in the formula window and then it gets changed automatically to the result of the formula. Formula is gone!
Then I tried this:
I set security to high (I had it on Low) and of course my macros would not run, but this did not clear up the problem. However when I set security back to low, it now seems to be working good. I am scepticle (sp.?) though because the problem is very random.
Could I have a virus?
View 9 Replies
ADVERTISEMENT
Apr 25, 2014
I have excel result sheet which contains students information. i.e. name, subjects and their corresponding marks, grade, percentage etc. So from that sheet I want to print result cards for each students separately from the data (result sheet).
View 4 Replies
View Related
Aug 2, 2007
I am trying to work out if there is an excel formula to calculate the below.....
I have 2 cells A & B and if i divide A by B and the result is 0 (ie there being 0 in both A & B) I get a #DIV/O! result when I need it to show a 0
View 9 Replies
View Related
Mar 8, 2007
I tried doing Ctrl + ~, but it did not work
View 14 Replies
View Related
Feb 20, 2009
I am trying to create a user form, and need to admit at this point that unfortunately I have no knowledge of VBA - bog standard excel formulae are what I know!
I am trying to create a section for people to enter an address, and in itself this is quite straightforward, but I want to be able to enter faint text in the cells as an information instruction that will disappear as someone starts to type in that cell. Can anyone help with a method that would work within Excel versions 2000, 2003 & 2007? (I realise that I could insert a comment, but it's not an obvious instruction, and given the Excel knowledge of a lot of people who will be using this form, it would be completely overlooked!)
View 9 Replies
View Related
Oct 31, 2006
Is there a way to embolden/highlight/colour, etc. a cell and its contents when a formula in that cell has been overwritten with text?
View 2 Replies
View Related
Apr 1, 2009
There is a clever piece of conditional formatting designed to show if a formula has been overwritten. It works by creating a range called (say) CellHasFormula and then entering =GET.CELLl(48,Indirect("rc",false)) in the reference box. In the cell you wish to conditionally format you enter =CellHasFormula. If the formula in that cell is overwritten, then the conditional formatting is displayed.
View 4 Replies
View Related
Nov 28, 2011
I have 2 opened workbooks. Call them BookCopy.xls and BookPaste.xls.
In BookCopy.xls I have filtered data which I want to copy ("shtCopy") and insert into a particular row in sheet ("shtPaste") in BookPaste.xls.
"shtPaste" already has data in it. Hence when I paste the data in, I don't want the existing data to be overwritten.
View 9 Replies
View Related
Mar 3, 2014
How can I copy the result of a cell into another cell automatically.
I have a formula that builds a description of a product using the contents of a bunch of cells
I can copy and paste the value but how do i get the cell to do that by itself.
View 2 Replies
View Related
Mar 31, 2013
I have a file of company name exactly duplicated. Within each duplicate set of rows each row can have a different account code (number).
I need to normalise all rows to one account code (any one will do - I can actually do this bit using some commercial software so this bit can be skipped as part of this thread) but also keep every variation/different account code in an 'audit trail' field for each row.
The attached sample file shows the input and desired output i would like.
View 1 Replies
View Related
May 12, 2014
I want to make a spreadsheet with bets of mine and my friends (picture). How to make cells D4, D5, etc., change to Win or Loss depending on the result?
Attached Image : Bets.jpg
View 7 Replies
View Related
Jun 5, 2014
I want to be able to enter a value into a cell (within a specified range) and have it automatically multiply by a set value and overwrite the original entry with the result so making it all happen within one cell. The set value would be another cell on that sheet.
So the range for example is "H17:H74" and the value I want to multiply by is "D8"
Is this possible?
I've looked at another forum but it wasn't working when I wanted to define the set value as a cell.
View 5 Replies
View Related
Oct 26, 2008
What i would like to do is Hide Rows Based on Cell Value in Multiple Sheets & Multiple Columns
and i need the macro to be fast
Sheet1
If the value in Range BE11:BE160 equals 1 dont hide the row
If the value is 0 or then hide the row
Sheet2
If the value in Range BE11:BE160 equals 1 dont hide the row
if the value is 0 or then hide the row
Sheet3
If the value in Range BE11:BE160 equals 1 dont hide the row
if the value is 0 or then hide the row
Sheet4
If the value in Range O1:O150 equals 1 dont hide the row
if the value is 0 or then hide the row
Sheet4
If the value in Range B1:B150 equals 1 dont hide the row
if the value is 0 or then hide the row
View 3 Replies
View Related
May 16, 2009
The following code works perfect but the "change" event is only triggered when working directly on intersect range. Tried using the "calculation" event but could not figure it out. This is what I want:
1) To replace the code provided below using the calculation event
2) To only trigger the event for the row(s) where the new value was generated, not for the whole "For Each" statement
3) To use one single code for all worksheets, instead of copying the code in every working worksheet on the workbook, if feasible
4) And I would like a "second alternative", where the user of the workbook can click on a button and trigger the event on every row on the workbook that has a non empty cell within the intersect range, assuming that the intersect range column is the same for all worksheets
Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range, d As Range, fc As Long, bc As Long, bf As Boolean
Set d = Intersect(Range("I:I"), Target)
If d Is Nothing Then Exit Sub
For Each c In d
Select Case UCase(c)
Case "C"
fc = 1: fb = True: bc = 4
Case "O"
fc = 2: fb = True: bc = 3
Case "D"
fc = 2: fb = True: bc = 46
Case "G"
fc = 2: fb = True: bc = 5..................
View 4 Replies
View Related
Jun 26, 2006
I currently have an excel file set up which is refreshing imported data every minute from a server. This data is located on " sheet 1".
This data is the result of another system constantly monitoring (pulling data from) the process at my factory. It consists of temperatures, speeds and other settings.
When a temperature, speed or setting changes then it will be captured by the monitoring system and therefore my excel sheet will load it into the imported data within the next minute.
I would like to be able to capture the change in temperature, for example, if it goes into alarm and automatically send an email reporting this alarm. This alarm is captured in my imported data in a specific column with a 1. If it is out of alarm it is 0. There will not be a report of an item, at any one time, with both a 0 or 1... so there is only one case of any one monitored process.
I have a pivot table set up to filter all the uneeded data out and I currently refresh it manually to show the current status of all alarms. If an alarm occurs on the process, I can refresh my pivot table and it will be indicated with a 1 until it is refreshed again (and the alarm is gone).
So the question:
1. How can I refresh the pivot table automatically every x seconds?
2. How can I automatically send an email on the value change from 0 to 1 in case of an alarm?
View 3 Replies
View Related
Mar 30, 2007
I have a dynamic range that is 19 columns wide with the height defined by the last filled cell in Column B.
Columns A, O, P, Q, and R contain formulas that need to be autofilled every time a new record is added to the list (i.e. a new row is added to the range) - this seems like it should be so simple, but I can't seem to find out how to do it?
Some extra details in case they are needed -
- Column B will always contain data for every row that I need A, O, P, Q and R to have their respective formulas copied into
- I'd like the formulas to appear as soon as the data goes into Column B - regardless of what else is entered into the row
- Multiple identical records will sometimes be entered at the same time (i.e. by highlighting multiple rows and using Ctrl-Enter) - I need the formulas to autofill all of the affected rows.
View 5 Replies
View Related
Sep 6, 2007
Right now I have a spreadsheet where I have a person enter in 4 differant values in 4 adjacent cells of a row, then in another 4 adjacent cells of the same row calculations are done with respect to the 4 rows of entered information then displayed. Is there a more effective way in placing and copying these formulas in the last 4 adjacent cells rather then just copying the formula into the first 3000 or so rows of cells?
I say 3000 because each project is differant and will require a differant amount of rows, but by copying the formula, even little IF statements, slows down the program and makes printing a hassle.
View 9 Replies
View Related
Sep 10, 2006
I have 2 WorkBook, Division.xls and Department.xls. The Sheet1 in the Department is linked & getting the values from Sheet1 in the Division & works fine. But if there is a change in Division workbook, its not affecting here immediately. When i close the Department.xls and open again, i can find the latest values. I thought the links to the other sheets or workbooks will be updated when i press the save button. So I used the SendKeys "^S" in the VBA. But it fails. Is there any way to mention through VBA code to update the recent values to the Department workbook from Division.
View 7 Replies
View Related
Jun 25, 2008
I'm using a heavy excel file and I have linked some cells in one sheet to other worksheets in the same file. My problem is that when I change the value in some cells they do not change in the other cells linked to the ones I have modified.
View 7 Replies
View Related
Mar 26, 2014
I've just started working on an FTE calculator and wish to populate a 12 month calendar with FTE depending on the start and finshed dates.
FTE Calculator non nursing.xlsx
I've attached the file. In Column D the user would select the month the staff start and in the Column E the month the staff will finish. I would like the fte that is calculated in Column Z then to populate in the 12 columns AB:AM (Jul to Jun) with corresponding month start and finish.
View 2 Replies
View Related
Jul 3, 2012
Using Microsoft Excel 2007 and all of a sudden, my spreadsheets are not automatically calculating the formulas. It does not matter if I have other workbooks open or not. I still get the problem. It does not happen 100% of the time to make it even more complicated.
- Calulation set to auto in Excel Options.
- No VBA functions being used. I can the worksheet summing 1 + 1 and get the error periodically. It does not have to do with the spreadsheet being too complicated.
- Even if I can hit Ctrl-Alt-F9 to force the formulas to calculate, it won't work.
View 2 Replies
View Related
Jun 6, 2014
I am copy/pasting a new column of data (F). I have three formulas MIN,AVE,MAX watching each row in the columns "=MIN(B2:E2)" or example. When I insert the new column F, the formulas give me the "Formula Omits Adjacent Cell" warning. I don't want to turn off the warning; I want to know if there is a way for the formulas to automatically include the new data? Do I need a Worksheet Event for this?
View 3 Replies
View Related
Feb 18, 2010
This may be an easy answer, but I haven't been able to figure it out. I have a cumulative page of formulas that reads "SHEET1!B8+SHEET!B9". I need the next row formula to reference "SHEET1!B47+SHEET1!B48", and then "SHEET1!B86+SHEET1!B87". Each row the formula moves 39 rows on sheet 1. Is there a way to get excel to automatically do this, so I don't have to go line by line?
View 9 Replies
View Related
May 14, 2009
What I would like to do is on a sheet when I insert a new row that it will "FILL" the formulas that are the row above it. For example I have cells A1-F1. On cell A1 there is 1, B1 there is 2...etc. When I then insert a new row I would like the row below A1-F1 to read. A2 = 2, B2=3 so it had a linear growth. I want to do this with my formulas so whenever someone adds a new line it knows to copy the formula as well but only in certain cells if possible.
View 9 Replies
View Related
Oct 18, 2008
I have a 2 columns (A and B) next to each other that is using a Sum formula and other multiplying formulas. They reference 3 cells in a different column (C) to come up up with the answer for A and B. Therefore A1 and B1 reference C1 C2 and C3 (and possibly if want to use in future column D with D1 D2 D3).
Then in A2 and B2 I want to reference from C4, C5, C6
Then in A3 and A4 I want to reference from C7, C78, C9 etc.... and so on...
Instead of retyping formulas for each row in A and B, I want to copy down, but I getting the wrong answer when I do that.
I am therefore assuming I typing the formula wrong. How do I type it correctly so the cell reference changes automatically when I pull down columns A and B?
Formula for Column A: =SUM($G28:$G30)
Forumla for Column B: =($G28*$H28+$G29*$H29+$G30*$H30)/$B17
Therefore next row should be referenced from G31 to G33 and H31 to H33
But when I copy it only adjusts it for 1 reference down.
View 11 Replies
View Related
Jun 9, 2014
I want to make an excel workbook for a client. What I want to do with it is make a set of instructions telling them to add or insert as many rows in specific categories I have made for them. These options differ depending on the different duties performed. There will be an associated number (value for that duty, ex. duty might be Janitor and the number would be like 5 dollars per hour, so on and so forth), I want to make it to where there is a code that notices more rows and adds more IF statements or whatever statements are needed to keep adding those extra options. These values are connected to a data validation list that drives the if statement.
View 4 Replies
View Related
Dec 17, 2009
I am creating a time sheet for a supplier & when the supplier enters a date into column A I would like a new line to be inserted below & include the formatting, formulas & data validation from the row above.
View 7 Replies
View Related
Jan 28, 2014
If I have a worksheet and it has 100 rows, I would like for column D to auto-populate with a predetermined formula all the way down to row 100, not row 101.
View 3 Replies
View Related
Jul 11, 2014
I have this spreadsheet that I am creating schedules for my employees since our scheduling software at work is horrible to work with. It calculates total hours for each employee at the far right of the rows, and calculates total hours for each day in the columns. The formulas that calculate the hours for each day is set up to automatically deduct 30 minutes from a shift, for lunch, if they're scheduled for more than 5 hours (the gray shaded employee rows are for managers and that only deducts 30 mins if they're shift exceeds 8 hours).
I'm familiar enough to put somewhat complex formulas together, but I don't understand it enough to always make them work correctly. What I'm wanting to be able to do is add or subtract entire rows (add new employees or remove old), and have my formulas for calculating the total hours to still work. Right now if I delete a row the cell with the formula in it says #REF!. I can fix this by going through the formula and manually deleting everything in that contains those other cells, but the formula is huge, and it's pretty tedious going through the whole thing when it feels like there should be a simpler way of doing it.
TLDR: I want to be able to add/remove a row and have my cells currently on row 36 update the formula correctly.
View 3 Replies
View Related
Jul 11, 2012
I am using excel 2007 and when I change cells my formulas do not automatically refresh. I have set it to automatic and the calculations will not refresh. How I can force a calculation. I did the control alt f9 and nothing seems to work. Any macro that can force all calculations.
View 4 Replies
View Related