match - Get and Increase cell address in Excel formula -
i got following problem.
i have 2 excel sheets in same workbook. both contain lists, usernames, email addresses , colum called "profile".
now need find username of list 1 in list 2, , write contents of cell of row username found of column "profile" of list 2 list 1. , should use formulas macro not wanted here...
i thought going this:
get colum-address of usernamecell on list 2 matches username in colum formula in in list 1.
get value of "profile" colum of row username found in list 2.
the formula should display value of list 2 in list 1.
i have searched around, , didn't find useful.
i thought doing (in pseudo-formula):
indirect(address(match(a$2;'list2'!a:a);match(a$2;'list2'!a:a)+2))
so getting value, of address thing found +2 colums, username in , "profile" in c.
the problem here also, address gives me eg. "$a$7" not 'list2'!. can't have "pointer" other sheet in formular...
but formula not valid anyways, wondering if me out this.
thanks in advance, , hope questiion ok here, robind
you can vlookup
.
sheet 1 b c 1 jon jon@test.com =vlookup(a2,sheet2!$a$2:$c$3,3) //result = "accountant" 2 betty betty@test.com sheet 2 b c 1 jon jon@test.com accountant 2 betty betty@test.com marketing vp
the formula:
=vlookup(a2,sheet2!$a$2:$c$3,3)
a2
username want lookup insheet2
sheet2!$a$2:$c$3
range reference of list insheet2
3
column want pull data insheet2
Comments
Post a Comment