How to increase cell address after getting the address from another function

vpk304

New Member
Joined
Nov 18, 2021
Messages
4
RoleNumber1Value1
Value2
Total1
RoleNumber2Value3
Value4
Total2
RoleNumber3Value5
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
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Tried something on my one it worked for my case please let me know If i can simplifies
=IFERROR(INDIRECT(ADDRESS((MATCH(A1,Table1!A:A,0)+3),2,,,"Sheetname")),0)
 
Upvote 0
Welcome to the Forum!

Will this work for you?

ABCDE
1RoleNumber12
23RoleNumber218
35
4RoleNumber27
511
618
7RoleNumber313
817
930
Sheet2
Cell Formulas
RangeFormula
E2E2=INDEX(B:B,MATCH(D2,A:A,)+2)
B3,B9,B6B3=SUM(B1:B2)
 
Upvote 0
Solution

Forum statistics

Threads
1,216,058
Messages
6,128,538
Members
449,456
Latest member
SammMcCandless

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top