View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default applying function depending on condition in other cell

My solution shows you that.

--

HTH

RP
(remove nothere from the email address if mailing direct)


wrote in message
ups.com...
Great! Thanks a lot, I've always thought there was a smarter way to do
this than using only the "if"-statement and several new columns of
space, but I never new about "sumif" and "countif".
This is of course very appropriate for simple things as summing or
averaging, but is there also a more general way to do similar things
for an arbitrary function?

Jonas, very gratetful for the quick answer!