Hello - new member here.., with a question about selecting cells from a table.
I have a workbook with two sheets.
In sheet 1, I make calculations that result in two numbers (integers): call them X, and Y
there are many values of X, but only one value of Y
In sheet 2, I have a table.
Across the top, in Row 1, are integers corresponding to X, that increase from left to right, but don't begin with any fixed number, and don't increase with any fixed step value
down the left side, in column A, are integers that correspond to values of Y, but decrease from top to bottom, and again don't begin with any fixed value, and don't decrease at any fixed step value
in this table, on sheet 2, the rest of the values are text strings - from column B rightward, and from Row 2 downward. A1 is empty
So, what I want to do, is this: for every value of X and the single value of Y obtained in sheet 1, i want to scan row 1 of sheet 2, and find the value of X in row 1 that is closest to each X from sheet 1, and to scan column A of sheet 2, and find the value of Y that is closest to the value of Y obtained in sheet 1.
then for each row 1, column A pair, i want to find the text string in the cell for that row/column intersection and put it in a cell on sheet1.
sorry if i was not clear...
also, I did do a search of the forum and other excel help sites, but mostly found about selecting cell values based on the "indexes", not a row and column.
thanks for any help.
jgf310
and column A of sheet 2, and find the row with the va
Bookmarks