Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Need formula help for Excel

I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). This result (the formula) will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't get
it to work.

Thanks! - Ken
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Need formula help for Excel

Try this:

=VLOOKUP(A4,Sheet2!B$2:C$10,2,0)

--
Biff
Microsoft Excel MVP


"KenCanuck" wrote in message
...
I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10)
and
supply the corresponding value in (C2-C10). This result (the formula)
will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't
get
it to work.

Thanks! - Ken



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Need formula help for Excel

Got #REF

I'll try explain again, I probably wasn't clear.

Sheet 1: cell A4. Has drop down list of names (Pat, Jim, Bob)
Sheet 2: Cells B1:B3 has names Pat, Jim, Bob
Sheet 2: Cells C1:C3 has ages 33, 24, 47

I want Cell B4 in Sheet 1 to lookup and match the name and show as a result
the corresponding age.

Hope this makes sense. - Thanks again.

"T. Valko" wrote:

Try this:

=VLOOKUP(A4,Sheet2!B$2:C$10,2,0)

--
Biff
Microsoft Excel MVP


"KenCanuck" wrote in message
...
I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10)
and
supply the corresponding value in (C2-C10). This result (the formula)
will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't
get
it to work.

Thanks! - Ken




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Need formula help for Excel

I probably wasn't clear.

No, you were very clear!

If you're getting a #REF! error make sure you use the correct sheet name and
the correct syntax to define the sheet name in the formula. What is the
*exact* sheet name of sheet 2?

--
Biff
Microsoft Excel MVP


"KenCanuck" wrote in message
...
Got #REF

I'll try explain again, I probably wasn't clear.

Sheet 1: cell A4. Has drop down list of names (Pat, Jim, Bob)
Sheet 2: Cells B1:B3 has names Pat, Jim, Bob
Sheet 2: Cells C1:C3 has ages 33, 24, 47

I want Cell B4 in Sheet 1 to lookup and match the name and show as a
result
the corresponding age.

Hope this makes sense. - Thanks again.

"T. Valko" wrote:

Try this:

=VLOOKUP(A4,Sheet2!B$2:C$10,2,0)

--
Biff
Microsoft Excel MVP


"KenCanuck" wrote in message
...
I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4
in
Sheet 1 then references Sheet 2 to match that text out of a list
(B2-B10)
and
supply the corresponding value in (C2-C10). This result (the formula)
will
be in cell B4 on sheet 1. I thought it was a MATCH function but I
can't
get
it to work.

Thanks! - Ken






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default Need formula help for Excel

try this in B4

=VLOOKUP(A4,Sheet2!B2:B10,2,0)

to ignore ISNA when there is no match, use this
=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,2,0)),"",VLOOKUP (A4,Sheet2!B2:B10,2,0))

--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.

Thank You

cheers, francis



"KenCanuck" wrote:

I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). This result (the formula) will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't get
it to work.

Thanks! - Ken



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Need formula help for Excel

A few typos, Francis:

=VLOOKUP(A4,Sheet2!B2:C10,2,0)

and:

=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,1,0)),"",VLOOKUP (A4,Sheet2!
B2:C10,2,0))

Hope this helps.

Pete

On Feb 24, 7:00*pm, xlmate wrote:
try this in B4

=VLOOKUP(A4,Sheet2!B2:B10,2,0)

to ignore ISNA when there is no match, use this
=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,2,0)),"",VLOOKUP (A4,Sheet2!B2:B10,2,0))

--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you. *

Thank You

cheers, francis



"KenCanuck" wrote:
I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). *This result (the formula) will
be in cell B4 on sheet 1. *I thought it was a MATCH function but I can't get
it to work.


Thanks! - Ken- Hide quoted text -


- Show quoted text -


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default Need formula help for Excel

Hi Pete

Thanks.


--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis










"Pete_UK" wrote:

A few typos, Francis:

=VLOOKUP(A4,Sheet2!B2:C10,2,0)

and:

=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,1,0)),"",VLOOKUP (A4,Sheet2!
B2:C10,2,0))

Hope this helps.

Pete

On Feb 24, 7:00 pm, xlmate wrote:
try this in B4

=VLOOKUP(A4,Sheet2!B2:B10,2,0)

to ignore ISNA when there is no match, use this
=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,2,0)),"",VLOOKUP (A4,Sheet2!B2:B10,2,0))

--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.

Thank You

cheers, francis



"KenCanuck" wrote:
I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). This result (the formula) will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't get
it to work.


Thanks! - Ken- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Need formula help for Excel


Hi, thanks for the response, I got #REF

I'll try explain again, I probably wasn't clear.

Sheet 1: cell A4. Has drop down list of names (Pat, Jim, Bob)
Sheet 2: Cells B1:B3 has names Pat, Jim, Bob
Sheet 2: Cells C1:C3 has ages 33, 24, 47

I want Cell B4 in Sheet 1 to lookup and match the name and show as a result
the corresponding age.

Hope this makes sense. - Thanks again.

"xlmate" wrote:

try this in B4

=VLOOKUP(A4,Sheet2!B2:B10,2,0)

to ignore ISNA when there is no match, use this
=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,2,0)),"",VLOOKUP (A4,Sheet2!B2:B10,2,0))

--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.

Thank You

cheers, francis



"KenCanuck" wrote:

I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). This result (the formula) will
be in cell B4 on sheet 1. I thought it was a MATCH function but I can't get
it to work.

Thanks! - Ken

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Need formula help for Excel

Try this:

=VLOOKUP(A4,'Sheet 2'!B1:C3,2,0)

Ensure that the sheet name is exactly as it appears on the sheet tab,
including any spaces - apostrophes are needed if you have spaces in
the sheet name.

Hope this helps.

Pete

On Feb 24, 7:33*pm, KenCanuck
wrote:
Hi, thanks for the response, I got #REF

I'll try explain again, I probably wasn't clear. *

Sheet 1: *cell A4. *Has drop down list of names (Pat, Jim, Bob)
Sheet 2: Cells B1:B3 has names Pat, Jim, Bob
Sheet 2: Cells C1:C3 has ages 33, 24, 47

I want Cell B4 in Sheet 1 to lookup and match the name and show as a result
the corresponding age.

Hope this makes sense. - Thanks again.



"xlmate" wrote:
try this in B4


=VLOOKUP(A4,Sheet2!B2:B10,2,0)


to ignore ISNA when there is no match, use this
=IF(ISNA(VLOOKUP(A4,Sheet2!B2:B10,2,0)),"",VLOOKUP (A4,Sheet2!B2:B10,2,0))


--
Hope this is helpful


Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you. *


Thank You


cheers, francis


"KenCanuck" wrote:


I have 2 worksheets. I need to have a formula that reads cell (Ex.) A4 in
Sheet 1 then references Sheet 2 to match that text out of a list (B2-B10) and
supply the corresponding value in (C2-C10). *This result (the formula) will
be in cell B4 on sheet 1. *I thought it was a MATCH function but I can't get
it to work.


Thanks! - Ken- Hide quoted text -


- Show quoted text -


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
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel Formula Doesn't Execute (Shows formula-not the calcuation) Keys1970 Excel Discussion (Misc queries) 4 November 15th 06 02:12 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM


All times are GMT +1. The time now is 01:39 AM.

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

About Us

"It's about Microsoft Excel"