#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default formula question

I'm a pretty savvy excel user but am at a loss to how to do this, I'm
embarrassed to say. I have a column of numbers and want to multiply all of
the non-zero numbers. For example, if the column is:

1.056
..9978
..795
0
0
..256

The answer would be .21444430233 (1.056 * .9978 * .795 * .256). I want a
formula that would work for any column of numbers. Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default formula question

On way:

=PRODUCT(IF(A1:A5=0,1,A1:A5))

Array entered.

--
Jim
"Steve" wrote in message
...
| I'm a pretty savvy excel user but am at a loss to how to do this, I'm
| embarrassed to say. I have a column of numbers and want to multiply all
of
| the non-zero numbers. For example, if the column is:
|
| 1.056
| .9978
| .795
| 0
| 0
| .256
|
| The answer would be .21444430233 (1.056 * .9978 * .795 * .256). I want a
| formula that would work for any column of numbers. Thanks for any help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default formula question

Assuming your numbers are in A1:A6 use an array formula such as:

=PRODUCT(IF(A1:A6<0,A1:A6))

Enter the formula with Ctrl+Shift+Enter not just Enter.

Tyro

"Steve" wrote in message
...
I'm a pretty savvy excel user but am at a loss to how to do this, I'm
embarrassed to say. I have a column of numbers and want to multiply all
of
the non-zero numbers. For example, if the column is:

1.056
.9978
.795
0
0
.256

The answer would be .21444430233 (1.056 * .9978 * .795 * .256). I want a
formula that would work for any column of numbers. Thanks for any help.



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
Formula Question OdAwG Excel Discussion (Misc queries) 3 April 24th 07 12:24 PM
Formula Question ynissel Excel Discussion (Misc queries) 4 January 4th 07 09:00 PM
IF formula question sssspro Excel Worksheet Functions 6 October 28th 06 03:18 AM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
formula question fishbio Excel Discussion (Misc queries) 2 January 18th 06 10:39 AM


All times are GMT +1. The time now is 01:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"