How To Track Which Tab Uses Current Cell

Mar 14, 2014

I tried to use Formulas -> Trace Dependents to find which cells is linked to the current cell.

Excel only shows it is linked to the other tab, but don't tell me which tab exactly. How to find the tab which is linked to current cell?

View 3 Replies


ADVERTISEMENT

VBA Codes (track Changes) On One Cell

Feb 21, 2009

I created a financial forecast model from scratch. The model is self-contained and has no external links.

Backgrounder

Before firing a question at you, let me explain briefly how the model works. I have an assumptions tab, several costs tab from various departments that ultimately feed the Results tab (target price on a monthly basis) . Let's assume that my target price is on line 200. To me more specific, for Jan09, the target price is on B200, Feb09 on C200 and so on.

Management will feed the model themselves, given that they are assigned specific areas that they can input their forecast.

Issue or question to you

I would like to track historical changes to the price on line 200 on my target page. That is for every individual change and their impact on price.

To illustrate this let assume the following:

Let say User A made several changes on his forecast, I would like the macro to automatically record the individual change that has been made and the impact it had on the target price on line 200.

Assume that User A made two changes on his forecasting sheet. He increased the cost of supplies by $50,000 (on one cell) and increased the cost of labour by $10,000 (on another cell).

What I would love to have is a macro that would record the changes that User A changed; (i.e. cell, tab, user) after he entered the $50,000 and after he entered the $10,000. This would be recorded on a separate sheet.

Thus, immediately he entered the $50,000 on the cell and press it would record the change and the impact it had on price on the target page. Then when he entered the $10,000, it would do the same.

The format of the "changes sheet" that would contain the changes would look something like this:

USER..Date..Cell changed...Tab..From value..To value. Price Before Price after Impact (Price before less price after)

I am aware that there's a lot of details but if you don't understand the issue, it's very difficult for you to resolve.

I assume that it requires a VBA code of some sort to set this up. Given that I am not familiar (a true dummy) with VBA, I would need like a step by step instruction.

View 9 Replies View Related

Track Changes Detail In A Cell

Jul 29, 2006

Is there any way to capture the comment that comes when we use "Track Changes", the date & time when the cell content changes should be retrieved in the adjacent automatically. Is there any way to do it using formulas/ VB code.

View 7 Replies View Related

Excel 2003 :: Reverse Track If Value In A Cell Is Used By Formula Elsewhere

Sep 25, 2012

I am using Excel 2003. Looking for a way to find out whether some data I want to delete in a sheet is used by a formula somewhere else within the file. Is there a way to check that? In other words, I have the number 500 in A1, and I want to delete it, but I don't know whether it will impact a calculation on another sheet that involves that value in A1.

View 4 Replies View Related

Calculate Maximum / Minimum Value Of Current Value Based On Current Value And Previous Value In Data

Jan 6, 2013

I have series of data values like below. I have to find Maximum, Minimum values for each of these values.

9430
9822
10070

[Code].....

View 2 Replies View Related

How To Expand Cell Selection From Current Cell To Bottom Of Spreadsheet

Jan 24, 2013

I would like to know if there is a way to expand the selection of cells from the current cell you are on to the very bottom cell available in the spreadsheet.

For example, I want to apply a formula from A12 - the very last A cell row in the spreadsheet.

View 1 Replies View Related

Find Last Number In Row / Add 1 To Current Cell (if Another Cell In That Column Has Text)

May 23, 2014

file storage

1. Look at the "Days so far" section

2. Ignore cell C1

3. All the other cells in that row are shaded blue. Look at these.

4. Look at the "Volunteer" row - all the cells in that row are shaded blue. Look at these.

5. Wherever a name - any name - appears in the "Volunteer" row, 1 is added to the previous number in the "Days so far" section and the result is displayed in cell from the "Days so far" row above that Volunteer's name.

6. For example, we begin in C1 with a count of 12 days so far - this was manually entered

7. In cell H5, we see Henry has volunteered 1 day. The total no. of days so far should now be 12+1. Therefore, the number in H1 should be 13.

8. In cell G47, we see Joseph has volunteered 1 day. The total number of days volunteered BEFORE Joseph volunteered is 15 (see cell D43). But now, with Joseph volunteering 1 day, the total no. of days so far should now be 15+1. Therefore, the number in G43 should be 16.

9. what formula l must put in the "Days so far" row (excluding cell C1, which is manually input) to give me the "should be" results predicted in that row? I'm guessing it will be a formula which looks at each row fragment of the "Days so far" row, row by row, right up to the previous cell in that row, all within one formula.

P.S. I just want to leave the "Days so far" row blank, for any columns where there are no volunteers in the "Volunteer" row, so please don't give a formula which inserts zero for days with no volunteer, and then sums the cumulative total.

View 5 Replies View Related

VBA To Move Shape From Current Cell Position To Cell 1 Row Up

Nov 11, 2008

I require a macro to enable a selected shape to be moved from current cell location to relative position but 1 row up. eg topleft address = A4 and shift shape to topleft address = A3

View 5 Replies View Related

Autofit Only Current Cell Column To That Cell Width

Dec 15, 2011

When I'm moving around in an Excel sheet, I want to have a keyboard shortcut that Autofits only the column I am "in", and only to the width of the cell I'm "in". So I can arrow-key into a cell, hit ctrl-shift-W or whatever, and the column will autofit.

I try Cells.EntireColumn.AutoFit but that's not what I want, it autofits every column. Sometimes this is not appropriate and I want to do it manually for the columns I want auto-fit.

I guess the more general question is how do I write VBA code for the column I am in and not every column or a specific column - not Columns("A:I") or whatever, it's going to be a different column every time depending on what cell I'm editing.

View 2 Replies View Related

Looping Down Through Worksheet While Condition Next Cell > Current Cell

Aug 27, 2008

I have 2 workbooks, A (source) and B (destination).
Workbook A has 1 sheet named 'master' and has 10 columns a:j

I would like to copy a range of data in worksheet 'master' for entire 10 columns while the cell value (moving down worksheet) of the next cell in column A is greeater than the current cell. eg. if cell values of range a1:a6 = 1 then cell value a7 =2, then copy range a1:j6 to workbook B in sheet 'r1'.

Then I would like to go back to Workbook A sheet 'master' and begin process again starting from where it left off at a7.

View 9 Replies View Related

Last Occupied Cell To The Left And Equal To Or Above Current Cell

Nov 22, 2009

I've been pounding away at a project for two days trying to determine a way to identify a solution, to no avail.

Here is some experimental code. Under the assumption that in Column "A", every fifth line contains some text (a, b, c, etc) I want to place a function in column B that would identify the closest occupied cell above and to the left of the cell containing the function. The sub achieves this, but the function has a problem because of the Activecell line. Is there a way to identify the location of the cell containing the function to act as a reference point for the range?

Sub find_last_heading()
Application.ScreenUpdating = False
x = ActiveCell.Address
ActiveCell.Offset(0, -1).Select
last_heading = ActiveCell.Text
Do Until last_heading ""
ActiveCell.Offset(-1, 0).Select
last_heading = ActiveCell.Text
Loop
MsgBox last_heading
Range(x).Select
End Sub
Function cathead(Optional reference)

Dim cell

View 9 Replies View Related

Conditional Formatting If Current Cell Contains X And Another Cell Contains Y

Jun 3, 2014

A question regarding conditional formatting. Here is my current situation.

A
B

1
Name
DOB

2
John
01/01/01

3
Jack
02/01/01

4
John
01/01/01

I want it so that when there are 2 of the same names with the same DOB that all of those fields in A will be highlighted.

View 1 Replies View Related

Increase Current Cell ONLY When Different Than Target Cell

Jul 27, 2007

I am looking for a way to avoid the circular reference issue. I would like to monitor a cell that is being incremented and decremented so that I can automatically retain the highest and the lowest values that were entered into that specific cell over time. Since the data is only entered into that specific cell and not retained in for example a column, the MAX/MIN option is not usable in this case.

More simply stated, is there a way to put a formula in a specific cell ( A1 ) that will equal the target cell ( B1 ) only when that target cell ( B1 ) is greater than A1?

View 9 Replies View Related

Cell To Add Current Time

Sep 12, 2008

How do I write formula in excel cell to add current time, example 1100 + 42 minutes. 42 minutes is standard to add.

example:
1032 + 42=1114
1200 +42=1242
930 +42 = 1012
1400 +42 = 1442

View 5 Replies View Related

Return Cell Value Of Current Row

Jun 17, 2006

Is it possible to setup a formula or maybe a custom function that will return column B's value of the current row you are working on?

For example, say a user is editing J9 or K9. I want for range G6 to give the B9's value. So in this case, it G6 would have 110000 because 110000 is what is in G6. Then if the user went down to J11 or K11, G6 would change to the value of B11.

I'm doing this to remind the users what job number they are working on without having to scroll back or have the whole row highlighted.

View 5 Replies View Related

Lock Current Row Based On Cell Value

Jul 16, 2012

I need to have a current row password protected when the value in ActiveCell.Offset(0, 0).Value = "Close"
but just to lock that current row. What I have is a close button on a userform that changes the ActiveCell.Offset(0, 0).Value = "Close", i just need to add another line of code to lock the row.

VB: ActiveCell.Offset(0, 0).Value = "Close" (And lock current row With password 123)

View 2 Replies View Related

For Each Cell In Range Put Current Row Into String

Sep 15, 2014

In the code below how do I get the Current ROW number the "For Each Cell in Rng" is processing

I tried "cRow = rng.row" but it's only showing the starting row not the current row of CELL

VB:

Sub Process Range()
Dim startCol As String
Dim startRow As Long
Dim lastRow As Long
Dim lastCol As Long
Dim myCol As String

[Code]...

View 2 Replies View Related

Current Year In Cell Not 1900

Jan 15, 2009

I've conditioned formated some cells so that someone can type a number in and a date will appear in the cell.

Problem is if someone types 20 in the cell.. excel reverts back to Jan-20-1900

How can I get the current month and year when a number is typed in the cell?

Did excel exsist in the 1900?

SOLVED
Solution - I used the if command in A2 like this

View 6 Replies View Related

Manipulate Current & Last Values Of A Cell

Mar 8, 2009

In Cell B1 I'm trying manipulate (either sum or find the difference for) the current and most recent prior values of Cell A1. The value in Cell A1 changes frecuently because it gets its values from a DDE link.

How do I :

1. Display in Cell B1 the current change in value of Cell A1 ?
2. Display in Cell C1 the sum of changes which have taken place in Cell B1 ?
3. Ideally I'd like to also be able to manually reset the value of Cell C1 to zero at any time.

I think this is a macro, or array, or pivot table thing, and is probably simple, but all of that is well beyond my current skill level.

View 10 Replies View Related

Entering Current Folder Into A Cell

Oct 29, 2013

I have been looking for a way to enter the folder where the excel file is located into a cell.

I have seen you can add the whole path (=CELL("filename") ), however I am only wanting the 'last' folder it is in. For Example:

C:docsfolderdataClass D4John WayneProfile.xlsx

Would enter "John Wayne" into cell. The cell is namely the "name" cell.

I work in a school and a teacher is wanting a couple of different excel files for each student (600 students) I am hoping that I can put the files in a folder with the students name as the folder. That way at least its only 600 names and not 600x7! The other details are similar on a lot of the files such as class (this is also one of the folders in the path).

View 3 Replies View Related

Highlight Cell If It Is The Current Month?

Jan 23, 2014

I have a calendar where the months are listed at the top of the columns and the day of the week is listed in the row. The months and dates are all formatted as a date (Jan is 1/1/2014).

______Jan___Feb___Mar...
...
Tue____7_____4_____4
Wed ___8_____5_____5
Thu____9_____6_____6

I just need to highlight the cell with the name of the month if it is the current month. I'd prefer to use conditional formatting.

View 6 Replies View Related

Average From Minimum Row To Current Row In Another Cell?

Aug 4, 2012

I would like to generate an average of Row 1 to Current Row in a column. The Average column is the column that I would like to know how to generate.

Date
Value
Average

08/04/2012
5
5

08/04/2012
10
7.5

[code]....

I got close with =AVERAGE(OFFSET($D$1,COUNT($D$1:$D2),0,COUNT($D$1:$D2))), but after a couple rows of it being correct, the average starts to fall.

Using the above:

Value
Average
Should be

7.07
7.07
7.07

7.23
7.120
7.15

[code]....

View 2 Replies View Related

Creating Add Into Highlight Current Cell

May 15, 2014

i have been using the following function for quite a long. Now i want to make this an add-in, how can i do it.

---------------------------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = xlColorIndexNone
ActiveCell.EntireRow.Interior.ColorIndex = 15
End Sub
---------------------------------------------------------------------------------

if this doesn't work, any other way of getting a add-in that can highlight current cell.

View 2 Replies View Related

To Enter The Current Date In A Cell

Jan 21, 2008

I know there is a way to enter the current date in a cell.

But

Is there a way to prevent the previous dates enters from updating to the current dates evey day?

View 9 Replies View Related

Current Date In Adjoining Cell

May 19, 2008

Is there a formula that will enter the current date in a cell A1, when I enter text into the adjoining cell A2? I'm creating a log with notes and would like the current date to just appear when notes are entered in a cell.

View 9 Replies View Related

Current Selected Cell On Click

Feb 8, 2007

I want to color a row of cells a certain color when the user clicks on one of 5 buttons. If it is the "Purple" button I want the current row colored purple. The row has 5 cells in it from 1 to 5. I am having trouble finding the answer to knowing what row the current selection is. I can't find a way to pass the current row, col data to my routine. BTW, I recently changed from Office 97 to Office 2007. How do I set the properties of the button? I tried right click and properties but that only brings up the Worksheet properties. The properties button in the menu bar only brings up a font properties dialog.

View 3 Replies View Related

Return The Name Of Current Workbook In A Cell

Mar 22, 2007

i am using visual basic and i'm trying to return the name of current workbook in a cell, this is what i have so far.

Public Sub bookname()
Sheet8.Select
Range("a1").Select
Selection.Formula = "=MID(CELL("filename"), FIND("[",CELL("filename"))+1,(FIND("]",CELL("filename"))+1)-FIND("[",CELL("filename"))-2)"

End Sub

View 9 Replies View Related

Average Of Last 4 Cells That Match Current Cell

Jan 6, 2009

I am trying to do something with some data and I am not sure if it is possible. Even if it is, I have no idea how to do it. I was wondering if you could help.

I am trying to get an average of cells that are in the same row as the last 4 cells to match a certain criteria (which happens to be a cell).

Please see attached spreadsheet for example as it is very hard to explain.

D2 = the average of the next 4 figures in column E that are in the same row as the next 4 team names from column B to match B2

For example D2 would be equal to:
AVERAGE(E29+E48+E72+E86)

For example D86 would be equal to:
AVERAGE(E105+E122+E152+E177)

If this doesnt make sense, please ask and I will endeavour to make it clearer.

Example spreadsheet:
Spreadsheet attatched in post 4.

View 9 Replies View Related

Write Current Time Next To Changed Cell

Sep 21, 2009

In my spreadsheet, I want a macro to write date and time everytime the user change a cell with a list validation. On the table, the E column contains the status of each row. I want to know since when the status is that.

View 4 Replies View Related

Current Cell Position For A Non Active Worksheet

Dec 15, 2009

I need the cell address where the cursor is (in a non active worksheet).

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved