I am not certain whether vba is needed or a formula. I first posted under the formula forum but because I have not received any help I thought it may be appropriate for this category. I am under the gun and need help. I am self taught. Here's the problem:
A row in my spreadsheet is comprised of 4 groups of related data. For example, a name, age, weight, height for 4 different people, so columns A through P. I want to look for those people in the row and find the person with a specific age and display their name and weight if their weight is the greatest. For example, there's 2 people that are 20 (the age I'm searching for). One person is 108 and the other is 150. I want the name and weight of the 150 pound person. How do I do this? There could be any number of persons on a single row.
Example
Tom 20 108 5 Sarah 35 190 6 frank 20 150 5
The formula or vba code returns frank 150
Bookmarks