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

Go Back   Excel Help Forum > Usenet Groups > Excel 2007 Help

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2008, 03:47 PM
roy1987 roy1987 is offline
Registered User
 
Join Date: 16 Aug 2008
Location: India
Posts: 8
roy1987 is on a distinguished road
Lookup and More?

Hi,

I am, as one would call, a noob. Not just on this forum. but also on Excel. And its only recently that i've decided to try to replace the more clerical aspects of my job with the complicated excel formulaes (complicated for me atleast)..

Here's a example (somewhat simpler version of the task i'm attepmting to handle smartly)



What i'm trying to achive might appear rather rudimentary to some (a part of it is rather simple)

So here's what I'm trying to do:

1. This is the Original Data. 4 columns: Level, Name, Function, Code

2. Reference Table for 'Name'

3. Reference Table for 'Code'

4. The Final Result.


Firstly the easy part.. I vlookup the Function from 2

Now is that part thats taking up too much of my time doing manually. I lookup the codes corresponding the Function, followed by a '0' and finally followed by the corresponding 'Level'
like in at first case DU01

Its is possible rgt?

Thanks..

PS: I did try posting this in the 'General Excel' Forum, but it just would not allow me to link pictures??
Reply With Quote
  #2  
Old 08-18-2008, 03:51 PM
NBVC's Avatar
NBVC NBVC is offline
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,887
NBVC will become famous soon enough NBVC will become famous soon enough
Probably

=Vlookup(C5,Codes!$A$5:$B$8,2,0)&0&A5

where Codes!A5:B8 contain your codes
__________________
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
  #3  
Old 08-18-2008, 03:58 PM
roy1987 roy1987 is offline
Registered User
 
Join Date: 16 Aug 2008
Location: India
Posts: 8
roy1987 is on a distinguished road
Thanks!!!
Worked perfectly

Would it still work if the Start Data was a bit different. Say:



Here I would have to pick just the '1' from 'H1' and come up with DU01 again?

thanks a lot!
Reply With Quote
  #4  
Old 08-18-2008, 04:06 PM
NBVC's Avatar
NBVC NBVC is offline
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,887
NBVC will become famous soon enough NBVC will become famous soon enough
Something like:


=Vlookup(C5,Codes!$A$5:$B$8,2,0)&0&MID($A5,2,10)
__________________
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
  #5  
Old 08-18-2008, 04:16 PM
roy1987 roy1987 is offline
Registered User
 
Join Date: 16 Aug 2008
Location: India
Posts: 8
roy1987 is on a distinguished road
Quote:
Originally Posted by NBVC View Post


=Vlookup(C5,Codes!$A$5:$B$8,2,0)&0&MID($A5,2,10)
Thanks a Lot!!

Can't wait to try this in office tom!!

cheers
Reply With Quote
Reply

Bookmarks

New topics in Excel 2007 Help


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

Advanced Search
Display Modes

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 06:25 PM.


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