Question : Using  VLookup to copy a block of cells to another block of cells

Is there a way to use Vlookup to copy one block of cells (I have given them a name) to another block of cells?

If not vlookup is there a way to do this without assigning each cell individually?

Answer : Using  VLookup to copy a block of cells to another block of cells

Please have a look at the attached file.  On the Results worksheet, as you change the code entered in B1, formulas retrieve the appropriate values from the Data worksheet.

Based on your last comment, I have assumed that the first real row of source data is Data!B5:M5, and that the data associated with any given code is in a rectangle 13 rows high and 12 columns wide.

To retrieve the results, I put this formula in Results!D7, and copied it through Results!O19...

=INDEX(Data!$B:$M,MATCH($B$1,Data!$B:$B,0)+ROW(A1)-1,COLUMN(A1))
 
 
Random Solutions  
 
programming4us programming4us