LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 390
Default Sumproduct question

In . com, wx4usa
spake thusly:

I just want to count the number of entries, not a sum of totals.
column A is Month, B is Day, C is year, D is Name

Can I use sumproduct to just return the number of entries for
"Bob" on August, 1, 2007? Bob may have anywhere from 1-20
lines of data in this scenario, I just want to know how many
occurrences, not an actual sum of some numbers.


You're not giving sufficient information. Is the month a word
("April"), and abbreviation ("Apr" or "Apr."), or a number?

Assuming a word, well, this works, but it's also an array
formula.

=IF(A2:A29="Apr",IF(B2:B29=2,IF(C2:C29=1999,COUNTI F(D:D,"Bob"))))

You could put the dates together with something like this:

=DATE($C15,LOOKUP($A15,{"Jan","Feb","Mar","Apr","M ay"},{1,2,3,4,5}),$B15)


(You'd want to go through December; I just shortened it here
to make it easier.)

There may be other ways.

=dman=
 
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
SUMPRODUCT question Conan Kelly Excel Worksheet Functions 2 January 5th 07 08:26 PM
A SUMPRODUCT question Bernard Liengme Excel Discussion (Misc queries) 3 October 17th 06 06:36 PM
Sumproduct question Barb Reinhardt Excel Worksheet Functions 1 September 7th 06 10:38 PM
Sumproduct question Barb Reinhardt Excel Worksheet Functions 3 June 26th 06 05:17 PM
Sumproduct Question Barb Reinhardt Excel Worksheet Functions 2 May 15th 06 09:25 PM


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