Match the data and return adjacent values

[Closed]
Report
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,

Suppose that I have data on sheet 1 which contains names, and on sheet 2 contains names and all expenses on his account. (This is how sheet 1& 2 look like):

A B C D E
1 Bob
2 john
3 max
4 ....

A B C D E
1 Bob 100 200 ... ...
2 200 ... .... ....
3 300 ..... .... ....
4 total 500 200 .... ....

How can I match the name on sheet1(top) to sheet2(bottom) and have them read the column total expense instead (B4 or C4)? I try to use vlookup but I don't know how to read further than the same row. Any help? Thanks.

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Could you please upload a sample EXCEL file WITH sample data, macro, formula , conditional formatting etc on some shared site like https://authentification.site , http://docs.google.com, http://wikisend.com/ , http://www.editgrid.com etc and post back here the link to allow better understanding of how it is now and how you foresee. Based on the sample book, could you re-explain your problem too