excel count unique values multiple sheets

zerbaraa

New Member
Joined
Dec 22, 2016
Messages
4
Dear All,
I have excel sheet include all year weeks(52) sheet, I count same item from all sheet per month
problem some sheet have two month data..
I tried this formula but it's too long and will take time, to count Educational Activities in unit for January

=COUNTIF('1-Jan'!C3:L20,C7)+COUNTIF('8-Jan'!C3:L20,C7)+COUNTIF('15-Jan'!C3:L20,C7)+COUNTIF('22-Jan'!C3:L20,C7)+COUNTIF('29-Jan'!C3:G20,C7)


please check report sheet in link below
https://drive.google.com/open?id=0B1NBFgB2DavudXY4YzRLZVE4Yk0<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Tell me what your trying to count. Maybe I can give you a vba answer.
I do not click on links.
 
Upvote 0
(like calendar) each sheet will be Weekly schedule and must select per hour one item from this list (Educational Activities in unit, Educational Activities outside unit, Non-educational Activities, Non-Productive Time, Non-Scheduled Time) and I will count these items per month
<style type="text/css"><!--br {mso-data-placement:same-cell;}--></style>

<colgroup><col style="width: 230px"></colgroup><tbody>
</tbody>
 
Upvote 0
@ My Answer is this - Hi'

Ref Zerbaraa, Zer tried to count "Educational Activities in unit" for Jan month , but for example on Sheet named "29-Jan", have columns of Feb month datas. So when counting "Educational Activities of Jan month" its counts Feb months also. Means counting should match only for Jan month.

Thanks Muz
 
Upvote 0
Hi @ My answer is this, am just showing a sample report of the above case. Please check and help.





Excel 2007
ABCDEF
1MonthEducational Activities in unitEducational Activities outside unitNon-educational ActivitiesNon-Productive TimeNon-Scheduled Time
2Jan
3Feb
4Mar
5Apr
6May
7Jun
8Jul
9Aug
10Sep
11Oct
12Nov
13Dec
Report






Excel 2007
ABCDEF
1Date29-Jan-1630-Jan-1631-Jan-161-Feb-162-Feb-16
27:00 AM
3Educational Activities in unitEducational Activities in unit
48:00 AM
5Educational Activities in unit
69:00 AM
7Educational Activities outside unit
810:00 AM
9
1011:00 AM
11
29-Jan





Required ...count of each activities Pertaining to each months.


I tried countifs and sumproduct. its going error. I quit




Thanks Muz
 
Upvote 0
Show me the formula you have now.
You said:

tried to count "Educational Activities in unit
 
Upvote 0

Excel 2007
ABCD
11MonthEducational Activities in unitEducational Activities outside unit
22Jan#VALUE!
Report
Cell Formulas
RangeFormula
C2=COUNTIFS('29-Jan'!C1:G1,Report!B2,'29-Jan'!C1:G11,Report!C1)




Excel 2007
ABCDEFG
1JanJanJanFebFeb
21Date29-Jan-1630-Jan-1631-Jan-161-Feb-162-Feb-16
327:00 AM
43Educational Activities in unitEducational Activities in unit
29-Jan



What is did is i inserted one row in 29-Jan sheet to extract the month to do countifs with the report sheet.


Formula is Report sheet, C2=


COUNTIFS('29-Jan'!C1:G1,Report!B2,'29-Jan'!C1:G11,Report!C1)


But the same going error. Please help.


Thanks Muz
 
Upvote 0

Forum statistics

Threads
1,214,412
Messages
6,119,369
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top