Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel 2000 - formula to display text from anoher worksheet

I have 2 worksheets. On sheet 1 is a list of items on order sorted by
customer number. The other sheet is a list of customer numbers in column A
and coresponding names in column B. I want to display the customer name
instead of the customer number in sheet 1 from the coresponding name in
column B that matches the number in column A in sheet 2. What formula can I
use for this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Excel 2000 - formula to display text from anoher worksheet

With
Sheet1!A1: (a CustNum)
and
Sheet2!A1:B100 containing the XRef list of CustNum/Name

Try this on Sheet1:
This formula returns the name associated with the CustNum
B1: =VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0)

Note: if an incorrect CustNum is in Col_A,
the formula returns an error.

If you need error checking,
try this formula (in sections for readability):
B1:=IF(ISNUMBER(MATCH(A1,Sheet2!$A$1:$A$100,0)),
VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0),"No match")

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" <Scott wrote in message
...
I have 2 worksheets. On sheet 1 is a list of items on order sorted by
customer number. The other sheet is a list of customer numbers in column A
and coresponding names in column B. I want to display the customer name
instead of the customer number in sheet 1 from the coresponding name in
column B that matches the number in column A in sheet 2. What formula can
I
use for this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel 2000 - formula to display text from anoher worksheet

The first formula works but I didn't realize I have first and last names.
Column B on sheet 2 contains the last names and column C on sheet 2 contains
first names. How can I make it so another column in sheet 1 does the same
thing with the first names from column C on sheet 2? I tried tweaking it but
am having a hard time figuring it out.
Thanks

"Ron Coderre" wrote:

With
Sheet1!A1: (a CustNum)
and
Sheet2!A1:B100 containing the XRef list of CustNum/Name

Try this on Sheet1:
This formula returns the name associated with the CustNum
B1: =VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0)

Note: if an incorrect CustNum is in Col_A,
the formula returns an error.

If you need error checking,
try this formula (in sections for readability):
B1:=IF(ISNUMBER(MATCH(A1,Sheet2!$A$1:$A$100,0)),
VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0),"No match")

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" <Scott wrote in message
...
I have 2 worksheets. On sheet 1 is a list of items on order sorted by
customer number. The other sheet is a list of customer numbers in column A
and coresponding names in column B. I want to display the customer name
instead of the customer number in sheet 1 from the coresponding name in
column B that matches the number in column A in sheet 2. What formula can
I
use for this?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Excel 2000 - formula to display text from anoher worksheet

Try this:

Last Names:
B1: =VLOOKUP(A1,Sheet2!$A$1:$C$100,2,0)

First Names:
C1: =VLOOKUP(A1,Sheet2!$A$1:$C$100,3,0)

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" wrote in message
...
The first formula works but I didn't realize I have first and last names.
Column B on sheet 2 contains the last names and column C on sheet 2
contains
first names. How can I make it so another column in sheet 1 does the same
thing with the first names from column C on sheet 2? I tried tweaking it
but
am having a hard time figuring it out.
Thanks

"Ron Coderre" wrote:

With
Sheet1!A1: (a CustNum)
and
Sheet2!A1:B100 containing the XRef list of CustNum/Name

Try this on Sheet1:
This formula returns the name associated with the CustNum
B1: =VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0)

Note: if an incorrect CustNum is in Col_A,
the formula returns an error.

If you need error checking,
try this formula (in sections for readability):
B1:=IF(ISNUMBER(MATCH(A1,Sheet2!$A$1:$A$100,0)),
VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0),"No match")

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" <Scott wrote in message
...
I have 2 worksheets. On sheet 1 is a list of items on order sorted by
customer number. The other sheet is a list of customer numbers in
column A
and coresponding names in column B. I want to display the customer name
instead of the customer number in sheet 1 from the coresponding name in
column B that matches the number in column A in sheet 2. What formula
can
I
use for this?






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel 2000 - formula to display text from anoher worksheet

Thank You Ron, That did it. I appreciate your time.
Scott

"Ron Coderre" wrote:

Try this:

Last Names:
B1: =VLOOKUP(A1,Sheet2!$A$1:$C$100,2,0)

First Names:
C1: =VLOOKUP(A1,Sheet2!$A$1:$C$100,3,0)

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" wrote in message
...
The first formula works but I didn't realize I have first and last names.
Column B on sheet 2 contains the last names and column C on sheet 2
contains
first names. How can I make it so another column in sheet 1 does the same
thing with the first names from column C on sheet 2? I tried tweaking it
but
am having a hard time figuring it out.
Thanks

"Ron Coderre" wrote:

With
Sheet1!A1: (a CustNum)
and
Sheet2!A1:B100 containing the XRef list of CustNum/Name

Try this on Sheet1:
This formula returns the name associated with the CustNum
B1: =VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0)

Note: if an incorrect CustNum is in Col_A,
the formula returns an error.

If you need error checking,
try this formula (in sections for readability):
B1:=IF(ISNUMBER(MATCH(A1,Sheet2!$A$1:$A$100,0)),
VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0),"No match")

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Scott J" <Scott wrote in message
...
I have 2 worksheets. On sheet 1 is a list of items on order sorted by
customer number. The other sheet is a list of customer numbers in
column A
and coresponding names in column B. I want to display the customer name
instead of the customer number in sheet 1 from the coresponding name in
column B that matches the number in column A in sheet 2. What formula
can
I
use for this?








Reply
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
ExcelExcel 2002 display formula in another cell as text Oldersox Excel Worksheet Functions 1 January 10th 07 06:01 AM
Display Problems in Excel 2000 Jasmine Setting up and Configuration of Excel 0 April 24th 06 04:26 PM
Stem-and-leaf display\Excel 2000 fjm New Users to Excel 1 October 3rd 05 09:06 PM
Need Workaround for Cell Display Limitation in Excel 2000 Kevin Excel Discussion (Misc queries) 5 April 20th 05 11:33 PM
Display excel formula on worksheet superchica Excel Worksheet Functions 2 November 3rd 04 06:38 PM


All times are GMT +1. The time now is 02:38 AM.

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"