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

Glen Honan

Here is my problem:

I have a cell (V4) containing the value 444. I want to use this value in the formula of another cell (M12) in the following way. I want the formula to be equivalent to =MIN(L12:L444) but instead of 444 I want to refer to cell V4 which contains the value 444. But when I type in =MIN(L12:L(V4)) it obviously doesnt work so how do I do it? Sorry if I didn't explain it very well. :S

maybeWeCouldStealAVan

INDIRECT will work and is closest to the solution you described, but I prefer OFFSET, which uses proper references. (For example, if you insert a column in the sheet before L, INDIRECT will break while OFFSET will just update its reference as expected.

Two ways to go with OFFSET:

1 - Start at L$1 and go down $V$4-1 rows. (This will work with $V$4 as you've defined it now.)

=MIN(L12:OFFSET(L$1,$V$4-1,0))

2 - In $V$4, provide the height of the range you want.

=MIN(OFFSET(L12,0,0,$V$4,0))

It's hard to make suggestions without more context, but I'm sure you can tweak one of these patterns to meet your needs.

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. Use If Then to increase the value of another cell

From Dev

Excel VBA - Use value in cell as address to target another cell

From Dev

How to find value of last cell in an Excel row

From Dev

How to format a cell based on another cell value in Excel?

From Dev

How to make the value of one Cell as a position of another Cell in Excel

From Dev

How to use file path stored in a cell in another cell to refer to a value in excel

From Dev

Excel copy cell value to another cell if cell value changes

From Dev

Excel copy cell value to another cell if cell value changes

From Dev

Calculate the value of a cell based on another cell in Excel

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 use a function to insert a cell value into another cell?

From Dev

Use vba to copy value of cell to another cell

From Dev

excel copy row to another sheet based on cell value

From Dev

VBA Excel - Coloring eacht cell in a row that contains a value based on the value of another cell

From Dev

Value of a cell in the same row as the max value in another

From Dev

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

From Dev

Excel how to look for value in table and return value from another cell

From Dev

Get a cell value from a row based on another cell value

From Dev

how to copy multiple row to another sheet in specific cell based on value excel VBA

From Dev

How can I retrieve a specific cell value from another Excel sheet using this complex logic that find the row using another value?

From Dev

Clear Excel Cell if Value less than another Cell value

From Dev

How do I require a cell in one column to have a value if a cell in another column (same row) has a value?

From Dev

Cell function for determining another cell value in the same row returned by max function (excel)

From Dev

How can I reference a row in another sheet based on value in cell?

From Dev

Search for cell value then use it to find another value in cell array

From Dev

Copying value cell by cell from one excel to another excel

From Dev

Excel how to insert below cell value and skip every other row?

From Dev

Excel VBA: How to paste a value in the first Cell of the last row of a table?

From Dev

Excel function to copy cell value above IF current cell empty and another cell in same row is anything but empty. Otherwise, do nothing

Related Related

  1. 1

    Excel. Use If Then to increase the value of another cell

  2. 2

    Excel VBA - Use value in cell as address to target another cell

  3. 3

    How to find value of last cell in an Excel row

  4. 4

    How to format a cell based on another cell value in Excel?

  5. 5

    How to make the value of one Cell as a position of another Cell in Excel

  6. 6

    How to use file path stored in a cell in another cell to refer to a value in excel

  7. 7

    Excel copy cell value to another cell if cell value changes

  8. 8

    Excel copy cell value to another cell if cell value changes

  9. 9

    Calculate the value of a cell based on another cell in Excel

  10. 10

    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?

  11. 11

    How do I use a function to insert a cell value into another cell?

  12. 12

    Use vba to copy value of cell to another cell

  13. 13

    excel copy row to another sheet based on cell value

  14. 14

    VBA Excel - Coloring eacht cell in a row that contains a value based on the value of another cell

  15. 15

    Value of a cell in the same row as the max value in another

  16. 16

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

  17. 17

    Excel how to look for value in table and return value from another cell

  18. 18

    Get a cell value from a row based on another cell value

  19. 19

    how to copy multiple row to another sheet in specific cell based on value excel VBA

  20. 20

    How can I retrieve a specific cell value from another Excel sheet using this complex logic that find the row using another value?

  21. 21

    Clear Excel Cell if Value less than another Cell value

  22. 22

    How do I require a cell in one column to have a value if a cell in another column (same row) has a value?

  23. 23

    Cell function for determining another cell value in the same row returned by max function (excel)

  24. 24

    How can I reference a row in another sheet based on value in cell?

  25. 25

    Search for cell value then use it to find another value in cell array

  26. 26

    Copying value cell by cell from one excel to another excel

  27. 27

    Excel how to insert below cell value and skip every other row?

  28. 28

    Excel VBA: How to paste a value in the first Cell of the last row of a table?

  29. 29

    Excel function to copy cell value above IF current cell empty and another cell in same row is anything but empty. Otherwise, do nothing

HotTag

Archive