#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Excel 2003

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Excel 2003

Hi,

Enter the formula blow in the cell E1 and then copy drag down the formula to
whereever you need:

=IF(AND(ISBLANK(C1),ISBLANK(D1)),"",C1*D1)

Thanks,
--
Farhad Hodjat


"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Excel 2003

It will do this automatically in Excel 2003 as long as formulas appear ion 3
of the last 5 rows so you only have to do this manually for 4 rows, when you
enter numbers in the 5th row in C and D E will automatically add the result
as a formula. For this to work you need to make sure
"Extend list formats and formulas" is checked under toolsoptionsedit

Of course you can change this formula

=C2*D2


to



=IF(COUNT(C2:D2),C2*D2,"")


and copy down the formula a couple of thousands of rows but I would go for
the first option



--
Regards,

Peo Sjoblom









"Chuck" wrote in message
...
I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number
into
columns C and D and have it automatically multiply the numbers and insert
it
into column E. I figured out how to insert a formula into column E that
will
multiply D by E but I have to specify the exact row number each time I
enter
the formula. I might as well do the math myself as re-write the formula
on
each line in column E. How do I get Excel to automatically complete
column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Excel 2003

Another way of quickly filling a range. Enter your formula into a cell in
column E (let's presume E2, and formula looks something like =C2*D2).
in the 'Name Box' type E2:E150 [Enter]

The Name box is that area above the blank cell above the 1 row number and
left of the A column letter. It usually shows the address of the cell you
have selected. When you type E2:E150 and press the [Enter] key, cells E2:150
will become selected. Then go to Edit, choose Fill and then choose Down and
E2:E150 will fill with the formula, all adjusted for each row.

"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Excel 2003

Thank you Farhad, I got it to work. It does seem like a rather complicated
formula for such a simple task but it works and that's what I needed.

Chuck

"Farhad" wrote:

Hi,

Enter the formula blow in the cell E1 and then copy drag down the formula to
whereever you need:

=IF(AND(ISBLANK(C1),ISBLANK(D1)),"",C1*D1)

Thanks,
--
Farhad Hodjat


"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Excel 2003

Hi,

if you put =C1*D1 it works but if column C and column D both would be blank
it show 0 and i thought you may not like to see zeros that is why i put AND
condition inthe formula. glad to hear it worked for you.

Thanks,
--
Farhad Hodjat


"Chuck" wrote:

Thank you Farhad, I got it to work. It does seem like a rather complicated
formula for such a simple task but it works and that's what I needed.

Chuck

"Farhad" wrote:

Hi,

Enter the formula blow in the cell E1 and then copy drag down the formula to
whereever you need:

=IF(AND(ISBLANK(C1),ISBLANK(D1)),"",C1*D1)

Thanks,
--
Farhad Hodjat


"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Excel 2003

THANK YOU ALL - you have been most helpful


"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number into
columns C and D and have it automatically multiply the numbers and insert it
into column E. I figured out how to insert a formula into column E that will
multiply D by E but I have to specify the exact row number each time I enter
the formula. I might as well do the math myself as re-write the formula on
each line in column E. How do I get Excel to automatically complete column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Excel 2003

If you look at my answer you will see it is not complicated, all it takes
are 5 rows of manually entered formulas, the rest will be automated


--
Regards,

Peo Sjoblom



"Chuck" wrote in message
...
Thank you Farhad, I got it to work. It does seem like a rather
complicated
formula for such a simple task but it works and that's what I needed.

Chuck

"Farhad" wrote:

Hi,

Enter the formula blow in the cell E1 and then copy drag down the formula
to
whereever you need:

=IF(AND(ISBLANK(C1),ISBLANK(D1)),"",C1*D1)

Thanks,
--
Farhad Hodjat


"Chuck" wrote:

I have limited knowledge of Excel but I have a simple question.

How do I apply a formula to an entire column? I want to enter a number
into
columns C and D and have it automatically multiply the numbers and
insert it
into column E. I figured out how to insert a formula into column E
that will
multiply D by E but I have to specify the exact row number each time I
enter
the formula. I might as well do the math myself as re-write the
formula on
each line in column E. How do I get Excel to automatically complete
column E
when I enter the numbers into columns C and D?

(this is hard to describe...I hope it's easier done than said)



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
unable to paste Excel 2003 chart into Outlook 2003 Fat Frog Charts and Charting in Excel 0 August 7th 07 05:26 PM
opening excel files from access 2003, win xp, office 2003 Nugimac Excel Discussion (Misc queries) 2 April 26th 07 12:32 PM
import Excel 2003 file into Outlook 2003 - NO NAMED RANGES?? lewisma9 Excel Discussion (Misc queries) 0 February 27th 07 12:23 AM
Copying Excel 2003 Selection into Outlook 2003 HTML E-Mail Message [email protected] Excel Discussion (Misc queries) 0 July 10th 06 03:07 PM
Excel 2003 Database Driver Visual FoxPro 7 on Server 2003. Cindy Winegarden Excel Discussion (Misc queries) 0 November 28th 04 12:07 AM


All times are GMT +1. The time now is 12:53 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"