Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Seano
 
Posts: n/a
Default column row, which way did he go?

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 =A6
I can type =Column 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.

Seano
  #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


  #3   Report Post  
Biff
 
Posts: n/a
Default

Cool!

Excel Battleship!

OK, let me throw a monkey wrench into the mix. <bg

How will you know when you've sunk one of your opponents=20
ships?

I guess you could count the total "hits" against the total=20
number of "X's" but that would only let you know when=20
you've destroyed the entire fleet.

Biff

-----Original Message-----
Here's some thoughts ..

Let's say the positions of the battleships/patrol boats=20

in Sheet1 are
represented via typing the letter "X" into cell(s) within=20

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=20

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, ...=20

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=20

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=20

indicatorial
thingamajig, that A1 or C5 or F117 (you sunk my=20

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=20

can't. Well, maybe
if you want to feel bad you can, but, only a little. =20

OK. It's
Holidays for chrissakes.
=20
Seano


.

  #4   Report Post  
Max
 
Posts: n/a
Default

Biff wrote
....
How will you know when you've sunk
one of your opponents ships?


SImple <bg, since we're only talking patrol boats here
so each "Direct Hit!!" = an "X" = 1 patrol boat

Chip's page has some interesting games:
http://www.cpearson.com/excel/games.htm

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column A is Town, Column B is names. How can Excel add & tell how. Cindy Charts and Charting in Excel 3 January 13th 05 07:27 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
Change the width of a single column in a column chart Dave Charts and Charting in Excel 2 December 13th 04 07:25 PM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 2 November 27th 04 01:55 AM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 0 November 26th 04 03:19 PM


All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"