[SOLVED] Lookup based on Column headers


"Excel VBA Help"

 

To stop seeing these ads and get other benefits check This page!
Automatic Translations (Powered by Powered by Google )
Catalan Chinese Croatian Czech Danish Dutch English Finnish French Galician German Greek Hindi Indonesian Italian Japanese Korean Latvian Lithuanian Norwegian Persian Polish Portuguese Romanian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Excel Forum
Page showing the last 10:-
The Code Cage - Microsoft Office help


Microsoft Excel Forum Members Post questions in this forum if they are related to using Microsoft Excel, this includes Worksheet Functions, Excel VBA Programming, Simple Macro Code & Charting, Excel formula etc.

New Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 16th February 2012, 13:41
rkb2k9's Avatar
Junior Member
MS Office Version: Excel 2010
MS Office Skill Level: Can use VBA
 
Join Date: Nov 2010
Location: Bangalore
Age: 30
Posts: 35
My Top Tip Count: 0
Thanks to others: 5
Thanked 0 Times in 0 Posts
Chats: 0
Reputation: 10 (3) rkb2k9 is on a distinguished road
India
Default Lookup based on Column headers
     Excel: VBA   


Hi,
I am looking for a VBA code to do lookup if the Column header matches on two different sheets and the result has to be displayed next to the last cell.

For ex:-

Sheet1 is having 12 columns out of that a column having header desc

sheet2 having 10 columns out of that a column is having header desc

now i have to lookup sheet1 desc column value in sheet2 desc column values and result has to be shown next to the last column

Thanks for help in advance
Regards,
Rkb2k9

Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
  #2 (permalink)  
Old 16th February 2012, 13:57
Pete_UK's Avatar
Solution Centre Professional
MS Office Version: MS Office 2003, 2007
MS Office Skill Level: Proficient with Excel
 
Join Date: Mar 2009
Location: Warrington, England
Age: 61
Posts: 605
My Top Tip Count: 0
Thanks to others: 8
Thanked 128 Times in 127 Posts
Chats: 7
Reputation: 2533 (36) Pete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond repute
Great_Britain
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 16th February 2012, 14:35
rkb2k9's Avatar
Junior Member
MS Office Version: Excel 2010
MS Office Skill Level: Can use VBA
 
Join Date: Nov 2010
Location: Bangalore
Age: 30
Posts: 35
My Top Tip Count: 0
Thanks to others: 5
Thanked 0 Times in 0 Posts
Chats: 0
Reputation: 10 (3) rkb2k9 is on a distinguished road
India
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





Attached Files To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.

Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
  #4 (permalink)  
Old 16th February 2012, 14:52
Pete_UK's Avatar
Solution Centre Professional
MS Office Version: MS Office 2003, 2007
MS Office Skill Level: Proficient with Excel
 
Join Date: Mar 2009
Location: Warrington, England
Age: 61
Posts: 605
My Top Tip Count: 0
Thanks to others: 8
Thanked 128 Times in 127 Posts
Chats: 7
Reputation: 2533 (36) Pete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond repute
Great_Britain
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #5 (permalink)  
Old 16th February 2012, 18:25
RoyUK's Avatar
Administrator
Solution Centre Professional
MS Office Version: MS Office 2003, 2007, 2010
MS Office Skill Level: Proficient with MS Office
 
Join Date: Nov 2008
Location: Derbyshire, UK
Posts: 2,322
My Top Tip Count: 4
Thanks to others: 2
Thanked 152 Times in 150 Posts
Chats: 2
Reputation: 2540 (53) RoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond reputeRoyUK has a reputation beyond repute
4 Top Tips
England
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





__________________
Hope that helps, RoyUK
For tips & examples visit free excel help
About me

Reply & Quote Reply


Did you find this post helpful? Yes | No
  #6 (permalink)  
Old 17th February 2012, 14:04
rkb2k9's Avatar
Junior Member
MS Office Version: Excel 2010
MS Office Skill Level: Can use VBA
 
Join Date: Nov 2010
Location: Bangalore
Age: 30
Posts: 35
My Top Tip Count: 0
Thanks to others: 5
Thanked 0 Times in 0 Posts
Chats: 0
Reputation: 10 (3) rkb2k9 is on a distinguished road
India
Question Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





Attached Files To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.


Last edited by rkb2k9; 17th February 2012 at 14:03.
Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
  #7 (permalink)  
Old 17th February 2012, 21:22
f.maria's Avatar
The Code Cage Staff
MS Office Version: MS Office 2003
MS Office Skill Level: Some VBA experience
 
Join Date: Jun 2011
Location: Sturovo,Slovakia
Age: 55
Posts: 347
My Top Tip Count: 1
Thanks to others: 6
Thanked 57 Times in 55 Posts
Chats: 0
Reputation: 902 (14) f.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to behold
1 Top Tips
Slovakia
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





Attached Files To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.
__________________
Best regards

Maria

Aesop: Little friends may prove great friends.


Last edited by f.maria; 18th February 2012 at 07:08.
Reply & Quote Reply


1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No
The Following User Says Thank You to f.maria For This Useful Post:
rkb2k9 (20th February 2012)
  #8 (permalink)  
Old 20th February 2012, 06:11
rkb2k9's Avatar
Junior Member
MS Office Version: Excel 2010
MS Office Skill Level: Can use VBA
 
Join Date: Nov 2010
Location: Bangalore
Age: 30
Posts: 35
My Top Tip Count: 0
Thanks to others: 5
Thanked 0 Times in 0 Posts
Chats: 0
Reputation: 10 (3) rkb2k9 is on a distinguished road
India
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.






Reply & Quote Reply


Did you find this post helpful? Yes | No
  #9 (permalink)  
Old 20th February 2012, 19:05
f.maria's Avatar
The Code Cage Staff
MS Office Version: MS Office 2003
MS Office Skill Level: Some VBA experience
 
Join Date: Jun 2011
Location: Sturovo,Slovakia
Age: 55
Posts: 347
My Top Tip Count: 1
Thanks to others: 6
Thanked 57 Times in 55 Posts
Chats: 0
Reputation: 902 (14) f.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to beholdf.maria is a splendid one to behold
1 Top Tips
Slovakia
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





__________________
Best regards

Maria

Aesop: Little friends may prove great friends.

Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
MyBet
  #10 (permalink)  
Old 7th March 2012, 06:56
rkb2k9's Avatar
Junior Member
MS Office Version: Excel 2010
MS Office Skill Level: Can use VBA
 
Join Date: Nov 2010
Location: Bangalore
Age: 30
Posts: 35
My Top Tip Count: 0
Thanks to others: 5
Thanked 0 Times in 0 Posts
Chats: 0
Reputation: 10 (3) rkb2k9 is on a distinguished road
India
Default Re: Lookup based on Column headers

------ Register to get rid of these "In Post" ads! ------


Warning

Warning



Sorry but you need to register for FREE to see the rest of these posts. Please click HERE to register.

We only allow guests to see the first post of every thread to keep valuable resources for our members.





Attached Files To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.

Reply & Quote Reply


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement
New Reply
The Code Cage at Facebookhe Code Cage at Twitter


Tags
based, column, headers, lookup

Thread Tools
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 On
Pingbacks are On
Refbacks are On


The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!


http://www.thecodecage.com/forumz tested by McAfee Security http://www.thecodecage.com/forumz tested by McAfee Security

All times are GMT +1. The time now is 08:25.


Languages translations supported by vBET 3.6.3
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright © Simon Lloyd 2008 - 2013
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
UA-8135493-1
Cultural Forum | Study at Malaysian University