Linking Cells So That Changing One Changes Another And Vice Versa
Apr 9, 2014
I am looking for a code that will be able to link cells H9:I14 on Sheet 1 with cells H7:I12 on Sheet 2 of the same workbook so that if I change H9 on Sheet 1, H7 on Sheet 2 will show the same figure and alternatively if I change H7 on Sheet 2, H9 on Sheet 1 will show the same figure. If this could work for all 12 of the cells and their equivalents respectively.
Furthermore, If a blank column or row is inserted, hence the cells move, the link will remain useable.
I have plenty of different columns throughout the workbook where this needs to be done so I imagine I can just adjust the code as necessary to incorporate different cells.
View 3 Replies
ADVERTISEMENT
Dec 11, 2006
Let's say that row a,b,and c contain a list price, discount %, and discount price respectively. I want to be able to change either the discount % and it will recalculate the discount price or change the discount price and it will recalculate the discount %. So to put it more clearly:
cells in row A: Contain the List (undiscounted) price. This will never change.
cells in row B: Will be a discount %. It is equal to:
(list price - discounted price)/list price. needs to be recalculated if discounted price changes. Also, it should only contain data if the cell in Row A - list price - contains data.
All cells in row C: Will be a discount price. It is equal to:
(1-discount %)*list price. needs to be recalculated if discount % changes. Also, it should only contain data if the cell in Row A - list price - contains data.
View 9 Replies
View Related
Feb 12, 2007
How can I separate a text or a number. For example in column A I have a data written like these 123text, text1234, 123text123, 123-text and in column B I only want to put the text or the number only so it means that if I have in column A "123text" in column B I only want to put "text" word. Another information is that the number is not always 3 number and the text is not always 4 character.
View 9 Replies
View Related
Aug 22, 2008
I need to have a formula or code so that when a number is entered in cell E12 or F12 or L12, or M12 would treat a positive number as a negative and a negative number entered would be a positive in that respective cell.
View 9 Replies
View Related
Jun 3, 2009
I've attached a sample/equivalent workbook of what I'm working on which will hopefully make it clear(er).
>There are two worksheets/month. Both worksheets (represent 2 different categories) are structured the same, two columns: model code & $ amount. >The model codes change (in # and actual model), between categories and month.
>The data for each month rolls up into a year-to-date summary worksheet, with 4 columns: Model (includes all models YTD, each only listed once), category1 YTD, category 2 YTD, & Total YTD).
Previously this had been done by manually entering any new models for the month into the rows in the YTD summary sheet. And the totals for each model (highlighted in yellow in the YTD tab in my sample) were just done by an adding formula, with the new month's data manually entered into each individual cell at the end of the formula (...+X). I know there's a much better way to do/automate this! (there are a lot more models than I've put in my sample aka it's way too time consuming manually).
My problem is twofold:
1. (main issue) I have been trying to do this using various IF statements nested in VLOOKUPS, and vice versa, but the issue that arises is for models in the summary sheet that don't exist in a given (month's) table. I want the value for those models (for that specific month) to be zero, but I cannot figure out how to get that to work in my formula. The only piece that works for me thus far is =VLOOKUP(A3, 'Jan Cat1'!A2:B18, 2, FALSE), but I've tried nesting it in IF statements, nesting IF statements in it, using ANDs & ORs, no avail.
I'm not even sure any of these options are the best ways to reach what I'm ultimately trying to do. A pivot table may be better? But I will need to keep/preserve the summary sheet for each month (so there cannot just be one big updated master pivot table).
2. If I could find a way to automate/refresh & update the row of models each month, it would be the sprinkles on the icing of this cupcake.
View 10 Replies
View Related
Jun 16, 2014
How do i turn column letters to numbers and vice versa
take y values from column and take x values from row
I have 'resolved' values in column A1:A10
I have 'received' values in row B11:K11
I need to fill out a table using the tables axis values stored in the column and row above.
View 3 Replies
View Related
Jul 1, 2008
I have a column of numbers such as
1001150
1001124
2224445
I need add a period in the following locations
10011.50
10011.24
22244.45
I figured this out using a format rule of
#.##
I then need to make the numbers negative so I did
-#.##
but this doesn't "stick", if I filter the numbers by negative numbers, none of them show up. So how do I make the formatting actually become the numbers? Auto Merged Post Until 24 Hrs Passes;After doing some more research I found the "precision as displayed" option. I can't find this option on Excel 2007, but I moved the files into 2003 and the option doesn't do anything. It is not permanently changing the column that I have added the formatting too.
View 4 Replies
View Related
Feb 5, 2010
Attached is the sample data worksheet. Chart 1 is XY type chart using Seconds (2nd column of sample sheet as x-axis from 42510 to 42530). How do I change it to Line chart using Time (1st column of sample sheet as the X-axis) retaining same data from 42510 to 42530 on both primary and secondary axis?. And how do I again change it back to XY chart?
View 3 Replies
View Related
Feb 18, 2014
I have a workbook that uses the values that a user had entered into 3 cells to calculate multiple other charts/diagrams on multiple sheets within the workbook. Each sheet would show what the user had entered in the 3 cells to allow them to see what is being used to calculate each table. Is it possible to link these cells so that the user can change the 3 values without having to go back to where he originally entered the 3 values?
For example, a user has entered in 3 values in Sheet 1. A formula in Sheet 2 displays what is entered by the user and uses these calls in Sheet 2 for calculations. When the user wants to change the three values, he would have to navigate to Sheet 1 and enter in the new values to have the workbook recalculate all the tables. Is there a way to link the three cells from Sheet 1 and Sheet 2 so when the user is on Sheet 2, he has the opportunity to change the values on the current Sheet without having to navigate to Sheet 1 to do so?
View 1 Replies
View Related
Apr 24, 2009
In column F I have values (eighter 4 or -4)
Is it possible to use countif to count how many time there is s a switch from 4 to -4 and visa versa.
View 9 Replies
View Related
Dec 2, 2008
I'm wondering if there is a way of linking to cells by looking up part of the link in another cell. E.g.In Sheet1, cell A1, i have some data that I want link to from Sheet2. Normally I'd do that by using "=Sheet1!A1" in the cell in Sheet2.
But I'd like to lookup the "A1" part of the link from two different cells in Sheet 2. Something like: =Sheet1!(Text from B1 in Sheet2 AND Text from A2 in Sheet2)
or: =Sheet1!(Sheet2!B1&Sheet2!A2). So that if Sheet2!B1 would contain an "A", and Sheet2!A2 would contain a "1" the resulting link would be the correct "=Sheet1!A1"
View 4 Replies
View Related
Sep 9, 2007
how do I go about linking cells?
Example:
Lets say I have a workbook with 6 sheets on it and the sheets names are:
Sheet1
Sheet2
Sheet3
Sheet4
Sheet5
Status
And we will just use cell A1 through sheet1 to sheet5 and the status sheet to grab the numbers from sheet 1 through sheet5
Sheet1 through sheet5 will have numbers in cells A1
Sheet1 : 586
Sheet2 : 436
Sheet3 : 621
Sheet4 : 610
Sheet5: 561
And in the status sheet I would like to find the highest number from these 5 sheets and put it in cell A1 status sheet and have it linkable like when it finds the highest number it will put it in cell A1 on the status sheet and when I click on the A1 cell in the status sheet I would like it to goto that sheet that has the highest number it found and maybe highlight it or something.
View 9 Replies
View Related
Jun 26, 2008
I need to have three rows link to each other. The first column cell A is a paste link and is always changing. The second B is a vlookup referenceing A and finding it in a changing table...the source for the paste link. C needs to follow the other two cells and remain "attached" to it. However, C has to be a cell that is hardcoded somewhere, meaning that C is not found in the source data and must be determined by a person. I have tried to link the sheets through vlookups and other formulas, however, this only works when the data is sorted and nothing new is added. I need a static sheet that can take in new values. I need to create some sort of relationship between the cells
View 14 Replies
View Related
Mar 6, 2013
I have list of names of people in a billboards league. Directly to the right of everyone's name in the adjacent cell is their "win percentage". These percentages are sorted in descending order and I need the names to move along with the adjacent cell as the percentages change. When i merge the cells things get really messy.
View 1 Replies
View Related
Jul 10, 2014
I have a VBA code that pulls a value from a single cell on a separate tab. Instead of just pulling the value (ex. 3.44589348) is there a way to have it pull the value as a link to the other tab? It still would display the number but if you click on the cell it would display =Sheet2!A1 (for example).
View 4 Replies
View Related
Dec 6, 2011
How do I link two cells so that when I change one value the other changes and vice versa?
How about 3 cells?
Example:
Cells A1, A2 and A3 are all the same part number, but in diffrent catagories. If I used a part and reduce my number in A2 I want it to reflect the change in A1 and A3. The next day I use a part and reduce it in A1 and I want the new value to reflect in A2 and A3.
I can make it so A2 will equal A1, but if I was to update the value at A2 it overwrites the formula.
View 4 Replies
View Related
Apr 15, 2013
I am trying to link data from one workbook into another and get it to work but it puts in sample data or dates which I dont want. How can I set it up were the cells are blank until data is input in the main sheet and then linked to the destination sheet?
View 4 Replies
View Related
Mar 12, 2009
i am trying to get data from my original (vertical data) to copy to other group of cells (horizontal) without having to refer to every single cell to be copied. is there a way to get excel to do something like this: if b12=x then c12=next - but for 5 rows.
i am such a excel newb but i have asked some guys who say they know excel and i left them scratching their heads. i have all the data in i need in other sheets.
View 9 Replies
View Related
Jan 23, 2010
when i try to link a merged cell to retrieve result, i get cell ref for both cells, i only like to see B7 not B7:E7.
Summary C708 Spreadsheet FormulasCellFormulaC7='Abode Homewares Pty Ltd'!B7:E7 Excel tables to the web >> Excel Jeanie HTML 4
View 9 Replies
View Related
Jul 14, 2006
how to link cells such as one cell with a date and an adjacent cell with data so that while I am rearranging the data in various ways the date that corresponds with the data stays with it as it moves around while I am sorting the data.
View 2 Replies
View Related
Jul 22, 2006
Not long ago i received this code (from Dave Hawley... thanks!) for a single cell referencing an entire column of cells.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 5 Then Worksheets(2).Range("B1") = Target
End Sub
...which worked great!
But I'm also using an Excel compatible handheld pocket PC version which does not support VBA. Sadly my options are very limited.
Is there an equivalent to typing " =Sheet1!A1 " in the formula bar, but that will allow for more than one cell, (or an entire column) to be referenced to a single cell?
View 9 Replies
View Related
May 1, 2014
I have a master tab that has data grouped as follows
Column 1
title of a section (written once then left blank for the rest of a section)
Column 2
numerous descriptors (each in a new row)
Column 3
The response to the descriptors in column 2
I want to link entire sections from column 2 and 3 into different excel files so that if I make changes to column 2 or 3 in the master tab, the changes are made to all tabs. If there is a way, I'd like it if I add a row to the master, it is automatically added to the others.
View 2 Replies
View Related
May 25, 2008
I am linking several cells in Sheet1 to other sheets throughout the workbook. Sheets2-10 to be exact. The problem is when no data is in a given cell in Sheet1 a '0' shows up on the linked cell in Sheet2-10. The problem is 0 can be a correct response sometimes and if 0 is always to show up someone is going to misunderstand the task.
I just want to stop blank entries from being linked over as 0. I have a ton of cells being linked and don't want to do conditional formatting on each individual cell. Is their any easy way to stop this?
View 10 Replies
View Related
Dec 5, 2008
I am working on a resource model for my company. Essentially it is a list of contractors in the company with their daily rates and start and end dates. I have attached a sample spreadsheet. As you can see, all the information has already been populated with the cost of each contractor per month (formula used - daily rate*18.8 [days worked per month]). Now what I need to do is make the spreadsheet dynamic so if for some reason a contractor end date is changed (contract terminated earlier or contract has been extended) it needs to be reflected on the cost per month columns.
As an example, on the first row the contract period is from Dec 08 to June 09. If it is decided the contractor is now only needed until Feb 09, I need to have that automatically updated so all the figures are deleted in the March, April, May and June columns. Second example, on the first row if the contract period is from Dec 08 to June 09. If it is decided the contractor is now needed until July 09, I need to have that automatically updated with his monthly cost assuming the contractor has worked full time for that month (18.8 days).
View 5 Replies
View Related
Jul 22, 2013
I would like to link two cells which are in different workbooks / Files. Now this is something I already know how to do, however there is complication and I am not sure if the following is possible. I would like to link these cells so that they stay linked even if the file name of the source cell changes. I am not sure if thats possible or how to go about it if it is. This sort of thing is possible (although a different concept) in the Solid Modeling program Solidworks. Often times assemblies are created using a number of files. When the filename of one subcomponent is changed, or the file is relocated the final assembly will no longer work. So a method has been created to automatically update the link if the file is moved or renamed.
I would like to be able to do this in excel. ( I should note that I was only using Solidworks as a reference, it really has nothing to do with what I want out of excel, the data will not have anything to do with solidworks or its files, it will be simple numbers letters and formulas that I wish to link between workbooks)
View 1 Replies
View Related
Sep 7, 2008
I have seen alot of questions about linking max and min values of axis on charts to cell values. But what i need is the opposite. I have a graph that will automatically change its max and min values for the axis, but what i need is to be able to have a cell show what these values are, so basically the reverse of what people normally want.
View 9 Replies
View Related
Jul 20, 2006
I had inquired on the setup of linking multiple cells to a single cell, in which Dave Hawley graciously provided me with the following code.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 5 Then Worksheets(2).Range("B1") = Target
End Sub
What changes would I need to make in order to replace the cell B1 of Worksheet2 , with a textbox on Worksheet2?
View 2 Replies
View Related
Aug 9, 2006
I have multiple workbook files using the same template but saved under different files names usually by date. I need to summarize the data in a summary worksheet that pulls the same cells from the various individual closed workbooks. I need to be able to insert the file's path as an input to pulling data from a cell or cells.
View 8 Replies
View Related
May 7, 2009
I am trying to link a range of cells from one sheet that contain various dates to another sheet in the same workbook. Some of the cells are empty. I select the source cells (say, F8-F19), copy, select target worksheet, Paste Special (and select Paste Link button). Target cells display accurate date information that updates as source cells are changed, however, any source cells that were blank now read 1-Jan-04. I have checked to ensure that all source/target cells have the same formatting (Number-Date).
When trying to Paste Special values and/or number formats only, the option to Paste Link is no longer available. How can I link the cells so that blank source cells result in blank target cells? Issue seems similar to: http://www.excelforum.com/excel-gene...worksheet.html
View 3 Replies
View Related
Mar 8, 2008
I’m having problems linking data from various worksheets to one master worksheet, all in the same workbook. The workbook contains swimmers PB’s (personal best times) for each stroke and after each gala the swimmers new time is entered onto the worksheet. The worksheet data is then sorted so that the fastest swimmer is at the top.
The master worksheet contains all swimmers by name (alphabetically) and their best times for each stroke, what I am trying to do is have the master worksheet update automatically when I enter the swimmers new PB’s in the individual stroke worksheets, this works when I use ’Paste Special’, but when I go to sort the data with the fastest swimmer at the top, the data in the master worksheet does not reflect the correct times.
View 9 Replies
View Related