create a vba function with two tables where table1(three columns(with 20 rows)), table2 has (1 row and 1 column), match entries in table1 column1(with 20 rows) with table2 row1(20columns) and match table1 column 2 with table 2 column 1 and enter value in corresponding row and column found from table1 in table 2
function1 find matching column (match table1 column1 entries with table2 row1 entries)
function 2 find matching row (match table 1 column2 entries with table2 column1 entries)
function 3 enter value in matching cell from column3 of table 1 .cells(row, column).value=price.cells(i+1, j+2).value
complete function is consisting of all three functions into one vba function.
function should enter all matching entries from table1 column3 into table2 range(B2:H16)
function1 find matching column (match table1 column1 entries with table2 row1 entries)
function 2 find matching row (match table 1 column2 entries with table2 column1 entries)
function 3 enter value in matching cell from column3 of table 1 .cells(row, column).value=price.cells(i+1, j+2).value
complete function is consisting of all three functions into one vba function.
function should enter all matching entries from table1 column3 into table2 range(B2:H16)
Last edited: