If I type Sheet2!A3 in A1 Cell of Sheet1, it will show the value of A3 cell of Sheet2. But I want to use this reference link from a cell in Sheet1
Please, look at the snapshot. I want to use the C1 cell to get the Sheet2 part of Sheet2!A3. So If I change the value of C1 from Sheet2 to Sheet3, then the formula in A1 will be changed to Sheet3!A3.
How to achieve this?
Try: =INDIRECT($C$1&"!A" & ROW() + 2)
This will mean you can have any sheet name in C1, and it should be able to get whatever cell you specify in the quotes (don't forget the exclamation mark!)
EDIT: Sorry, I missed that part, I've updated it now and it should work to increment.
You can add in another cell to make things simpler
In Sheet2 A3 i have the Value 10
And these formula Get that value with just some simple Indirect reference
If you want to make A3 Dynamic as well then :
The Aim is to get a cell which constructs the name of the cell/s you want to reference and then you can indirect Reference them accordingly.
Related
Values are in another sheet which is named as cell value"A3"
=SUMIF(INDIRECT(" ' "&A3&" '$B:$B"),D$2,INDIRECT(" ' "&A3&" '!$M:$M"))
do you see anything wrong with this formula ?
doesn't work #REF! is the response.
By enclosing A3 in ampersands you are referencing cell A3 in the current sheet. What you want is:
=SUMIF(INDIRECT("'A3'!$B:$B"),D$2,INDIRECT("'A3'!$M:$M"))
On second look, if you are intending to reference a sheet that is named what you have in cell A3 then you don't need the apostrophes around the cell reference:
=SUMIF(INDIRECT(A3&"!$B:$B"),D$2,INDIRECT(A3&"!$M:$M"))
I've got a working VLOOK-Function. The Matrix is on a different worksheet. Here is my function (in german):
=SVERWEIS($A1;Haus!$B$13:$K$100;7;falsch)
=VLOOKUP($A1,Haus!$B$13:$K$100,7,false)
I have lot of different worksheets and I do not want rewrite each formula by replacing Haus with the name of a different worksheet.
Is it possible to call the name from a cell? I want to have in Row 1 all worksheetnames and in row two the VLOOKUP-Function. In my imagination it should then be possible to drag the formula right and it autocompletes the formula with the right names.
A1 Haus
A2 =VLOOKUP($A1,Haus!$B$13:$K$100,7,false)
B1 Boot
B2 =VLOOKUP($A1,Haus!$B$13:$K$100,7,false)
C1 Pool etc.
I tried it with CELL("Content", A$1)&"!"$B$13:$K$100 inside the VLOOKUP-Function but it did not work as expected.
Any ideas?
Check out the INDIRECT function. Say you have your sheet name in A1 and the value that you want to look for is in A2. You could have formula in A3 like
=VLOOKUP(A2, INDIRECT(A1&"!$B$13:$K$100"), 7, FALSE)
how to drag to increment the excel sheet from different file?
eg,
Cell A1 =+'[filename]59'!J6
Cell B1 =+'[filename]60'!J6
Cell C1 =+'[filename]61'!J6
i tried this now
=INDIRECT("SHEET"&COLUMN()-1&"!J6")
and readjust all the name etc, and now i wanna drag down and increment the cell to J7,J8,J9 etc
how do i do it?
Help please
Try =INDIRECT("SHEET"&COLUMN()-1&"!J"&ROW()). ROW() returns your current row. So, if you write =ROW() in A15, you'll get 15. Good for dragging down :)
If you want to change the value so that it matches a row different from your current row, you'll need to add or subtract from ROW(). So, if you wanted to put this in some cell B2 or C2 and have it match up to J5, you'd have to add 3. That would work like this:
=INDIRECT("SHEET"&COLUMN()-1&"!J"&(ROW()+3))
Obviously, you should change the 3 to whatever adjustment value you need.
This might be an easy one but in cell A2 I got a value of "123-123 Example Text" how can I make it copy only "123-123" and put the value in cell A3.
Second part in B2 I have "123-123" and in B3 I got "www.website.com/image/X.jpg" is there a way to tell it to take B2 and insert it instead of X in B3?
in A3 add the formula
=LEFT(A2,7)
in B3 you would need to put
="www.website.com/image/"&B2&".jpg"
Note:
If in the first part if the value 123-123 could be longer or shorter you would need to find the first space and then cut it to there using a formula like so
=LEFT(A2,FIND(" ",A2,1)-1)
Is there a way to find out the address of the cell being referenced in another cell in excel?
E.g. cell C1 contains formula =max(A:A) and returns a value of 10 which is actually referenced to cell A10. Can I use a formula in cell B that returns 'A10'?
And no, I don't want to use VBA at all.
Assuming that your entries are in Cells A1:A7, you can do it this way ...
In Cell B1, the formula =MAX(A1:A7) and
in Cell B2, the cell location of the maximum number in the range (shown in B1) is given by the formula
=CELL("address",INDEX(A1:A7,MATCH(MAX(A1:A7),A1:A7,0)))
OR
=ADDRESS(MATCH(MAX(A1:A7),$A$1:A7,0),1)
Mark as answer if it helps.
Managed to find the solution:
Similar to Kyle's formula, but instead we use match with multiple criteria to be more specific e.g.
=ADDRESS(MATCH(MAX(A1:A7)&"A",$A$1:A7&$B$1:$B$7,0),1)