Easy Excel Question - Microsoft Community
Office / Excel / Windows other / Office 365 for business
i have tried vlookup , looked other formulas, can not find solution, expect there easy solution.
i have 2 tabs: test master , testsheet1.
i want find person test master in testsheet1 , copy 'department' name testsheet1 test master specific user. in test master not exist in testsheet1 , not have department fine.
here sample sheets.
anything can suggest? thank you!
your 3rd parameter in vlookup should column number want return not range of values want return. 2nd parameter should range cover data not lookup column.
=vlookup(a2,testsheet1!$a$2:$b$10,2,false)
you can wrap in iferror cater ones not found
=iferror(vlookup(a2,testsheet1!$a$2:$b$10,2,false),"not found")
Office / Excel / Windows other / Office 365 for business
Comments
Post a Comment