Originally Posted by
Miraun
As with all things excel, I'm sure there are an absolute ton of ways to do it... but I scrapped together an imbedded If statement with a couple Vlookups. It it not pretty or that scalable if you need to add many more columns, but for the purposes of the test file, it works!
I'm also assuming that you're looking for a single lookup, and that you're not just looking to enter a new value on each column. with whichever field is populated.
=IF(VLOOKUP(A3,A11:B52,2,FALSE)="",IF(VLOOKUP(A3,A11:D52,4,FALSE)="",IF(VLOOKUP(A3,A11:E52,5,FALSE)="","No Value",VLOOKUP(A3,A11:E52,5,FALSE)),VLOOKUP(A3,A11:D52,4,FALSE)),VLOOKUP(A3,A11:B52,2,FALSE))
Editted to Add: Baudcaire's equations destroy my piecework....
Bookmarks