I have cells O4: P23 blank in 'Sheet1'. I want the contents of these cells to be populated with the contents from cells B2: C21 (same size range) from 'Sheet2'. If I copy and paste the contents from Sheet2 in to the location I want in Sheet1, it works just like I want, but if I try to use referenced formulas in O4 of Sheet1, I get the #Value! error. I have tried this already:
='Sheet2'!B2:C21
This post has a similar problem, but the solutions listed seem like they are overcomplicated and I feel like it should be much easier than this. I am using Excel 2013 and the worksheet is macro enabled, but I'm hoping to stay away from macros if possible.
In O4 enter the formula
=Sheet2!B2
No $ signs in the cell reference. This is a relative cell reference, i.e. it will change when copied across (to =Sheet2!C2) and down (to =Sheet2!B3). Copy across to P4 and down to row 23.
Note that a cell reference for a range does NOT have a space after the colon, like you wrote in your comment.
Related
I've searched for this, and found several questions, but never with the same criteria. I'm on Excel 2021/Windows.
I want to create hyperlinks in sheet A that go to the same cell (as the current cell, i.e. the cell the formula is in) in sheet B, without hardcoding the cell addresses.
IOW, in SheetA!L28, I could create a formula =HYPERLINK([workbook.xlsx]SheetB!L28; that goes to the same cell, but it hardcodes the cell address.
Is it possible to create the formula so that it substitutes the current cell address? I've tried various ways of substituting ADDRESS(ROW(),COLUMN()) into the place for the cell address, but so far without success.
I don't like using INDIRECT() due to it's being volatile...
With a Sheet1 and Sheet2 this seems to work as a valid formula on Sheet1
=HYPERLINK("#"&ADDRESS(ROW(),COLUMN(),,,"Sheet2"),"Go to this cell on Sheet2")
I am creating a report document which will automatically calculate the total marks earned by a student in a classroom. The values to be multiplied are in cell B22 and E22 of Sheet1, Sheet2, Sheet3 and to display the result in Sheet4. Sheet1, Sheet2 and Sheet 3 have the same formatting and design. What is the method or Formula that can be used to multiply;
B22*E22 in Sheet1 which will display the result in sheet4,
and when i use the auto fill handle on the cell containing the result in sheet4, excel should follow that pattern to multiply the same cells across the various sheets automatically;
let's say
B22*E22 in Sheet2
B22*E22 in Sheet3
and so on...
I have tried calculating it manually;
Let's say on Sheet4 in Cell A1, i used
='Sheet1'!B22*'Sheet1'!E22
in Cell A2, ='Sheet2'!B22*'Sheet2'!E22
in Cell A3, ='Sheet3'!B22*'Sheet3'!E22
and it worked. But the problem here is that, this work is purely manual and time consuming since i have a lot of sheets (about 62 sheets) and a lot of other cell calculations to make similar to that above (in other workbooks).
When i input the formula ='Sheet1'!B22*'Sheet1'!E22 in cell A1,
i tried using the auto fill handle to drag and fill the cells A2 and A3.
But it didn't work as excel keeps changing the cell references.
This is the formula i used which works on Sheet4
in A1 ='Sheet1'!B22*'Sheet1'!E22
When i use the auto fill handle, to fill the formula and have the values in
A2, this is what it gives ='Sheet1'!B23*'Sheet1'!E23
A3, this gives ='Sheet1'!B24*'Sheet1'!E24
I want a formula or method through which when i use the field handle, excel should Maintain the Cells reference for calculation (Multiplication), that is,
B22 and E22
and rather change the sheets instead. That is,
On Sheet4, in cell A1: ='Sheet1'!B22*'Sheet1'!E22
A2: ='Sheet2'!B22*'Sheet2'!E22
A3: ='Sheet3'!B22*'Sheet3'!E22.
The formulae above is the result i expect to have.
But the actual output is
On Sheet4, in cell
A1: ='Sheet1'!B22*'Sheet1'!E22
A2: ='Sheet1'!B23*'Sheet1'!E23
A3: ='Sheet1'!B24*'Sheet1'!E24.
Any help/clue will be highly appreciated!
Thanks in advance.!
=INDIRECT("'Sheet"&ROW(A1)&"'!B22")*INDIRECT("'Sheet"&ROW(A1)&"'!E22")
Place the above formula in an empty cell then copy down.
The INDIRECT function converts text with references to an excel reference. Something to be aware of though is that INDIRECT is a volatile function. This is not the end of the world. A volatile function simply means it recalculates anytime anything in the workbook changes. A regular function will only recalculate when something that affects it changes. In other words, if you have a workbook full of volatile functions you may notice some performance issues with the workbook due to all the calculation happening anytime a cell was changed
Update
Apparently I should listen to my own write up. INDIRECT converts references. Apparently it will not work with the math operator. So use indirect for each reference and keep your math operators out of the indirect.
The above image shows a copy and paste of the above formula. IF the sheet does not exist it will toss an error as it does not have an address to find.
So lots of options shown working, B22 left blank to prove calculation works.
Used multiply instead of add as that was what you had, also changed "" to 0 to get the correct functionality.
My first post on here. I am looking for help on a problem I have encountered at work. I need a cell to recognize the name of a tab/worksheet from another cell, and pull up a value from that worksheet. FOr example, the sheet's name is 'Destination', I want something that goes to that work sheet and pull up the value in cell C1. The value will be in the same cell in every tab, so in this example, it will always be in C1. Ideally, I'd like a formula as I have never used VBA but if there is no way around it, I'd appreciate a simple VBA code as well.
I would like to copy this formula to multiple cells in the same column, where the name of the tab changes but the cell location does not.
Thanks for your help.
If you want to use a formula, use the INDIRECT formula. As an example, cell A1 contains the word destination. The below formula will pull information from the Destination Worksheet, Cell C1.
=INDIRECT(A1&"!C1")
Let me know if that helps.
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.
I need to get numbers from cells in other sheets. I am currently doing the following in Sheet 1 in cell D14 (but also in another 100 cells):
=('Sheet Two'!$AA$69*'Sheet Three'!AA$70)
This gets me the information I need. As it happens though I have a cell in Sheet 1 with the names of the sheets I need the information from.
I would like a formula that references the cells in Sheet 1 to get the names so I wouldn't have to manually type in the different sheet names for 100 cells.
So if say I have written in text:
Cell A1: Sheet two
Cell A2: Sheet Three
I need something like:
=(***Name in Cell A1***!$AA$69*'***Name In Cell A2***'!AA$70)
=INDIRECT(INDIRECT("A1")&"$AA$69")*INDIRECT(INDIRECT("A2")&"$AA$70") seems to be of the nature of what you are asking for (where A1 contains ''Sheet Two'! but it looks as though a different layout might be much more effective, or use of Search and Replace.
You could use the INDIRECT formula as pnuts suggested, but simpler like this:
=INDIRECT("'",A1&"'!AA$69")*INDIRECT("'"&A2&"'!AA$70")