ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Two Level Search (https://www.excelbanter.com/excel-worksheet-functions/264744-two-level-search.html)

burtlake

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




Steve Dunn

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






All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com