Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

How to get a value from another sheet where values match in another column in excel 2010?

$
0
0

This is my scenario:

Worksheet 1:

column A Column B Column C

Username # of visits1 #of visits2

Adam 100

Al 50

Allison

Ana

Worksheet 2:

Column A Column B

Username # of visits

Aeron 20

Adam 30

Adel 50

Al 10

I want to adde the value in column B of sheet 2, to column C of sheet 1in the row where usernames match

I put and formula in column 2, row 2 of sheet 1:

=VLOOKUP(A2,Sheet2!A2:B5,2,FALSE)

I expect 30 will show in cell C2

but I got NA error.

Can any one point out what is wrong here?

Thank you!


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>