#1   Report Post  
ben townson
 
Posts: n/a
Default ProductIf

Has anyone written a ProductIf function that works in a similar fashion to a
standard SumIf or Countif function? I hate to even consider writing a
combination of Product() and IF()'s to handle a huge pile of data...
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

Depends on the function. Say you want to multiply all the values in rng2
if rng1 meets a criterion, say, =3. Array-enter (CTRL-SHIFT-ENTER or
CMD-RETURN):


=PRODUCT(IF(rng1=3, rng2))



In article ,
"ben townson" wrote:

Has anyone written a ProductIf function that works in a similar fashion to a
standard SumIf or Countif function? I hate to even consider writing a
combination of Product() and IF()'s to handle a huge pile of data...

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



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