Help with applying formulas to a whole column

Greetings.

According to the help menu, you can use a header formula to apply a formula to a whole row or column. I cannot get this function to work. When I click on the header as instructed, the formula editor won't open; it's grayed out. So is the formula bar in the toolbar. The only way I have been able to apply a formula to an entire column is to enter the formula for each row one at a time, and that CAN'T be right. Any thoughts?

Thanks in advance for any help.

DPL

Message was edited by: David Letwin

Macbook Core 2 Duo, Mac OS X (10.4.8)

Posted on Aug 19, 2007 10:11 PM

Reply
9 replies

Aug 20, 2007 7:56 AM in response to ScottKitts

Hi, Scott.

Thanks for the help. Yes, I was clicking on the whole column; when I clicked on just the header, it worked. One follow up:

I have a column that I have named QUESTIONS. In each cell of this column, I want to enter the same number, say, 50. I highlight the header, open the formula editor, and enter the number. I click return, and now all the cells in the column have the number 50 in the them. So far, so good. But in doing so, the title of the header is erased (i.e., I have manually re-enter the word QUESTIONS after I enter the number).

I'm a teacher using the program for testing. I need to constantly update the number in the QUESTION column as each test is added, but I don't want to have to have re-enter the header name every time I do so. It's not a huge hassle, but it just seems wrong (and I never had to do that in Excel).

Am I doing something wrong? Is there another way to enter a single number for all the cells in the the same column that won't change the header title?

Thanks again,

DPL

Aug 20, 2007 8:13 AM in response to David Letwin

I would like to take this discussion one step further. How does one execute what in excel would be a "fill down" or "fill right" command?...For example, to create a column that has say 1-50 as cell entries.

In the past I'd insert a number in a cell, then in the cell B1 have the formula (=A1+1). Then I'd select B1 to say Z1 and then do a fill down.

There must be a way to do this with numbers. Thanks in advance for any help.
Richard
'drinkin the Cupertino kool-aid for 25 yrs 😉

Aug 20, 2007 8:28 AM in response to Richard Girard, Ii

ah-ha, I found the answer to my question in the Numbers User manual pdf you can download here: http://www.apple.com/support/iwork/
and the truly awesome search that Preview can do in pdf's.

and it's SO easy!..almost embarrassingly so, Say you have the number 50 in cell A1. Select that cell. You will see a small circle in the bottom-right corner of the cell. Click and drag that down and all cells below will auto-fill with the number 50 (or a formula if you have that in a cell). Works in a fill-right direction too.

In my example I still have to insert the numeral 1 in cell A1, and the formula =A1+1 in cell B1. Then, I click and drag the circle of cell B1 down...

Kudos to the designers!
Richard

Aug 20, 2007 8:37 AM in response to Richard Girard, Ii

It's even easier than I thought (and in my haste I might have said B1 when I meant A2 in my previous post). The auto-fill will recognize patterns. place a "1" in A1 and a "2" in A2. Select the two cells and drag the circle and it will count for you. Here's the help file:
***************************************
Here are ways to autofill table cells:

To paste the content and fill of a cell into adjacent cells, select the cell and then drag the Fill handle in its lower right corner over the cells into which you want to paste. You can drag to the right to add values to adjacent cells in the same row, or you can drag down to add values to adjacent cells in the same column.
Any data, cell format, formula, or fill associated with the selected cell is pasted, but comments aren’t pasted.

If the selected cell contains no data, autofilling clears data from target cells.

You can also add values to cells based on value patterns. For example, if a cell contains a day of the week or a month, you can select the cell and then drag to the right or down to add the next day of the week or month to the adjacent cell.
To create new values based on numeric patterns, select two or more cells before dragging. For example, if two selected cells contain 1 and 2, the values 3 and 4 are added when you drag through the adjacent two cells. And if two selected cells contain 1 and 4, the values 7 and 10 are added when you drag through the adjacent two cells (values are incremented by 3).

Autofilling doesn’t set up an ongoing relationship among cells in the group. After autofilling, you can change the cells independently of each other.

Aug 20, 2007 12:03 PM in response to David Letwin

Unfortunately, yes, you have to re-enter the column name.

Definitely seems like a bug to me. If it's only some kind of quickie autofill technique, than it shouldn't delete the column name. If it deletes the column name, than that implies that the column has a formula associated with it (that you can go back and edit), but it doesn't; only the non-header (or footer) cells retain a formula or data, which aren't linked together in any meaningful or useful way. Doubly odd considering that footer cells DO have formulas that stay put.

Personally, I'd like Numbers to do both: Have a column name that doesn't get obliterated by a column formula (or data fill) AND have a formula (or data fill) that remains linked to the entire column, that you can go back and edit. (For those of you with long memories, this is how Trapeze worked, a spreadsheet from the late 1980s, which Numbers seems to be trying to copy. Even cooler, Trapeze would even resize the output table to match the input or create a table of the right size based on your formula for it.)

Be sure and use the Feedback menu item in the Numbers menu and report this bug. They can't fix it, if they don't know it's broke.

A possible work around for your particular problem would be to fill the column with a formula that references a cell on a page you don't print and put the value you update their (ie a single-celled table called Number ofQuestions with the number "50" in it. Then fill the column with "=Number ofQuestions :: A". You can then title the column "Questions" and it will stay in place when update "Number ofQuesitons".)

Aug 20, 2007 12:25 PM in response to ScottKitts

Hi, Scott.

Actually, see the workaround Richard found above. Instead of using the formula editor, I just enter the new number in the first cell and then drag the little circle in the ower right hand corner of cell down the whole column. That changes all the cells to the new number without disturbing the title in the header.

Nevertheless, I agree with your comments. It's kind of silly that when you change in number in the formula editor for the header it changes the column name. The work around above is fine, but it shouldn't even come to that.

Anyway, at least it's solved.

Thanks again,

DPL

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help with applying formulas to a whole column

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.