ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 12-04-2007, 07:52 AM
PradeepRed PradeepRed is offline
Registered User
 
Join Date: 14 Dec 2005
Posts: 2
PradeepRed is on a distinguished road
Variation of Vlookup?

Hi

This might sound fairly simple to most guys there but im stuck with it and in a hurry so havent been able to search the posts much. The problem is as follows.

I have two tables with say 3 fields in each in columns A,B,C and G,H,I.

Now i want to look every value in column B in column G and if a match found, replace content of column C with value from column I corresponding to the value of G which has been matched.
I am not sure if i have been too clear so ill try giving an example

A B C G H I
1 aa pqr aa 3 lmn
2 bb stu bb 4 pqr
3 bb hij cc 5 xyz
4 cc def dd 6 aaa

Output

A B C
1 aa lmn
2 bb pqr
3 bb pqr
4 cc xyz


It looks simple i know. I tried variations of vlookup and If loop but havent managed it. I know i must be missing something. Dont know what.

Guys/Gals help is appreciated

Regards
Pradeep
Reply With Quote
  #2  
Old 12-04-2007, 08:48 AM
NBVC's Avatar
NBVC NBVC is online now
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,656
NBVC will become famous soon enough NBVC will become famous soon enough
you tried?


=Vlookup(B1,G:I,3,0) copied down.... where B1 is first item to lookup
__________________
Where there is a will there are many ways. Finding one that works for you is the challenge!

Please read the Forum Rules: Rules
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 02:16 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0