Formula range has variable from another sheet - excel

I have a Sheet named INDEX, where cell A1 holds a formula which gives a string as a result. This result value is BI13. So, it makes A1 a variable of type string. A1 yields letters and numbers as value.
In another sheet Called TEST, I need to calculate the first minimum value of a range. This range is located in sheet INDEX and begins at cell AR13 and ends at a variable cell in line 13. This variable is defined by cell A1 and it can hold any string value as in:
[AR13 ... AS13 ... AT13 ... AU13 (...) BG13 ... BH13 ... BI13 ... BJ13] etc
Content of cell B1 of Sheet TEST:
B1 = SMALL(INDEX!AR13:BI13;1) <--- This works fine if you manually insert BI13. But one just cannnot insert it like that, because BI13 is a variable value (value of type string), being the result of cell A1
This BI13 is the string obtained as a value from cell A1, which is located in sheet INDEX, as previously stated
Content of cell A1 of Sheet INDEX:
A1 = SUBSTITUTE(ADDRESS(1;AQ1;4);1;"")&13
AQ1 is a variable of type integer. This cell has an user imput value. In this example AQ1 = 61, which in turn corresponds to column 61 of the TEST worksheet. The number 13 corresponds to line 13 and is a constant.
A1 cell´s priority is to convert column number to column letter. In this case, the above formula originates the string value BI13. To summarize, cell A1 is not equal to cell BI13. In fact, cell BI13 is another story, since it has an integer inside. Therefore, A1 value is not an integer, but a string.
How can I accomplish that calculation in B1 ?

Use the INDIRECT function to create a cell reference using a content of another cell:
=SMALL(INDIRECT("index!AR13:"&INDEX!A1),1)

Related

Reference a filename from another cell in Excel [duplicate]

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.

Reference an Excel Column based on an Excel cell value

In Excel how can I create a cell function which does the following ...
If cell C1 contains the value 6, I want cell B1 to be the contents of cell M1,
If cell C1 contains the value 7, I want cell B1 to be the contents of cell N1
and so forth, increasing by one column (M,N,O...) at a time.
I've tried with the functions INDEX, IF , MATCH and, LOOKUP .
Use INDEX and simple math:
=INDEX(1:1,C1+7)

Convert Cell reference to the Cell Name Not Value

I want to display the reference of cell based on condition that if the cell contains a value it should display that the cell has a value for example
If cell A1 has a value eg 12, then cell B1 should display “There is value in cell A1” else it should be blank
I have tried this this
=IF(A1="","","There is value in cell "&A1).
Does anyone know how I can change it to =There is value in cell A1
Instead of There is value in cell 12
Something like this
=IF(A1="","","There is value in cell "&ADDRESS(ROW(A1),COLUMN(A1),4))
Also if you don't have any issue with the volatility an easier formula would be
=IF(A1="","","There is value in cell "&CELL("address",A1))
P.S You can additionally use one of the four values as the last parameter in the first formula.
Does this do the trick:
=IF(A1<>"","There is a value in cell "&CHAR(64+COLUMN(A1))&ROW(A1),"")
You can also use ADDRESS():
=IF(A1<>"","There is a value in cell "&ADDRESS(ROW(A1),COLUMN(A1),4))
It takes row and column as arguments with optional argument for return type, that is set to relative in this example.

Indirect Function to Build Excel Formula

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.

Calculate Sum with cells that contain a string that stands for a specific value

I want to solve the following.
In Cell A1 i type "S". In Cell B1 i type "U".
Now I want to define a key value table somewhere on the excelsheet -> (S=8;U=3)
If I create a sum function for cell A to B the result should be 11.
If you create a table with letters in Y2:Y10 and then corresponding amounts in Z2:Z10 then you can use this formula to get 11
=SUMPRODUCT(SUMIF(Y2:Y10,A1:B1,Z2:Z10))

Resources