Can I use the inderct function to reference dynamic rows and columns

ash2707

New Member
Joined
Sep 19, 2019
Messages
2
As always, if i have duplicated a post, apologies in advance, but I dont know the key words to search..

From previous help of a user, I learnt the first time, how to use the indrect function.

Its great for reading multiple sheets, however, I built my own lookup which works perfectly when it is a static cell reference, but can it be used when there are 2 variables?

I have made an example workbook, which looks likes sales, but this is not for a business, it is my own use in an online game.

I am trying to be able to lookup numbers, by month (which works), but also by using the player name. Can this be done?
 

Attachments

  • Example1.png
    Example1.png
    49.8 KB · Views: 10

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I can use say the INDEX function with the Indirect

Book5
ABCDEFGHIJKL
1DecemberData1220Data1220
2JanuaryData1221
3FebruaryData1222
4
50102030405
6December
715520
8Person 2
9
Sheet2
Cell Formulas
RangeFormula
G1G1=VLOOKUP(B6,$B$1:$C$3,2,0)
G7G7=INDEX(INDIRECT($G$1 & "!$A$1:$F$6"), MATCH($B$8,INDIRECT($G$1 & "!$A$1:$A$6"),0),COLUMN(B$2))
Cells with Data Validation
CellAllowCriteria
B6List=$B$1:$B$3
B8List=Data1220!$A$2:$A$6
 
Upvote 0

Forum statistics

Threads
1,215,044
Messages
6,122,827
Members
449,096
Latest member
Erald

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