vlookup Question

jmartin2178

New Member
Joined
Jun 10, 2019
Messages
14
I am looking to pull in the the Title from another spreadsheet in the excel document based on the data matching. Hopefully below will help explain a little bit better.?. Is this possible to achieve?

Main Spreadsheet:

AGAH
User Story IDUser Story Title
12345This is My Title

<tbody>
</tbody>






  • Need to use data in column AG (User Story ID) and match to data in separate spreadsheet (Defect to User Story) column A and if matches pull in the Title from the separate spreadsheet (Defect to User Story) column C into the Main Spreadsheet column AH.

"Defect to User Story" Spreadsheet located on another tab in same excel file

AC
IDTitle
12345This is My Title

<tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Are these two sheets in the same workbook, or are they sheets in two different workbooks?
 
Upvote 0
In that case try
=VLOOKUP(AG2,'Defect to User Story'!A$2:C$25,3,0)
 
Last edited:
Upvote 0
Getting a #NA Error

I tired changing AG2 to AG3 based on the start of the data in rows shown below...getting same #NA .

=VLOOKUP(AG3,'Defect to User Story'!A$2:C$25,3,0)


* If AG3 matches A3 from Defect to User Story, then place C3 contents into the AH3 cell onto Main spreadsheet.


Main Spreadsheet:

RowAGAH
2User Story IDUser Story Title
312345This is My Title

<tbody>
</tbody>






  • Need to use data in column AG (User Story ID) and match to data in separate spreadsheet (Defect to User Story) column A and if matches pull in the Title from the separate spreadsheet (Defect to User Story) column C into the Main Spreadsheet column AH.

"Defect to User Story" Spreadsheet located on another tab in same excel file

RowAC
2IDTitle
312345This is My Title


<tbody>
</tbody>
 
Upvote 0
That means that it can't find the value of AG3 in Col A of the other sheet.
Check that the values in both sheets don't contain leading/trailing spaces.
Also make sure that both values are text, or both are numeric.
 
Upvote 0
That means that it can't find the value of AG3 in Col A of the other sheet.
Check that the values in both sheets don't contain leading/trailing spaces.
Also make sure that both values are text, or both are numeric.

Got it! I changed the cell from AG to P as I was using a formulas in AG. Once I changed to the original cell P and updated to Number instead of text it worked.

Thanks!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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