#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AKS AKS is offline
external usenet poster
 
Posts: 7
Default Formula Question

I have two separate sheets. One sheet contains a person's name with their
pets name and an attached value (3 separate columns). In the other sheet I
have the same person's name with their pets. In the value column of the
second sheet I want it to look up the exact person's name and pet match and
give me the attached value. Anyone have any ideas. I have tried several
different things with no luck.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Formula Question

=INDEX(Sheet2!C:C,MATCH(1,(Sheet2!A1:$A$200=$A$2)* (Sheet2!$B$1:$B$200=B2),0))

this is an array formula, so commit with Ctrl-Shift-Enter, not just Enter.

--
__________________________________
HTH

Bob

"AKS" wrote in message
...
I have two separate sheets. One sheet contains a person's name with their
pets name and an attached value (3 separate columns). In the other sheet
I
have the same person's name with their pets. In the value column of the
second sheet I want it to look up the exact person's name and pet match
and
give me the attached value. Anyone have any ideas. I have tried several
different things with no luck.

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 169
Default Formula Question

You can concatenate the person's name and their pet name in both sheets and
then do a VLOOKUP based on the concatenated value. In the sheet with the
values, you'd have to set up a field were both names are already joined, so
assuming your concatenated name is column C and your 3 values are columns,
D:F, it would look something like this:

VLOOKUP(CONCATENATE(name, pet name), Other sheet!C:F, 2, FALSE)
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"AKS" wrote:

I have two separate sheets. One sheet contains a person's name with their
pets name and an attached value (3 separate columns). In the other sheet I
have the same person's name with their pets. In the value column of the
second sheet I want it to look up the exact person's name and pet match and
give me the attached value. Anyone have any ideas. I have tried several
different things with no luck.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AKS AKS is offline
external usenet poster
 
Posts: 7
Default Formula Question

This is not working. Would anyone mind me emailing them the sheets to show
them?

"Bob Phillips" wrote:

=INDEX(Sheet2!C:C,MATCH(1,(Sheet2!A1:$A$200=$A$2)* (Sheet2!$B$1:$B$200=B2),0))

this is an array formula, so commit with Ctrl-Shift-Enter, not just Enter.

--
__________________________________
HTH

Bob

"AKS" wrote in message
...
I have two separate sheets. One sheet contains a person's name with their
pets name and an attached value (3 separate columns). In the other sheet
I
have the same person's name with their pets. In the value column of the
second sheet I want it to look up the exact person's name and pet match
and
give me the attached value. Anyone have any ideas. I have tried several
different things with no luck.

Thanks!




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
Formula Question Stephanie Excel Discussion (Misc queries) 3 June 27th 08 07:26 PM
If Formula Question ScottishSteve Excel Discussion (Misc queries) 4 March 11th 08 11:22 AM
Need help with a formula question swtanjewel Excel Discussion (Misc queries) 3 August 22nd 06 03:15 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula Question shadrach Excel Discussion (Misc queries) 1 May 10th 05 08:25 AM


All times are GMT +1. The time now is 04:33 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"