
Use the INDIRECT function to play “Battle Ship”
Why not take a break and play “Battle Ship”? It’s easy to create,
and when you’re finished reading this tip, you can enjoy playing.
Define in a new worksheet the range C1:E10 as the battlefield
and border it as desired. Place some X’s to define the location of the
ships and enter in cells B1 and B2 the coordinates of the cell to be
fired. Use the INDIRECT function to get the functionality that
returns the reference, specified by a text string (e.g., “HIT”).
INDIRECT(ref_text, a1)
ref_text: A reference to a cell containing an A1-style reference,
an R1C1-style reference, a name defined as a reference, or a ...