View Single Post
  #2   Report Post  
Max
 
Posts: n/a
Default

Here's some thoughts ..

Let's say the positions of the battleships/patrol boats in Sheet1 are
represented via typing the letter "X" into cell(s) within a
predetermined "play-grid", say A1:G10

(So your opponent will set up his/her positions in Sheet1
via marking the X's within the grid A1:G10,
and then hide the Sheet1 away from your sight [but of course])

And you'll be using another sheet, say: Sheet2
to plonk in the guided missile coords
into 2 separate cols, say cols A and B,
where the inputs:
in col A, A1 downwards, will be the letters: A, B, C ... G
in col B, B1 downwards, will be the numbers: 1, 2, 3, ... 10

with inputs in each pair (A1:B1, A2:B2, etc ... )
giving the coords (cell refs) of where
you're directing the missiles to land in Sheet1

In Sheet2
---------
Put in C1:

=3DIF(OR(A1=3D"",B1=3D""),"",IF(INDIRECT("Sheet1!" &A1&B1)=3D"X","Direct
Hit!!","Miss"))

Copy C1 down as many rows as needed, say down to C50?
(can copy down ahead of expected data input in cols A and B)

Col C will return the results of the missiles' targeting:
either "Direct Hit!!" or "Miss"

So, if say, B5 in Sheet1 (hidden away) contains an "X",
and you happen to key in Sheet2
in cell A1: B, in cell B1: 5
then C1 will return: Direct Hit!!

--
Rgds
Max
xl 97
---
GMT+8, 1=B0 22' N 103=B0 45' E
xdemechanik <atyahoo<dotcom
----

Seano wrote:
I'm not sure even what I'm asking, so good luck.

What I'm trying to do is break the column row indicatorial
thingamajig, that A1 or C5 or F117 (you sunk my battleship) into
separate sections.

Soooooo

Instead of typing =3DA6
I can type =3DColumn A **separately** Row 6

If you know what I mean

Thanks if you can help, but don't feel bad if you can't. Well, maybe
if you want to feel bad you can, but, only a little. OK. It's
Holidays for chrissakes.
=20
Seano