#1   Report Post  
Posted to microsoft.public.excel.misc
alen_re
 
Posts: n/a
Default Counting


I have two sheets

Sheet1
A Column - Dates
B Column - Names

Sheet2
A Column - Names
B Column - Total

So..

How can I calculate sheet2 - Total..
let me explain it like this..
In sheet2 in Total I want to calculate by name, how many times I have a
certain name (under column B).. from this date 01.01.2006 - 10.01.2006

With this I can calculate (sheet2 - B Column) how much names "Alen" I
have
=COUNTIF(sheet1!B1:B100;"Alen").. but I want to filter it by dates
(sheet1 - A Column) from 01.01.2005 - 10.01.2005 (or any other)


Is there anyway to do this ?!

Sorry if you cant understand.. I'll help again if you don't manage...


--
alen_re
------------------------------------------------------------------------
alen_re's Profile: http://www.excelforum.com/member.php...o&userid=28331
View this thread: http://www.excelforum.com/showthread...hreadid=503628

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Counting

=SUMPRODUCT(--(sheet1!$B$1:$B$100;"Alen"),--(Sheet1!$A$1:$A$100=--"2005-01-
01"),--(Sheet1!$A$1:$A$100<=--"2005-01-10"))
etc.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"alen_re" wrote in
message ...

I have two sheets

Sheet1
A Column - Dates
B Column - Names

Sheet2
A Column - Names
B Column - Total

So..

How can I calculate sheet2 - Total..
let me explain it like this..
In sheet2 in Total I want to calculate by name, how many times I have a
certain name (under column B).. from this date 01.01.2006 - 10.01.2006

With this I can calculate (sheet2 - B Column) how much names "Alen" I
have
=COUNTIF(sheet1!B1:B100;"Alen").. but I want to filter it by dates
(sheet1 - A Column) from 01.01.2005 - 10.01.2005 (or any other)


Is there anyway to do this ?!

Sorry if you cant understand.. I'll help again if you don't manage...


--
alen_re
------------------------------------------------------------------------
alen_re's Profile:

http://www.excelforum.com/member.php...o&userid=28331
View this thread: http://www.excelforum.com/showthread...hreadid=503628



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
conditional counting with Excel LeicaElmar Excel Worksheet Functions 1 October 17th 05 10:23 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting names in a column but counting duplicate names once TBoe Excel Discussion (Misc queries) 9 May 11th 05 11:24 PM
Counting... Patrick G Excel Worksheet Functions 3 February 23rd 05 10:05 PM
counting simonkf Excel Worksheet Functions 7 October 30th 04 09:33 PM


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