Easy Excel Question - Microsoft Community


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

Popular posts from this blog

Getting ErrorCode: 120018 when trying to access Microsoft account - Microsoft Community

The message was sent to a distribution list ‎(DL)‎ - Microsoft Community

What is the Office 365 default group Mailbox Users ISV Access Enabled - Microsoft Community