I am trying to use the indirect function in Excel to build a formula to return a value on another sheet.
On Sheet A cell D3 has the value B
I want to use the value B to return a value from cell B6 in a Sheet called App Summary.
I tired the below formula on Sheet A:
="'App Summary'!"&Indirect("D3") & 6
This return the string 'App Summary'!B6.
How do I get it to calculate so that is returns the value in cell B6 from the App Summary Sheet?
I usually put the whole statement in the Indirect() function and use '&' to connect parts that are direct quotes with parts that are dynamic.
Example: =INDIRECT("'Workbook A'!A"&A1) will return the value in 'Workbook A'! that is located in column A, at the row indicated by the number in the current sheet's A1. If A1 is 1, this will return the value in 'Workbook A'!A1.
You might try =Indirect("'App Summary'!"&D3&"6"). I'm assuming you want to use a column from another sheet who's value is stored in D3 of the current sheet and look in the 6th row on the Summary sheet.
Related
I am trying to use the indirect function in Excel to build a formula to return a value on another sheet.
On Sheet A cell D3 has the value B
I want to use the value B to return a value from cell B6 in a Sheet called App Summary.
I tired the below formula on Sheet A:
="'App Summary'!"&Indirect("D3") & 6
This return the string 'App Summary'!B6.
How do I get it to calculate so that is returns the value in cell B6 from the App Summary Sheet?
I usually put the whole statement in the Indirect() function and use '&' to connect parts that are direct quotes with parts that are dynamic.
Example: =INDIRECT("'Workbook A'!A"&A1) will return the value in 'Workbook A'! that is located in column A, at the row indicated by the number in the current sheet's A1. If A1 is 1, this will return the value in 'Workbook A'!A1.
You might try =Indirect("'App Summary'!"&D3&"6"). I'm assuming you want to use a column from another sheet who's value is stored in D3 of the current sheet and look in the 6th row on the Summary sheet.
The Sheet A contains data in a single column
Sheet B contains values in multiple columns and rows
I would like to find out if the value in Sheet A is present in Sheet B. If the value exists, it should result as 'match'. If the value doesn't exists then should result as 'No match
You may try this way, using either SUM() or SUMPRODUCT() or MAX() with ROW() Function
• Formula used in cell B2
=--(MAX((A2='Sheet B'!$A$2:$F$7)*ROW('Sheet B'!$A$2:$F$7))>0)
The above formula returns a Boolean Logic which is turned into 1 & 0 using a double unary. And then custom formatted as
[=1]"Match";[=0]"No Match";
• Perhaps you can wrap the above within an IF() as well, in cell C2
=IF(MAX((A2='Sheet B'!$A$2:$F$7)*ROW('Sheet B'!$A$2:$F$7))>0,"Match","No Match")
Note: Since its an array formula, based on your excel version need to press CTRL+SHIFT+ENTER , O365 & Excel 2021 Users don't need to press CTRL+SHIFT+ENTER!
=Indirect("'App Summary'!"&$D$4&"18")
I have two worksheets, Sheet 1 and App Summary. On Sheet 1 in cell D4 I have a column lookup based on a value typed in cell B2. So for instance, if I type in July in cell B2 of Sheet 1, it will place H in cell D4 of Sheet 1. If I type in June in cell B2 of Sheet 1, then it will place G in cell D4 of Sheet 1. Using the above indirect formula, I look up a value in App Summary using the column reference in cell D4 on Sheet 1.
My question is the following. Is there a way to make the above formula dynamic so that if I add a row to the App Summary sheet it will automatically adjust the row in the formula? For instance in the above example lets say I am referencing H18 in the app summary sheet. If I add a row in the app summary sheet just before H18, how do I get the formula on sheet 1 =Indirect("'App Summary'!"&$D$4&"18") to update to =Indirect("'App Summary'!"&$D$4&"19") since the row it was referencing shifted down one?
Assuming from I am referencing H6 in another sheet , the other sheet is App Summary use
=INDIRECT("'App Summary'!"&D3&ROW('App Summary'!$A$6))
If you can be certain that any additional rows in App Summary will be added as right-click and Insert row, then you could reference the a cell in the last row with an absolute reference (using dollar signs to fix the reference).
Another approach would be to convert your App Summary to an Excel table (ctrl + t) and then use structured referencing. That way, you are not vulnerable to the changing structure of the App Summary sheet (except if you change column headings).
I need to pull data from a cell on another sheet (Sheet1), using a variable on the Current sheet (Sheet2, 3, 4 etc)
..ie I have a formula that takes the current sheet name and returns a value in a cell (A1 on current sheet),
I then need to go to a specific Column on another sheet but using the Row as derived from the sheet name something along the lines of:-
=Sheet1!H(Sheet2!A1)
where H is the column and (Sheet2!A1) is the row, and A1 holds the value of the current sheet name
Take a look at the Excel INDIRECT function, it might do what you're looking for. It takes a string (which you can build) and used the value of the string to make a cell reference.
http://office.microsoft.com/en-001/excel-help/indirect-HP005209139.aspx
I am trying to find the formula that will search in column A (of worksheet "ABC") to find a value matching G4 in worksheet "XYZ" Once that value is found, return the value of the cell adjacent (column B of "ABC") to the cell in which this formula exists in worksheet "XYZ". All sheets are in the same workbook.
Thank you so much!
here's an example of what you're describing:
In spreadsheet ABC, you have a reference value in column A and data in column B
In spreadsheet XYZ, you have a matching number in column A. You'd like to pair the data from spreadsheet ABC to the value in XYZ:
If you notice the formula in the formula bar on the second picture, you'll see the vlookup formula to pull the data for this example. I also added an apostrophe in front of the formula in cell B1 (image 2) to have it display the formula. Note the formulas are slightly different since they point to different reference cells.
Also, here's a great reference for how the vlookup function works:
http://chandoo.org/wp/2012/03/30/comprehensive-guide-excel-vlookup/
Here is another solution that's closer to your adjusted question.
This solution still uses the vlookup formula. Instead of using it to associate a value on multiple rows, you can look-up a single value. (same function, different application)
Again, I'll point you to a great reference for how the vlookup function works:
http://chandoo.org/wp/2012/03/30/comprehensive-guide-excel-vlookup/