I'm about to go completely insane over this... I've been looking at countless tutorials, since there's apparently 100 different ways of doing this. I just can't get it to work.
I don't think I'm attacking the problem from the right angle.
My problem is the following:
Look in the attached spreadsheet. *attachment removed*
Columns A and B contains a DUNS number and an ID number, which all are related to each other.
I need a way to find each DUNS number in column D, "fetch" the corresponding DUNS number and put it into column E.
I've tried all different Excel functions you can possible imagine, but I just can't get it to work. It's probably really easy, but I'm just stuck, and it's driving me insane...
It probably takes less than 2 minutes to solve if you only have a proper understanding of the VLOOKUP function, which I don't...
Any help would be greatly appreciated!
Last edited by Henrik_; 01-16-2012 at 10:34 AM.
Please read and adhere to these simple rules!
1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
"Relax. What is mind? No matter. What is matter? Never mind!"
It seems your column A data are really Text entries while your column D data are Numeric.
Try either:
Select column A and go to Data|Text to Columns and then click Finish... then use formula: =VLOOKUP(D2,A:B,2,FALSE)
or just simply use formula: =VLOOKUP(""&D2,A:B,2,FALSE)
copied down.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
I finally got it to work! :D
I used this formula:
=VLOOKUP(D:D;A:B;2;FALSE)
I can't believe it took me so long to get it right... Thanks for your help!
Although working with complete columns works with XL2007 I would suggest limiting your ranges, otherwise you might encounter very slow calculations in the future
Cheers - THE WARNING I RECEIVED WAS NOT JUSTIFIED
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks