I have two versions of a workbook that we've run the "compare documents" function on, and therefore have a list of which cells which are different.
We would like to now format just these cells.
How do I use the content of one cell as the range to find on another sheet.
e.g. The content of cell A1 on Sheet1 is "B15". I want to activate cell B15 on Sheet2 (and then format it, and then loop, etc. but it's just that first referencing part I need).
Related
I have an Excel workbook that contains a number of individual worksheets. The cells on one of the sheets are linked to individual cells on other worksheet in the same workbook. I'm using a direct cell reference that essentially says that whatever value is entered into a particular cell on one sheet also populates cells on the other sheet. I used the (=) function with the cell reference to accomplish this.
The issue I'm running into is that, even when the primary cell is left blank, the cells that populate from that primary cell will display 0, rather than a text that I want to be display like: "No data here" .
I want the subordinate cells to display "No data here" if the primary cell they're linked to are blank.
Is there a way of doing this?
Use the ! operator to reference cells on other worksheets.
So you can construct the formula like this:
=IF(Sheet1!A1="","Source cell is blank",Sheet1!A1)
Obviously, replace "Sheet1" with the name of your source data sheet.
For example, lets say I have 2 sheet: Sheet-1 and Sheet-2. I want to have a cell in Sheet-2 reference a cell in Sheet-1, but I want to do it with a quick copy motion on the cell in Sheet-1.
The reason I need this is because as I type in the information in one sheet this data is needed in other sheets as well. I want to quickly copy the cell with its address and paste it in my other sheets.
I'm looking for a quick shortcut, no formulas.
I thought this would be easy, but haven't figured it out on my own or found an existing answer online.
I have a worksheet set up to create charts from the contents of certain cells in a table. I'd like to be able to point one cell to a value in another worksheet and have all the related cell populate with the values using the formula in the one cell as an address reference.
For example, if I put the formula ='Source Data'!G19 in cell E3, I would like cell E4 below it to act like it has the formula ='Source Data'!G20 (one row below in the Source Data worksheet) and populate that value while cell F3 to the right would act like it had the formula ='Source Data'!H20 in it. So the new worksheet would just mirror the table of data from the Source Data worksheet for as many columns or rows as I need.
I'd tried to figure this out with offset, indirect, match and address functions, but have failed.
It is important to note that the formula needs to be able to identify the actual cell address, not just match the value from the formula because the same values show up multiple times in the Source Data worksheet.
Any help or direction is greatly appreciated.
Here's my approach:
I have a workbook with 2 spreadsheets Source Data and Results, on Source Data, I have the "Static" table that contains all my values from A1 to D12(This can be any number of cells, as long as you use an equal range in the Results sheet).
On Results, Cell A1 is reserved for the "guide" cell from Source Data, written in the following format: ''Source Data'!A1 (note the two single quotes at the begging). I chose to start at Cell B2 on the Results sheet, you can switch the formula however you like.
The desired result is achieved by using the following formula on B2:
=IF(CELL("contents",OFFSET(INDIRECT($A$1),ROW(B2)-2,COLUMN(B2)-2))<>0,CELL("contents",OFFSET(INDIRECT($A$1),ROW(B2)-2,COLUMN(B2)-2)),"")
then drag down and to the right the same number of maximum cells that exist on Source Data and the result will adjust accordingly.
I prepared a Google Sheets document with all of the information.
Is there a way to make the substitute function target cells that the formula isn't written in.
So an example would be cell A1 contains "A" but when cell B1 contains "A" cell A1 changes to "x"
The substitute function does this but I want to be able use the formula typed in a cell of my choosing.
No function can change a value in another cell. Functions only return values to the cell in which they reside. You need to change the cell manually or with VBA, or better yet, revise your data architecture to work with Excel, not against it.
I'm working in Excel 2010, and my question is how do I make a cell (say on one sheet to equal a specific value placed on another sheet). I thought the following formula would do it but it doesn't work.
=IF(COUNTIF(Name,$A2)=1,VLOOKUP($A2,Name,2,FALSE),''))
If I understand your question, you simply want one cell to represent the value of another cell from another sheet? If so, the formula will look like this: =[name of sheet]![cell reference] EG: =sheet2!A1
If used in cell A1 on sheet 1, this would put the value of cell A1 from sheet2 into A1 of sheet 1.
If you modify your question so that you reference the actual sheets & cells you're interested in, I can help you with the formula.
You can easily facilitate this by writing your formula in the bar, then when you need to reference a cell on a different sheet, simply navigate to the sheet & cell to insert it's address into the formula, then carry on with your formula if necessary.