Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need a formula that will do C1=A1*B1...Cn=An*Bn

266 views
Skip to first unread message

Ryan

unread,
Jan 8, 2010, 2:24:01 AM1/8/10
to
Suppose column A has "quantity" values, column B has "amount" values, and I
want column C to be their products. I have 950 rows of this and I don't want
to enter 950 formulas into each row of C.

In other words I need Cn=An*Bn where n=row number.

Thanks

trip_to_tokyo

unread,
Jan 8, 2010, 2:37:01 AM1/8/10
to
Do a Ctrl-C of the formula in C

- then highlight, for example, C 3 to C 900 inclusive

- the Ctrl-V to paste the formula

Please hit Yes if my comments have helped.

Thanks.

Joe User

unread,
Jan 8, 2010, 3:40:01 AM1/8/10
to

Start with column C in the first row, say C2. Enter the formula that you
want, say:

=A2*B2

Now, put the cursor in C2, and copy it. Several ways to do that; I usually
just press ctrl+C.

Now, enter C3:C950 into the Name Box. In Excel 2003, that is in the upper
left corner under the toolbar. That will effectively select the entire range
of cells. Much easier than trying to select all the cells manually or
dragging C2 down 950 rows by using the handle in the lower right of the cell
C2.

Then paste into the selected range. Several ways to do that; I usually just
press ctrl+V.

If you look at C3 etc, you will see that the relative references A2 and B2
are automagically updated to reflect the current row, e.g. A3 and B3.

Gord Dibben

unread,
Jan 8, 2010, 11:09:17 AM1/8/10
to
Enter =A1*B1 in C1

Double-click on the fill handle of C1


Gord Dibben MS Excel MVP

On Thu, 7 Jan 2010 23:24:01 -0800, Ryan <Ry...@discussions.microsoft.com>
wrote:

0 new messages