I'm not sure what the relationship is to the cells, but you could use a lookup formula to look up the name if you could format all the names to be in one column, or one row, with the corrosponding number (the value you want to return) either in the column to the right, or the row below the names. If it's possible to format your work this way, I can help you with the formula.
The only name that is not in the same column is in BZ5, all the rest are in the same row, AM4:BQ4 Thanks for your help. AL
Ok, then try this, in Cell CA7 type the following formula:
=IF(BZ4=1,HLOOKUP(BZ5,AM4:BQ39,36,0),"")
If your data is larger than row 39, then change BQ39 to BQ(last row#).
Just to confirm: This formula should be in cell CA7. Cell BZ4 should equal 1. BZ5 should contain a name that you want to look up. This name should also be listed in row 4 between columns AM and BQ. The name must be spelled exactly the same here as in BZ5. Once it finds the name in this row, it will look down 36 rows counting row 4 and return this value. In your example, you wanted the value returned from row 39 which would be 36 down from the name (including the name). This is how I understood your data when I wrote the formula. If this is correct, then the formula should work. If I got something wrong, let me know, and I will adjust the formula.
Scott Your formula works great, I had the name spelled two different ways and I did not realize it until you pointed out about the names being spelled alike. I really appreciate your help, thank you very much. AL