I have data in a table in sheet2, and I have a field on sheet 1 to enter the Record Id as a search criteria, and based on the Type associated with the record id used in the search I want to to find and return specific colums from the associated row in sheet 2 to sheet1 column c every other row. For example, lets say I have a table like the below (actual has around 40 columns) on sheet 2:
RECORDID TYPE COAT COLOR TEMPERMENT FOOD
12345 Bird Feather Blue Fun Seeds
12346 Cat fur Tiger Grouchy Chicken
12347 Dog fur Black Friendly Beef
12348 Fish Scale Gold Fun Flakes
If I enter 12345 I want to return data from that row to sheet1 as follows:
cell c3 = 12345
cell c5 = Bird
cell c7 = Feather
cell c9 = Blue
cell c11 =
cell c13 = Seed
If I enter 12345 I want to return data from that row to sheet1 as follows:
cell c3 = 12345
cell c5 = Cat
cell c7 =
cell c9 = Tiger
cell c11 =
cell c13 =
Where there is nothing after the equal means that information should not be carried over to sheet1; i.e. for record 12345 the temperment (fun) should not be carried over to sheet1, and for record 12346 the coat (fur), temperment (groughy) and food (chicken) should not be carried over to sheet1.
As indicated, the actual sheet has about 50 columns in sheet2 and only values from specific columns based on the TYPE column for the selected record id should be brought over to sheet1.
The number of records on sheet2 is dynamic and will change.
Any ideas on the best way to do this
Thanks Seeki
Bookmarks