Excel 2013 :: Simple Date Arithmetic - Circular Reference?
Aug 10, 2014
Here is a very simple workbook/sheet with some simple date arithmetic.
I keep getting the warning that there's a circular reference in C2.
Either I need to suppress the warning so vba loops can run or PREFERABLY I'd get rid of the "circular reference".
Run with Excel 2013.
View 14 Replies
ADVERTISEMENT
Aug 14, 2006
I have the following formula in cell L51 of all sheets calculating the volume depending on the monthly index that is chosen from the drop down menu in a particular sheet. =If(MIndex=0, SUM(D33:L50),If(MIndex=1,SUM(D34:L50),If(MIndex=2,SUM(D35:L50), 0))). I am getting the following message and I do not understand what it is about.
Microsoft Office Excel cannot calculate a formula. Cell references in the formula refer to the formula's result, creating a circular reference. Try one of the following
View 3 Replies
View Related
Dec 8, 2013
Several places on my spread sheets I need to compare an action date to today's date.
I use: [Code] .....
in one cell and the fomulas to compare a date in a different cell to that cell.
I get the message "Circular References" for the cell the the above "today()" formula.
I do not get circular references in the cell that refer to the today cell, just the today cell.
View 4 Replies
View Related
Aug 7, 2014
I have two columns of data; one is in inches, one is in metres. If someone is inputting data from an original source that has the data in metres I want excel to automatically calculate and input the data into the inches column. Additionally, if they input the data from the source in inches, I want excel to convert it to metres and input into the other column automatically. The conversion factor from inches to metres is * by 0.0254. I am no expert but after looking for this on the internet I am sure this requires some sort of VBA event code (although I don't really know the first thing about VBA). The excel columns will be in the same worksheet. I don't have a circular reference like I would do using normal Excel formula? I am using Excel 2010.
View 2 Replies
View Related
Jul 23, 2014
I need to switch between less than or greater than in my formula based on user selected drop down that gives the user two options "" My formula has "
View 9 Replies
View Related
Jul 24, 2013
The spreadsheet works in Excel 2000 when you open it in any newer version it is corrupted. Which is fine so we are rewriting it in Excel 2010/2013.
We have data in columns A:E which comes from the refreshable query. Data in F:I are different formulas based on the data from the query. The number of rows we get will vary from query to query. The headers never change just the data. How can we make it so that when no matter the data length the formulas will always autofill up or down depending on the data length?
View 9 Replies
View Related
Jul 4, 2014
I am completely new to Macro's and VB and the macro below has been generated using the "Record Macro" function in Excel 2013 with a couple of very minor modifications based on some research I have done (hyperlink & input box). My ultimate goal is to make a copy of my "TEMPLATE", which is hidden and the copy could have a variety of names, then create an entry in my "SUMMARY" table that references cells on the newly created sheet. The new entry on the SUMMARY page should be entered in the next available row ... at the moment I need to make sure I have my cursor in the right place before I run the macro. I also want the first cell in the new "SUMMARY" row to create a hyperlink to the newly created worksheet.
The macro does what I need it to do, as long as I name the new sheet "Test", what I would like is for the Macro to recognise the name of the new worksheet and create links to that name. The rows and columns in each new sheet will remain the same, hence the R##C## part will always work.
The "SUMMARY" and "TEMPLATE" worksheet names will not (ever) change.
View 4 Replies
View Related
Jun 28, 2013
I don't have Excel 2013 so unfortunately I can't easily create relational data in Excel 2010. I'm looking for a solution to a design problem. I'd like to have 2 tables which I can join with Microsoft Query and run pivot table reports.
My department processes payments, both for internal clients and external clients. My Payments table looks like:
Date | Type (internal/external) | Operation (what type of payment) | Method (internet, mail, etc) | Quantity
Additionally, I have a table for Mail Opening, which looks like:
Date | Employee | Operation | Quantity
My overlapping fields are Date and Operation. Using each table individually, I can get nice pivot table reports. What I'd like to do though is be able to not just see what operations and methods were run each day with what quantities, but also to compare that to how much mail was opened. Employee and Operation is a multi-multi relationship, so when I join by date, I end up getting incorrect numbers because of problems with the data layout. I'm open to changing my data structure, as I know the way it's set up right now isn't great, but I'm having a mental block on how to redesign it. I attached a sample workbook.
View 3 Replies
View Related
Mar 26, 2009
=INDEX(INDIRECT('Quote Detail IP'!$C$10&'Quote Detail IP'!$C$5&"!$A:$DC"),MATCH(B1,INDEX(INDIRECT('Quote Detail IP'!$C$10&'Quote Detail IP'!$C$5&"!$A:$DC"),,1),0),MATCH(A1,INDEX(INDIRECT('Quote Detail IP'!$C$10&'Quote Detail IP'!$C$5&"!$A:$DC"),1,),0))
Where
A1= "M16" and B2= "185%RPIT630"
'Quote Detail IP'!$C$10&'Quote Detail IP'!$C$5=QxTermAge63
Can some on tell me why this is raising a Circular Reference!!
View 9 Replies
View Related
May 9, 2008
I'm trying to update a cell with today's date based on the choice from a drop-down list in the neighboring cell, but only if the cell is empty.
Source list for cell B2:Rcvd
Passed
Returned
Flagged
If Rcvd is chosen from the drop-down list, put today's date in A1, but only if A1 is not already populated. Don't do anything if any of the other 3 options are chosen.
I can't seem to use the A1 cell in a conditional statement to check it's status without creating a circular reference.
Trying to do it without resorting to VB.
View 9 Replies
View Related
Jun 25, 2009
Let's say I have a sheet called Category. Column A contains code; column B contains description. Now I have another sheet in which either column F contains a category code or column G contains a category description. I want to look up the code in column F if the description is given or the description in column G if the code is given. I thought I might be able to do something like:
in F2: IF($G2<>"",INDEX(Category!A:A,MATCH($G2,Category!$B:$B,0)),"")
in G2: IF($F2<>"",INDEX(Category!B:B,MATCH($F2,Category!$A:$A,0)),"")
(and then copy the formulae down the rest of the columns of course). In other words, if the cells were both empty then there would be no common dependency; it would just set them both to empty. However, if I provided either value then it would overwrite the formula in that cell so there would be only one formula left and nothing to be circular dependent about.
However, it must be looking at the condition itself and seeing the two columns in common because it is coming up with a circular dependency. I thought I might be able to trick it by having IF(INDEX($G:$G,ROW())<>"",... but it still doesn't work.
This sort of situation must crop up from time to time. How do we get around it?
View 3 Replies
View Related
Apr 20, 2007
I have 2 cells which I will select on a work book; (say A1 and A2). A1 is the input cell and the formula and the result generated is in A2.
Suppose I input 3 in A1 and A2 shows 60, what I also want to do is input 60 in A2, which should show me 3 in A1, without destroying the formulas.
In short both cells will have formula and both cells will be input cells for each other.
View 9 Replies
View Related
May 20, 2009
I need to get .02 of a total.
But I need to add this number without getting a circular reference.
View 9 Replies
View Related
May 17, 2007
i got three cells namely; M7, AC7 and BA7. Initially, an input value is entered in cell M7 which will be processed to give AC7. An IF function is entered in cell BA7. This IF function is really simple. It states that IF the difference between the values of M7 and AC7 is greater than 1 then, decrease 0.01 from M7, otherwise, retain the value of M7. The syntax is:
=IF((M7-AC7)>1, M7-0.01, M7)
As I told you, it is really simple and looks fine. I have no problem with it so far. The problem came about when I tried to make the circular reference. I am trying to make M7 to equal BA7. Well, before I made the circular reference, I made a manual entering of the values of cell M7. What I have done was that I put a value like 29.94 in M7 then I let the calculation to proceed. The the value that I get in BA7 (i.e. 29.93), I re-entered it in M7 then I repeated the process until I got a value (i.e. 29.90) that was not changing due to the use of the IF function. The manual calculations are shown in Table2 of the attached file.
I said to myself instead of entering the values manually, I can use a circular reference so that the cell M7 = cell BA7. Unfortunatelly, the circulation of the values instead of giving me 29.90 which is the right answer, it gave me 29.89 which ment that Excel has done one more step further of the IF function. In other words, Excel should have stopped decreasing 0.01 from M7 when M7-AC7 was less than one. This is achieved at M7=29.90 (as clearly seen in Table2). However, Excel went one step further and done: BA7=29.90-0.01=29.89 then it stopped subtraction at 29.89 which is not correct.
View 9 Replies
View Related
Sep 25, 2007
I've often lurked in the background here and have found great solutions to my problems from the ozgrid FAQ's and email outs.
I have a custom VBA formula that has a heap of ranges as inputs. I loop through one range then perform calculation on the other ranges in the formula.
The formula is to work on 2 sets of data, 1 with more columns than the other. I've set Optional variables for the unnecessary columns.
For some reason I keep getting circular references on the 2nd set of Data.
I've attached the spreadsheet (stripped down) to show both examples.
I'm absolutely confused why the "teaching" one calculates correctly and "support" gives a Circular reference error.
I've set the Iteration in options and this corrects it, however I'd like to know why one works perfect and the other fails?
View 9 Replies
View Related
Aug 9, 2008
How do I add the "Circular Reference" permanently to my excel tool bar? Every time i need to use this tool I have to do the following:
-tools
-customize
-check the "circular reference"
-close
..it appears and I can use it. Then after i type something in another cell it disappears again! I would like it to ALWAYS be in the tool bar as a standard item even when opening a new book/ sheet or whatever. I want it to be a standard tool.
View 4 Replies
View Related
Mar 2, 2014
This formula might be the problem for the error message.
SUMPRODUCT((MOD(COLUMN(C3:CO3)-COLUMN(OFFSET(C3:CO3,,,1,1)),3)=0)*C3:CO3)
I have other cells with the same formula (but with different range i.e. D3:CP3), yet it doesn't have circular reference error message.
View 2 Replies
View Related
Nov 3, 2009
I have these cells:
http://img194.imageshack.us/img194/427/excelj.jpg
The two center cells are the average of the top, bottom, left, and right cells. Of course the two center cells will therefore reference each other.
I enabled iteration in Excel options but it will not calculate the answer. I am getting a #value error. I checked the cells, the equation is right and they are all numbers.
What am i doing wrong?
See the work book. I had to rewrite everything manually to get it to work (But I have a HUUUGE matrix and rewriting everything will take forever) Please look at the work book and tell me why one group of cells is returning answers and hte other is returning a #value error.
View 14 Replies
View Related
Aug 24, 2011
Is there anyway to create a circular reference between three cells, and still enter text freely into any of the cells?
I've speculated that it might be possible by utilizing three or more other cells slaved to the first three, and simply kept off to the side.
To give a better understanding of what I'm trying to do, I've created a finance spreadsheet for our shop's snack bar, and below is a screenshot of a portion of said spreadsheet.
As you can see, all of the formulas are set up to where Columns F, G, and H are directly affected by what I put in Column E, but I don't want to be limited to just Column E; I want the other users and I to have more freedom than that.
Once again, my goal is to set up a 3-cell circular reference in which data can be typed into any of them. I've considered setting up a macro, but those are only active temporarily, and I would prefer the calculations to be made in real-time.
View 2 Replies
View Related
Sep 4, 2009
I'm at my wits end trying to work out why I'm getting a circular reference when this code runs:
Private Sub TextBox1_Change()
Cells(Rows.Count, "K").End(xlUp).Offset(1).Value = Range(TextBox1.LinkedCell).Value
With Range("K5").Resize(40, 1)
.FormulaR1C1 = "=OFFSET(" & Cells(Rows.Count, "K").End(xlUp).Address(True, True, xlR1C1) & ",-(ROW(RC)-ROW(R5C)+1),0,1,1)"
.Value = .Value
End With
End Sub
The circular reference cell is K29. I have an "X" in K46 after which all the values in TextBox1 are copied.
View 9 Replies
View Related
Jan 10, 2010
if i enter a value in 1 cell and want it to increase by a percentage how can this be done without having a sum column etc
View 9 Replies
View Related
Jun 12, 2007
Workbook attached. Workbook contains 53 sheets. 52 sheets are identical and represent one sheet for each week of the year. At the bottom of each column is a SUMIF function that member JimFuller1 showed me how to use. The 53rd sheet is where I would like to calculate all of the totals (per item and per first-aid kit) I tried using the same SUMIF principal, applying it to all sheets but I keep getting a circular reference. I asked a coworker of mine and he said that it was due to the fact that the cells I am trying to put in the SUMIF function allready are part of a different SUMIF formula.
View 3 Replies
View Related
Feb 25, 2008
I'm looking for a macro that changes Iterations from 100 to 10. I have a circular reference that I can't seem to completely remove, so my endusers complain about the pop-up warning. I know I need to resolve the circular ref issue, but in the meantime I would like to create a button that makes it easy for an enduser to change the Iterations with one click. A secondary question is, "Am I sacrificing significant accuracy by limiting Iterations from 100 to 10? I'm dealing with $'s, so the nearest penny is good enough.
View 2 Replies
View Related
Jan 30, 2014
I need to set the dates on a tracking sheet to turn red after that date passes, I have tried using conditional formatting - Highlight cell rules - Greater than, but this hasn't worked.
It is excel 2013,
View 8 Replies
View Related
Sep 25, 2007
I'm working on creating a custom formula that loops through each row of data and performs a range of calculations when a common number appears in a field (payroll number).
The formula is being applied to 2 sets of data, both are similar however 1 has a few more fields.
When I use the custom formula in the 2nd dataset I keep getting a Circular Reference.
I have attached a stripped down version of the whole spreadsheet, which just relates to the part causing the problems.
On the sheet 'Teaching (Yr1)', the calculation works fine.
On the sheet 'Support (Yr1)', the calculation doesn't and Excel prompts with a Circular Reference.
I've tried using the Circular Reference toolbar to trace the predecessors, however it doesn't highlight what they are. All the inputs are blue, and none of them perform any calculations on the cell/column with the formula in it (unless I'm being exceedingly blind!)
Excel gives the following message ...
Originally Posted by Excel
Excel cannot calculate a formula. There is a circular reference in an open workbook, but the references that cause it cannot be listed for you.
I've spent many hours (probably 10+!) debugging the formula trying to ascertain why it's happening and I'm stumped! I've run through all the named ranges, I've changed the formula and still no success.
What I have noticed though, that for some reason the same formula is 'called' multiple times, in fact 3 to be precise.
When I enable Tools -> Options -> Calculation -> Iteration, the formula calculates, however whenever the spreadsheet does an full calculation, it reverts back to #VALUE!
View 9 Replies
View Related
Jan 2, 2006
I've a workbook and it has two sheets. Suppose, I want to link A1(sheet1) and a1(sheet2). If I update any of the cells in any of the sheets the other one will be updated automatically. How can this be possible? Or are there any other alternatives?
View 14 Replies
View Related
Jan 11, 2007
if this is possible without becoming a circular reference.
Aim: to have a Macro that takes user selected cell and converts it the result and place it back in the same cell.
Example: could have a typed value in A10 say 500, and when the cell i selected and the Macro is run is converts the value by B10 (.5) and places the value back into A10. ie A10= A10*B10 (250)
I know this is a circular reference but could the macro say take the Value A10 and hold it in a temporary string of some sort before calculating and then returning the new value in there?
View 9 Replies
View Related
Mar 4, 2014
I have a big spreadsheet with IT / Finance data. Below is the formula, I currently have. I am summing column Y in Tab Savings Data Detail, where column A does not equal Parent, and The Value in Column AK on the Savings data details tab matches the value in current tab for cell B26 and where column G on the savings detail tab equals Transition to IT. I am adding that value to the second sumifs statement essentially the values in column X on the savings detail tab with the same criteria.
Now I need to add to each of these formulas. I need to sum only the values where the date value in column W on the data details tab is greater than or equal to 01/01/2013 and less than or equal to 12/31/2013
find the easiest way?
=SUMIFS('savings data details'!$Y:$Y,'savings data details'!$A:$A,"Parent",'savings data details'!$AK:$AK,$B26,'savings data details'!$G:$G,"Transition to IT")+
SUMIFS('savings data details'!$X:$X,'savings data details'!$A:$A,"Parent",'savings data details'!$AK:$AK,$B26,'savings data details'!$G:$G,"Transition to IT")
View 1 Replies
View Related
Mar 16, 2009
Excel 2003 > Attached is a small model of what I am trying to accomplish. Cells B2 and B4 contain the same formula … a formula that calls a simple function. The function has a variable passed to it … and the value of that variable changes depending on the location of the cell. Now, see the function in Module1 … it is called CellCalc. If the variable passed = Jim then value = 3. If the variable passed = Jack then value = 8. That is straightforward.
Note also that when Sheet1 is activated, I calculate the cells from left to right and top to bottom … that is important. Here is the challenge. If B2 > 1 then I want to add B2 to B4 and set B2 to 1. I can set B4 properly but I cannot reset B2. You can see my 2 attempts that are commented out. Is there some way of accomplishing this … or am I simply stuck in a circular reference?
The alternative to this is to write a function that operates externally on these cells. That will work for sure but then the values of the calculations will overwrite the functions in those cells, thereby taking away the dynamic nature of this application.
View 4 Replies
View Related
Mar 13, 2009
way of supressing the Circular Reference Warning on Workbook Open?
View 9 Replies
View Related