A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Two Level Search



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 10:41 PM posted to microsoft.public.excel.worksheet.functions
burtlake
external usenet poster
 
Posts: 15
Default Two Level Search

I have simplified the example ----- I would like to search the table shown
below and determine the amount Pledge by each family. However since there
are last names that are the same, a simple vlookup does not work. For
example, I must define my search so I get Bill Johnson, not Frank Johnson.
For the example, I would like the search result to appear in the column
labeled "Search Result".

Fund Raiser Invitations and Followup


Roberts 22-May Y/N

Invited Attended Pledged (amount) Search Result

Smith Bill Marla N 1000
Smith Jon Sue N 12500
Johnson Bill Carla N 550
Johnson Frank Norma Y 4000
Johnson John Nancy Y 3300



  #2  
Old May 28th, 2010, 03:22 PM posted to microsoft.public.excel.worksheet.functions
Steve Dunn
external usenet poster
 
Posts: 192
Default Two Level Search

I'm not entirely clear what you want here, does this do what you need?

=index($E$1:$E$5,match(1,($A$1:$A$5="Johnson")*
($B$1:$B$5="Bill Carla"),0)




"burtlake" wrote in message
...
I have simplified the example ----- I would like to search the table shown
below and determine the amount Pledge by each family. However since there
are last names that are the same, a simple vlookup does not work. For
example, I must define my search so I get Bill Johnson, not Frank Johnson.
For the example, I would like the search result to appear in the column
labeled "Search Result".

Fund Raiser Invitations and Followup


Roberts 22-May Y/N

Invited Attended Pledged (amount) Search Result

Smith Bill Marla N 1000
Smith Jon Sue N 12500
Johnson Bill Carla N 550
Johnson Frank Norma Y 4000
Johnson John Nancy Y 3300




 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:48 PM.


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