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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,223,725
Messages
6,174,128
Members
452,546
Latest member
Rafafa

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