Excel Game Formula Help

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Hey all,

Context:
I am in the process of developing a learning game for a training class at work. It's based on the concept of the Around the World game we have likely all played with a Basketball.

In the game, players/teams move forward or backward depending on their ability to answer questions from the content.

Most of the formulas and VBA for this game work, but having particular issues with 1, which is changing itself whenever the cell is moved.

Question:

I have a column which is supposed to keep track of where the teams are on the board, using a INDEX(MATCH()) formula. The formula works perfectly! However, when the player's icon (cell) is moved forward or backwards the formula reorients itself, so that it's always showing them being on START

I tried using ABSOLUTE cell references, but it still changes. Is there any way around this?

Below is the code for the Blue Team/Player: Each team/player has code matching their color, the named cell reference.

Code:
=INDEX($A$2:$O$15,1,MATCH("Blue",$A$4:$O$4,0))

Once I move the cell, it changes to:

Code:
=INDEX($A$2:$O$15,1,MATCH("Blue",$B$4:$O$4,0))

:confused:

Sincerely,
Kristopher
 
Last edited:

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I'm not entirely clear on what you're asking, but maybe:

Code:
=INDEX(INDIRECT("A2:O15"),1,MATCH("Blue",INDIRECT("A4:O4"),0))

If you need this to change based on row, then maybe

Code:
=INDEX(INDIRECT("A2:O2"),MATCH("Blue",INDIRECT("A" & ROW() &":O" & ROW()),0))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,094
Messages
6,128,785
Members
449,468
Latest member
AGreen17

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