LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How should I do this (function or Visual basic)

Oops... it is working... this is really stupid when MS make finnish
translations to functions (and english functions don't work). Now it works...
because vlookup is PHAKU not VHAKU... stupid me..

paha

"Pasi" wrote:

I tried these both but these did not work (because of me, think so)...

Again:

sheet2

A1=old cc, B1= new cc, C1= new cc name (titles)
A2= old cc number and A3 and so on
B2= new cc number and so on
C2= new cc name and so on

sheet2
A1=phonenumber, B1=old cc (titles)
A2= phonenumber and so on
B2=old cc and so on...

sheet3
A1=phonenumbers (title), B1= old cc number (i think), C1=new cc, D1=new cc
name
A2 and so on are phonenumbers

and...

if I try function VLOOKUP in the cell B2 (VHAKU is finnish version on
VLOOKUP): =VHAKU(A2;sheet2!A1:B4;2;0) it gives me answer MISSING?

And also in finnish version of Excel 2007 I have to use ; separation
character.

"muddan madhu" wrote:

sheet 1 has
old cc new cc new cc name
123 222 management
124 333 service
125 444 etc... phone costs


sheet 2 has
phonenumber old cc
0401234 123
0402345 124
0501234 125

sheet 3 - you have phone number in col A
in cell B2 =VLOOKUP(A2,sheet2!$A$1:$B$4,2,0) and drag it down
in cell C2 =VLOOKUP(B2,sheet1!$A$1:$C$4,2,0) and drag it down
in cell D2 =VLOOKUP(B2,sheet1!$A$1:$C$4,3,0) and drag it down

change the range ranges according to your need.


On Nov 24, 2:05 pm, Pasi wrote:
I have one workbook with two different worksheets

In other worksheet there is information what is old cost centre and what is
correspondin new cost centre and new name of that cost centre (cc):

old cc new cc new cc name
123 222 management
124 333 service
125 444 etc... phone costs

In other worksheet there is:

phonenumber old cc
0401234 123
0402345 124
0501234 125

And I need to get new cost centre number based on corresbonding cost centre
numbers in other worksheet and result is like this:

search term result of search term
phone number old cc new cc name of new cc
0401234 123 222 management
0402345 124 333 service
0501234 125 444 etc phone costs

How should I solve this thing? Is there a function to do that or do I need
visual basic. And plz I need a very strict answer about this...

Thx in advance and sorry my poor english!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic mcp201 Excel Discussion (Misc queries) 0 June 23rd 08 05:05 PM
Call a Visual Basic Function with VLookup ajd Excel Worksheet Functions 10 December 18th 07 03:40 AM
Visual Basic Function works fine in Excell 2003 but not in Excel 2 Roger Excel Discussion (Misc queries) 8 August 1st 07 03:56 AM
Microsoft Visual Basic: Compile error: Sum or Function not defined Dmitry Excel Worksheet Functions 12 April 3rd 06 07:28 AM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"