Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

## #1 2012-12-20 17:30:37

mathaholic
Star Member

Offline

### Math in Excel

Anyone who made anything math in excel? Post them here!
Mine:
Squaring numbers
Type the numbers 1-25 in cells A1-A25. Then, do this formula "=PRODUCT(X,Y), wherein X is cell A1, and Y is also cell A1. After that, copy it, then select column B1. Paste it.

246 pages on Prime Numbers Wiki (+1)

## #2 2012-12-20 20:36:36

anonimnystefy
Real Member

Offline

### Re: Math in Excel

I know that phrontister is an expert in Excel. Maybe he will come here.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

## #3 2012-12-20 21:17:35

bob bundy
Moderator

Offline

### Re: Math in Excel

hi julianthemath

When I do sudokus I'm always making mistakes like entering an illegal number in a row.  So I made an Excel sheet that puts Xs in the places you cannot go so I could cheat a bit.  I had already done some other stuff on my computer when I started so the memory was down a bit.  Which is probably why I ran out of memory.  eeekkk!  Had to save, re-start and just have Excel running.

Too much to show all here I think.  Here's the contents of just one random cell:

=IF(OR(W3="x",AG3="x",AQ3="x",BA3="x"),"x","")

w3 contains

=IF(HLOOKUP(\$A\$1,\$M\$2:\$U\$3,2,FALSE)=1,"x","")

Bob

You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

## #4 2012-12-21 00:58:47

phrontister
Real Member

Offline

### Re: Math in Excel

Hi julianthemath,

There are a number of other ways of getting the result you did, but here a couple of easy ones:-

Method 1:

Enter the following into the cells as shown.

A1: 1
A2: =A1^2

Left-click in A1 to select it, and while still holding down the mouse button move the cursor into B1 to select both of them together.
Release the mouse button, but don't click anywhere on the page, otherwise those two cells will be deselected.
Left-click the 'fill-handle' that now appears in the bottom right-hand corner of B1 (it's a black square, which changes to a cross-hair when you hover the mouse over it), and while holding down the left mouse button drag it all the way down column 2 to row 25.
That automatically fills columns 1 and 2 in one go.

Method 2:

Enter the following into the cells as shown.

A1: 1
A2: =A1^2

Left-click in A1 to select it.
While holding down the keyboard's Ctrl key, left-click the fill-handle (explained in Method 1) and drag it down column 1 to row 25.
The sequence of numbers 1:25 now appears down the 25 rows in column 1.
Left-click in B1 to select it, and double-left-click the fill-handle to automatically fill column 2 with the formula from B1 for every cell that has data to the left of each column 2 cell.
There...done!

And don't let anonimnystefy fool you...I'm no Excel expert! I've learnt a few things over the years by trying this and that, mainly for puzzles and work. Excel has a lot going for it, including the enormous amount of information and help available on the internet.

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

## #5 2013-03-08 07:25:57

Guest

### Re: Math in Excel

I once made a table of the Beta function, but I also had to do one of the Gamma function too because the Beta function uses the Gamma function.
Then I had to make a factorial (or Pi function) table for the Gamma function to work...then I hit the wrong button and lost it all...xD
It is quite fun though making "calculators" with Excel!

## #6 2013-04-22 14:01:55

mathaholic
Star Member

Offline

### Re: Math in Excel

Thanks everyone.

246 pages on Prime Numbers Wiki (+1)

## #7 2013-04-22 14:03:58

Agnishom
Real Member

Online

### Re: Math in Excel

There is probably a lot to learn about excei

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'The whole person changes, why can't a habit?' -Alokananda

## #8 2013-04-30 19:14:02

mathaholic
Star Member

Offline

### Re: Math in Excel

Oh. Math in Excel 2 soon!

246 pages on Prime Numbers Wiki (+1)

## #9 2013-04-30 20:15:55

anonimnystefy
Real Member

Offline

### Re: Math in Excel

Why not just post here?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

## #10 2013-05-06 16:41:27

mathaholic
Star Member

Offline

### Re: Math in Excel

Oh, so, math in Excel 2.0 here?

246 pages on Prime Numbers Wiki (+1)