Match the data and return adjacent values

Closed
tam - Jul 30, 2010 at 03:48 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Aug 2, 2010 at 09:12 AM
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.
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Aug 2, 2010 at 09:12 AM
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
0