Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Bob S
 
Posts: n/a
Default 20x20 multiplication table

Someone asked how to make a 20x20 multiplication table in Word, but I
lost the thread so I am posting a new message.

Obviously the easy way to do it is to make a table and type in the
numbers.

The second easy way is to use Excel.

However, it is perfectly possible to make such a table in Word without
typing a single number.

Create an empty 20x20 table to hold the answers.

In some scratch space, create at least 400 empty paragraphs.
Autonumber the paragraphs, then convert the numbers to text. You now
have the numbers from 1 to 400 or so.

Select the numbered paragraphs, copy, and paste back into the document
until you have twenty copies.

Select the first list of numbers and convert it to a one-column table.
Select the second list of numbers and convert it to a two-column
table. Select the third list of numbers and convert it to a
three-column table. Continue until you have converted the twentieth
list to a 20-column table.

Now select the first twenty numbers from the last (only) column of the
first table, copy, column-select the first column of your final 20x20
table and paste the numbers into it.

Select the first twenty numbers from the last column of the second
table, copy, column-select the second column of your final 20x20 table
and paste the numbers into it.

Continue pasting the first twenty numbers from the last column of each
successive table into successive columns of your answer table.

You should now have your desired multiplication results.

Add an extra row at the top and an extra column at the left, select
the first twenty numbers from the fist scratch table and paste them
into the appropriate places in the added row and column to get the
1-20 numbers along the edges if desired.


For extra credit, try the following.

Start with your list of 400 numbers, and on some other line type an
asterisk. Select the list of numbers and convert it to a two-column
table. Select and copy the asterisk, column-select the last column in
the table, and paste the asterisk. Convert the table back to text,
separating on paragraph marks not tab characters.

Now look down the list for the next (ignore the 1) non-asterisk number
(3), select the list and convert it to a table with that many columns.
Column-select the last column in the table, and paste the asterisk.
Convert the table back to text, separating on paragraph marks not tab
characters.

Do this whole process again for the next non-asterisk number (5), and
keep doing it until the smallest number that is not 1 or an asterisk
is greater than 20.

At this point you have a list of all the prime numbers less than 400,
without typing a single number or doing any arithmetic.

Bob S

  #2   Report Post  
Posted to microsoft.public.word.tables
Bob S
 
Posts: n/a
Default 20x20 multiplication table

I hit "Send" too soon; there is a slight error in the directions for
"extra credit".

The corrected version is below:

For extra credit, try the following.

Start with your list of 400 numbers, and on some other line type an
asterisk. Select the list of numbers and convert it to a two-column
table. Select and copy the asterisk, select the cells in all but the
first row of the last column in the table, and paste the asterisk.
Convert the table back to text, separating on paragraph marks not tab
characters.

Now look down the list for the next (ignore the 1) non-asterisk number
(3), select the list and convert it to a table with that many columns.
Select the cells in all but the first row of the last column in the
table, and paste the asterisk. Convert the table back to text,
separating on paragraph marks not tab characters.

Do this whole process again for the next non-asterisk number (5), and
keep doing it until the smallest number that is not 1 or an asterisk
is greater than 20.

At this point you have a list of all the prime numbers less than 400,
without typing a single number or doing any arithmetic.

Wish me luck, I am about to hit "Send" again...

Bob S

  #3   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP
 
Posts: n/a
Default 20x20 multiplication table

Easier to run a macro containing the following commands:

Dim mytable As Table
Dim i As Long
Dim j As Long
Set mytable = ActiveDocument.Tables.Add(Range:=Selection.Range, NumRows:=20,
NumColumns:=20)
For i = 1 To 20
For j = 1 To 20
mytable.Cell(i, j).Range.Text = i * j
Next j
Next i


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Bob S" wrote in message
...
I hit "Send" too soon; there is a slight error in the directions for
"extra credit".

The corrected version is below:

For extra credit, try the following.

Start with your list of 400 numbers, and on some other line type an
asterisk. Select the list of numbers and convert it to a two-column
table. Select and copy the asterisk, select the cells in all but the
first row of the last column in the table, and paste the asterisk.
Convert the table back to text, separating on paragraph marks not tab
characters.

Now look down the list for the next (ignore the 1) non-asterisk number
(3), select the list and convert it to a table with that many columns.
Select the cells in all but the first row of the last column in the
table, and paste the asterisk. Convert the table back to text,
separating on paragraph marks not tab characters.

Do this whole process again for the next non-asterisk number (5), and
keep doing it until the smallest number that is not 1 or an asterisk
is greater than 20.

At this point you have a list of all the prime numbers less than 400,
without typing a single number or doing any arithmetic.

Wish me luck, I am about to hit "Send" again...

Bob S



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you make a multiplication table using numbers. Rippka Tables 11 December 5th 05 08:46 PM
Table headers/footers and layout Keith Page Layout 1 April 8th 05 07:37 PM
How to Avoid Word 2003 Table Style Problems Judy Haynes Tables 0 March 23rd 05 07:41 PM
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 08:18 PM
Row height problem with table in table Stephanie T. Tables 0 November 23rd 04 04:35 PM


All times are GMT +1. The time now is 10:32 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"