How can I make this formula automatically update sheet reference?

a b

I am making an excel spreadsheet that will breakdown and analyze the football season. I am currently using the results from each round to retrieve who vs'd who to make it easier to identify which teams a team has faced. Each round sheet holds the result for that particular round. What I would like to do is have the Round 1 sheet identifier update to round 2, round 3, etc when I use autofill rightward.

I understand Indirect is supposed to be useful for this but I cannot make it work no matter how I try it. Even in isolation I have not been able to make it work, so I might be retarded.

using this formula

=IFNA(VLOOKUP('Scoreless Fixture'!$A2,'Round 1'!$A$4:$D$12,3,FALSE),INDEX('Round 1'!$A$4:$A$12,MATCH($A2,'Round 1'!$C$4:$C$12,0)))

to retrieve the teams. The teams are presented as Home vs Away so that is why I have chosen to use this formula. It works for it's purpose but for automation I would like to have the round number update.

When I introduce indirect I fail miserably. If someone could give me some pointers would be greatly appreciated.

Skin

This is untested but try this formula ...

=IFNA(VLOOKUP('Scoreless Fixture'!$A2,INDIRECT("'Round " & SelectedRound & "'!$A$4:$D$12"),3,FALSE),INDEX(INDIRECT("'Round " & SelectedRound & "'!$A$4:$A$12"),MATCH($A2,INDIRECT("'Round " & SelectedRound & "'!$C$4:$C$12"),0)))

... to make it work, you need to create a named range called SelectedRound and put the integer value in that represents the round, e.g. 1 or 2 or 3 or 4, etc.

I don't have all of your data but if I simplified that and did the "INDIRECT" portion only on a single cell, it worked fine.

Here's hoping it does what you want.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I make correct formula for Age diff in Google sheet?

How can I make a 'google sheet script' or formula to change values in different cells based on a checkbox in the sheet

Automatically increment sheet reference when dragging formula

How can I rewrite the Google Sheet formula to make it autofill without hand dragging?

How to I use a selectable field to change a sheet reference in a formula?

Reference another sheet in a formula using INDIRECT but it does not update as I add a new sheet

R/Shiny - How can I make the sheet name automatically fill in a field after upload?

In a Google Sheet tab created based on a sheet row, how do I reference a specific row in a formula?

How can I insert a formula into another sheet referring to a cell in the Active Sheet?

How can I make a custom sort to be updated automatically when update a cell value in Excel?

How can I reference a row in another sheet based on value in cell?

How can I get my range to reference parameters on a configuration sheet?

How can I update a mutable reference in a loop?

How can I make an object reference?

How to use automatically update formula without dragging

How Can I Set a Formula to Only Update Once

How can I update XLSX sheet through SQL?

How can I make an autorun to make a program open a file automatically

How can I reference Sheet1 name in a different Sheet in the same workbook in excel 2010?

How can I make a newline in an Openoffice.org Calc formula?

How can I make my bottom sheet look like this?

How can I make a background color with opacity on a Sheet view?

How can I make the corners of my bottom sheet dialog rounded?

How can i make a subtraction if one cell in sheet is not equal to 0

How can I make a searchable shortcuts cheat sheet?

How do I make Update Manager stop opening automatically?

How to make a Custom List with sheet cross reference?

How can I make a dynamic value for update?

How can I make a multiple update in psql?