Recommendations on a formula or other

datadummy

Active Member
Joined
Mar 16, 2017
Messages
312
Office Version
  1. 365
Platform
  1. Windows
I am looking for a recommendation on a formula or other option to best complete the following task.

I have two data sheets that have different data but have a common identifier between the two, so my ask is to take the common identifier and to essentially merge the data from both sheets onto one sheet. What I have done initially was used VLOOKUP on one sheet and its searching the other data sheet for the common identifier and then bringing along the accompanying data. Here is a copy of my current formula =VLOOKUP($A$35,Case_Form!$A2:$C$44,2,FALSE). My struggle is I would like to be able to bring the whole row of data over rather than my current process where I am changing what cell to bring over in my formula ie 2-3-4-5.... I am sure there is a much better way to accomplish this task. Thanks in advance.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
This formula can be copied across to capture the whole row:
Rich (BB code):
=VLOOKUP($A$35,Case_Form!$A2:$C$44,COLUMNS($A:B),FALSE)
 
Upvote 0
If the column you are looking for is B, then C, then D, etc, then:

=VLOOKUP($A$35,Case_Form!$A2:$Z$44,COLUMN(),FALSE)
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top