Convert Cell reference to the Cell Name Not Value - excel

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.

Related

Multiply value in the cell by the value on other cell

Very simple question..
I have a cell ($C$1). There is a value. Now I need to multiply this value with the value from other table's cell ($K$2). What would be the formula?
obviously I cant do this: =$C$1*$K$2. That is the reference to the same cell.
So, what the formula looks like for a cell, that take the value in the same cell and multiply with the value from other cell?
thanks!

Return last value in a row - do not consider formula as value - Excel 2016

I want to find the last value of a row in a given range. Each cell in this row is populated via a formula. So, if hte formula succeeds, it has a value, otherwise it shows null.
This is the formula for every cell in the row
=SUM(J$36:J$45)
To find the last value in the row, at the end cell of the row, i have this formula =LOOKUP(2,1/(J47:T47<>""),J47:T47) for the range J47:T47.
This forumula works when every cell has a text or number. In my case, since every cell already had the formula, it considers formula also as not null and gives alway the value of the last cell(which in my case was null since sum was 0/null). What i want is to consider only the cells that really has a value - meaning the sum would have given some number. How do i tweak the formula to say value is not null or not formula

Formula range has variable from another sheet

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)

Check value of cell with column and return sum of values of previous column for which the values are same

After checking if a cell value exists in a column, I need to get the sum of all the values of the cell next to the matching cell. For instance, I check if the value in cell A1 exists in column B, and assuming it matches B5,B7 and B9 then I want the sum of values in cell C5,C7 and C9.
Assuming that you use Microsoft Excel you have to use SUMIF function:
=SUMIF(B1:B9,A1,C1:C9)
Of course, according to your language version and regional settings above function can have localized name and instead of commas there might be semicolons required.

Find Cell Value Utilizing Cell Name In Another Cell

Say I have a cell (A1) with the text "n25". In another cell, I want to find the value of the cell defined in A1 in another cell, lets say A2. In other words how do I put =(text from another cell, in this case "n25", which would then return me the value in cell n25). The reason I ask is because the cell containing n25 will be dynamic as data changes (it can be n26 in which all other cells would update).
Use
=INDIRECT(address_of_cell_with_reference_to_another_cell)
Yes, try:
=INDIRECT(A1)
This will return the value from N25.

Resources