Epsilon101
Programmer
Hi,
This is in Excel..
I am having a bit of trouble figuring a way to do the below, wondering if its easier to do in vba.
Table1
User Name Team Name
User1 Team1
User2 Team1
User3 Team2
This table is set out in this way, giving the user's name and the team they are in, there is 2 teams.
Table2
This table is for MI purposes and isnt normalized.
User User1 User2 User3
IN 3 2 2
OUT 2 1 2
Total 5 3 4
The formula i am trying to do is to total the amount for each team, for each line of data.
So an example is the IN line all users in team1 are user1 and user2, summing the IN amounts totals for the team at 5.
Its easy to do in a range when they are in order, but what happens if they arent.
Vlookup can find the users team name but then how do you use that to pick out specific data in a row below the correct users.
Any help would be great
---------------------------------------
Neil
This is in Excel..
I am having a bit of trouble figuring a way to do the below, wondering if its easier to do in vba.
Table1
User Name Team Name
User1 Team1
User2 Team1
User3 Team2
This table is set out in this way, giving the user's name and the team they are in, there is 2 teams.
Table2
This table is for MI purposes and isnt normalized.
User User1 User2 User3
IN 3 2 2
OUT 2 1 2
Total 5 3 4
The formula i am trying to do is to total the amount for each team, for each line of data.
So an example is the IN line all users in team1 are user1 and user2, summing the IN amounts totals for the team at 5.
Its easy to do in a range when they are in order, but what happens if they arent.
Vlookup can find the users team name but then how do you use that to pick out specific data in a row below the correct users.
Any help would be great
---------------------------------------
Neil