Excel select a value from a cell having row number calculated

Daniel Gruszczyk

In column A i have numbers calculated like so:

[A]
[1]
[2]
[3]
[4]
[1]
[2]
[3]
...

In column K I have values:

[row] [K]
[ 1 ] [7]
[ 2 ] [3]
[ 3 ] [6]
[ 4 ] [9]

How could I pull values from column K given that row number is the number stored in column A?
I have tried using Address() and Cell() like so:

=Cell("contents",ADDRESS(A5,11))

ADDRESS supposed to return a reference to given cell provided row and column numbers (that can be taken from other cells), CELL supposed to take reference and return detail about the cell referenced (here "content" and thus value). If I use it like so:

=Cell("contents", K4)

it gives me '9', when I use ADDRESS:

=ADDRESS(A4,11)

it gives me $K$4. But when I use them together I get an error.

Sam

You could use the INDIRECT function. This takes a string and converts it into a range

More info here

=INDIRECT("K"&A2)

But it's preferable to use INDEX as it is less volatile.

=INDEX(K:K,A2)

This returns a value or the reference to a value from within a table or range

More info here

Put either function into cell B2 and fill down.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Excel select a value from a cell having row number calculated

From Dev

excel pointing to a cell when the number of the cell is calculated

From Dev

Excel Macro to copy select cells from a row from one sheet to another based upon a cell value

From Dev

Excel select row based on cell value, then select specific cell inside that row

From Dev

Excel formula - If value was found in row return value from next cell

From Dev

excel vba: find the row of a cell with a certain value and put that row number in another cell

From Dev

Range row number reference from another cell in Excel

From Dev

Find a value from a column and quickly return the row number of its cell

From Dev

excel vba getting the row,cell value from selection.address

From Dev

How to increase the height of the excel row using Apache-POI having merged cell value greater than the cell width?

From Dev

How can I SELECT a row with MAX(value) from a derived table where the values are all calculated sums?

From Dev

Excel - select a cell based on adjacent cell value

From Dev

Excel cell displaying zero instead of a calculated / referenced value

From Dev

Excel: Keep *first* calculated value in cell and ignore/delete formula afterwards?

From Dev

Get the row number of a named Excel cell in MATLAB

From Dev

Excel: match value from an array and return cell value from the same row

From Dev

How to select the first number in cell in Excel?

From Dev

sql (beginner) - use value calculated from above cell

From Dev

Excel - How to use the value of a cell as the row value of another cell?

From Dev

How to select a datatable row using cell value?

From Dev

VBA, select row based on cell value

From Dev

Insert row in excel with a value in a specific cell

From Dev

Get an entire row based on value of cell in excel

From Dev

Insert row in excel with a value in a specific cell

From Dev

How to find value of last cell in an Excel row

From Dev

Excel VBA - add a value to a cell in a certain row

From Dev

How do I create a formula in excel that searches for a value in row, and then takes the value from another cell in that column?

From Dev

How do I extract the row number from a cell reference in Excel using Applescript?

From Dev

Output Value from select-object calculated value

Related Related

  1. 1

    Excel select a value from a cell having row number calculated

  2. 2

    excel pointing to a cell when the number of the cell is calculated

  3. 3

    Excel Macro to copy select cells from a row from one sheet to another based upon a cell value

  4. 4

    Excel select row based on cell value, then select specific cell inside that row

  5. 5

    Excel formula - If value was found in row return value from next cell

  6. 6

    excel vba: find the row of a cell with a certain value and put that row number in another cell

  7. 7

    Range row number reference from another cell in Excel

  8. 8

    Find a value from a column and quickly return the row number of its cell

  9. 9

    excel vba getting the row,cell value from selection.address

  10. 10

    How to increase the height of the excel row using Apache-POI having merged cell value greater than the cell width?

  11. 11

    How can I SELECT a row with MAX(value) from a derived table where the values are all calculated sums?

  12. 12

    Excel - select a cell based on adjacent cell value

  13. 13

    Excel cell displaying zero instead of a calculated / referenced value

  14. 14

    Excel: Keep *first* calculated value in cell and ignore/delete formula afterwards?

  15. 15

    Get the row number of a named Excel cell in MATLAB

  16. 16

    Excel: match value from an array and return cell value from the same row

  17. 17

    How to select the first number in cell in Excel?

  18. 18

    sql (beginner) - use value calculated from above cell

  19. 19

    Excel - How to use the value of a cell as the row value of another cell?

  20. 20

    How to select a datatable row using cell value?

  21. 21

    VBA, select row based on cell value

  22. 22

    Insert row in excel with a value in a specific cell

  23. 23

    Get an entire row based on value of cell in excel

  24. 24

    Insert row in excel with a value in a specific cell

  25. 25

    How to find value of last cell in an Excel row

  26. 26

    Excel VBA - add a value to a cell in a certain row

  27. 27

    How do I create a formula in excel that searches for a value in row, and then takes the value from another cell in that column?

  28. 28

    How do I extract the row number from a cell reference in Excel using Applescript?

  29. 29

    Output Value from select-object calculated value

HotTag

Archive