Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Hendrik
 
Posts: n/a
Default I need help with a formula similar to "countif" but more complex

COUNTIF provide me with the amount of times a number was used in a column.I
now want to add weight to the different time position s of the spesific
number/s by introducing a column with values according to date and
multiplying the specific number by the weight and adding the totals so as to
compare the values historic significance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default I need help with a formula similar to "countif" but more complex

=COUNTIF(A:A,the_test_date)*weight

will do a simple calculation, but if you want to store all the weights and
dates in arrays, and calculate and sum in one step, you could use

=SUMPRODUCT(COUNTIF(A2:A20,H1:H3)*I1:I3)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Hendrik" wrote in message
...
COUNTIF provide me with the amount of times a number was used in a

column.I
now want to add weight to the different time position s of the spesific
number/s by introducing a column with values according to date and
multiplying the specific number by the weight and adding the totals so as

to
compare the values historic significance.



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
Can someone help with this complex formula? My2Boyz9802 Excel Worksheet Functions 4 April 21st 06 05:12 PM
Is there a MAXIF formula similar to the SUMIF formula? tlc Excel Discussion (Misc queries) 2 March 13th 06 08:07 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Help with Complex SUMPRODUCT formula Murph Excel Worksheet Functions 5 January 26th 05 02:40 PM


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