cyclonewoody
New Member
- Joined
- Oct 17, 2012
- Messages
- 10
Using Excel 2007 and I have a database with several different columns of information I'd like to compile using a lookup type function. The issue I have is that my search criteria (Forman in the database below) is entered multiple times in that database. The Vlookup function stops searching after it finds the first match so I only get 1 piece of the data I need. In the example below I want to set up a sheet for Bob and be able to extract all the data (Job, City, Price, and Size) from Bob's jobs onto just his sheet. The result I want on Bob's sheet from the example below would be:
Job City Price Size
House A XYZ $50,000 1000
House C YYY $25,000 250
How do I get it to return multiple rows of data for all of Bob's jobs into a single sheet?
<tbody>
[TD="width: 19%"] City
[/TD]
[TD="width: 26%"] Price
[/TD]
[TD="width: 19%"] Size
[/TD]
[TD="width: 19%"] Forman
[/TD]
[TD="width: 19%"] House A
[/TD]
[TD="width: 19%"] XYZ
[/TD]
[TD="width: 26%"] $ 50,000.00
[/TD]
[TD="width: 19%"] 1000
[/TD]
[TD="width: 19%"] Bob
[/TD]
[TD="width: 19%"] House B
[/TD]
[TD="width: 19%"] XXX
[/TD]
[TD="width: 26%"] $ 25,000.00
[/TD]
[TD="width: 19%"] 500
[/TD]
[TD="width: 19%"] Jim
[/TD]
[TD="width: 19%"] House C
[/TD]
[TD="width: 19%"] YYY
[/TD]
[TD="width: 26%"] $ 25,000.00
[/TD]
[TD="width: 19%"] 250
[/TD]
[TD="width: 19%"] Bob
[/TD]
[TD="width: 19%"] House D
[/TD]
[TD="width: 19%"] ZZZ
[/TD]
[TD="width: 26%"] $ 100,000.00
[/TD]
[TD="width: 19%"] 2000
[/TD]
[TD="width: 19%"] Jim
[/TD]
[TD="width: 19%"] House E
[/TD]
[TD="width: 19%"] AAA
[/TD]
[TD="width: 26%"] $ 75,000.00
[/TD]
[TD="width: 19%"] 1500
[/TD]
[TD="width: 19%"] Matt
[/TD]
</tbody>
Job City Price Size
House A XYZ $50,000 1000
House C YYY $25,000 250
How do I get it to return multiple rows of data for all of Bob's jobs into a single sheet?
Job |
<tbody>
[TD="width: 19%"] City
[/TD]
[TD="width: 26%"] Price
[/TD]
[TD="width: 19%"] Size
[/TD]
[TD="width: 19%"] Forman
[/TD]
[TD="width: 19%"] House A
[/TD]
[TD="width: 19%"] XYZ
[/TD]
[TD="width: 26%"] $ 50,000.00
[/TD]
[TD="width: 19%"] 1000
[/TD]
[TD="width: 19%"] Bob
[/TD]
[TD="width: 19%"] House B
[/TD]
[TD="width: 19%"] XXX
[/TD]
[TD="width: 26%"] $ 25,000.00
[/TD]
[TD="width: 19%"] 500
[/TD]
[TD="width: 19%"] Jim
[/TD]
[TD="width: 19%"] House C
[/TD]
[TD="width: 19%"] YYY
[/TD]
[TD="width: 26%"] $ 25,000.00
[/TD]
[TD="width: 19%"] 250
[/TD]
[TD="width: 19%"] Bob
[/TD]
[TD="width: 19%"] House D
[/TD]
[TD="width: 19%"] ZZZ
[/TD]
[TD="width: 26%"] $ 100,000.00
[/TD]
[TD="width: 19%"] 2000
[/TD]
[TD="width: 19%"] Jim
[/TD]
[TD="width: 19%"] House E
[/TD]
[TD="width: 19%"] AAA
[/TD]
[TD="width: 26%"] $ 75,000.00
[/TD]
[TD="width: 19%"] 1500
[/TD]
[TD="width: 19%"] Matt
[/TD]
</tbody>