Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Basic query on PRODUCT function...


Hi,
I'm having trouble multuplying values in different columns, I've
experimented with the PRODUCT function, but it doesn't work well. I
need to create a function that will multiply a value in Column E with a
Value in Column H and for the result to show up in Column I. I've used
the Product function to do this (and produced this code, for instance:
=PRODUCT(E5:H5) [produced in column I for example]), but the problem is
that if the value of H is zero then the value of E shows up in the I
cell automantically and I don't want that to happen, do you have any
ideas how to stop this showing up? also, I want to apply the same
formula to the whole document so that It doesn't just happen in one row
at a time, is there any way of doing this without having to re-enter the
code individually for each row?

Thanks, any help whatsoever would be appreciated, and thanks once
again!

Joe


--
Joe Pettersson
------------------------------------------------------------------------
Joe Pettersson's Profile: http://www.excelforum.com/member.php...o&userid=37196
View this thread: http://www.excelforum.com/showthread...hreadid=569069

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Basic query on PRODUCT function...


=PRODUCT(E5:H5)

will multiply all cells in the range, i.e. it will multiply E5 by F5 by
G5 by H5.

If you want to multiply just E5 by H5

=PRODUCT(E5,H5)

or, if you expect E5 and H5 to be numeric, just use

=E5*H5


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=569069

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Basic query on PRODUCT function...


Hi, thanks for that, the =E5*H5 worker perfectly... is there anyway that
I can get that to apply down the length of the whole column? so I don't
have to type =E6*H6, =E7*H7, =E8*H8, for example, for each row? becasue
its quite along documet...again thanks for your help, and any help on
this problem would be appreciated...

Joe


--
Joe Pettersson
------------------------------------------------------------------------
Joe Pettersson's Profile: http://www.excelforum.com/member.php...o&userid=37196
View this thread: http://www.excelforum.com/showthread...hreadid=569069

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Basic query on PRODUCT function...

You can use the Fill Handle to copy to adjacent cells. There's a picture
and instructions he

http://www.contextures.com/xlDataEntry01.html#Mouse

Joe Pettersson wrote:
Hi, thanks for that, the =E5*H5 worker perfectly... is there anyway that
I can get that to apply down the length of the whole column? so I don't
have to type =E6*H6, =E7*H7, =E8*H8, for example, for each row? becasue
its quite along documet...again thanks for your help, and any help on
this problem would be appreciated...

Joe




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
basic sumif function help (urgent) sentil Excel Worksheet Functions 1 December 6th 05 09:20 PM
Function: New Web Query vinrouge Links and Linking in Excel 2 July 2nd 05 04:54 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Which Function(s) do I use? LB Excel Worksheet Functions 3 January 6th 05 02:53 AM


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