RoleNumber1 | Value1 |
Value2 | |
Total1 | |
RoleNumber2 | Value3 |
Value4 | |
Total2 | |
RoleNumber3 | Value5 |
Value6 | |
Total3 |
I have a table like above I need to query this sheet in a new sheet(Pre-filled with RoleNumber like in table 2) I need to search RoleNumber2 first and get the total of that RoleNumber.
Basically, let's say I search for RoleNumber2 with the following query sumif(Table1!$A:$A,$A1,Table!$B:B)) it will return Value3 which is in B4 in table 1 but i need "B4+2"'s value
Note: RoleNumber is unique
Is that possible? Can anyone please help me in this?
Name2 | |
Name1 | |
Name3 |