Question : Lookup to return all columns to the right in excel

Hi Everyone,

I have a sheet with 50 columns, and i need to look up the first column and then get all teh results to the right. How do i do that other than draging the formula all the way to right and then go in to each cell and change the column from 2 to 3,4,5,6, etc?

=VLOOKUP($H2,$B:$H,2,FALSE).so when i drag this formula to the right i want the "2" to become 3, and 4 and so on till 50. Is this possible?

Thanks in advance

Answer : Lookup to return all columns to the right in excel

One way is to use a COLUMNS  function in place of the 2, e.g. if your first formula is in J2 try this copied across

=VLOOKUP($H2,$B:$IV,COLUMNS($J2:J2)+1,FALSE)

regards, barry

Random Solutions  
 
programming4us programming4us