메인 컨텐츠로 가기

Excel에서 날짜 / 월 / 년 및 날짜 범위로 Countif하는 방법은 무엇입니까?

예를 들어, 우리는 그들의 생일이 적힌 회원 명부를 가지고 있으며, 지금 우리는이 회원들을위한 생일 카드를 만들 준비를하고 있습니다. 생일 카드를 만들기 전에 특정 월 / 연도 / 날짜에 몇 개의 생일이 있는지 계산해야합니다. 여기에서는 다음과 같은 방법으로 Excel에서 수식을 사용하여 날짜 / 월 / 년 및 날짜 범위별로 Countif를 안내합니다.


Excel의 수식을 사용하여 특정 월 / 연도 및 날짜 범위 별 Countif

이 섹션에서는 Excel에서 특정 월, 연도 또는 날짜 범위로 생일을 계산하는 몇 가지 수식을 소개합니다.

특정 달까지 Countif

특정 8 월에있는 생일을 계산한다고 가정하면 아래 수식을 빈 셀에 입력 한 다음 엔터 버튼 키.

= SUMPRODUCT (1 * (MONTH (C3 : C16) = G2))

배송 시 요청 사항:

위의 수식에서 C3 : C16은 생일을 계산할 지정된 생년월일 열이고 G2는 특정 월 번호가있는 셀입니다.

이 배열 수식을 적용 할 수도 있습니다. = SUM (IF (MONTH (B2 : B15) = 8,1)) (Ctrl + Shift + Enter 키 누르기) 특정 월까지 생일을 계산합니다.

특정 연도까지 Countif

특정 연도까지 생일을 계산해야한다면 필요에 따라 아래 공식 중 하나를 사용할 수 있습니다.

= SUMPRODUCT (1 * (YEAR (C3 : C16) = 1988))
= SUM (IF (YEAR (B2 : B15) = 1988,1))

참고 : 두 번째 수식은 배열 수식입니다. 누르는 것을 기억하십시오 Ctrl 키 + 변화 + 엔터 버튼 수식을 입력 한 후 키를 함께 입력하십시오.

특정 날짜까지 Countif

특정 날짜 (예 : 1992-8-16)까지 계산해야하는 경우 아래 공식을 적용하고 Enter 키를 누릅니다.

=COUNTIF(B2:B15,"1992-8-16")

특정 날짜 범위의 Countif

특정 날짜 (예 : 1990-1-1)보다 늦거나 이른 경우 계산해야하는 경우 아래 공식을 적용 할 수 있습니다.

= COUNTIF (B2 : B15, ">"및 "1990-1-1")
= COUNTIF (B2 : B15, "<"및 "1990-1-1")

두 특정 날짜 (1988-1-1과 1998-1-1 사이) 사이에 있는지 계산하려면 아래 공식을 적용하십시오.

=COUNTIFS(B2:B15,">"&"1988-1-1",B2:B15,"<"&"1998-1-1")

노트 리본 수식이 너무 복잡해서 기억 나지 않습니까? 나중에 한 번만 클릭하여 재사용 할 수 있도록 수식을 자동 텍스트 항목으로 저장하십시오!
자세히보기 ...     test

쉽게 계산 Excel의 회계 연도, 반년, 주 번호 또는 요일

Excel 용 Kutools에서 제공하는 피벗 테이블 특수 시간 그룹화 기능은 지정된 날짜 열을 기준으로 회계 연도, 반년, 주 번호 또는 요일을 계산하는 도우미 열을 추가 할 수 있으며 쉽게 계산, 합계 할 수 있습니다. 또는 새 피벗 테이블에서 계산 된 결과를 기반으로하는 평균 열입니다.


Excel 용 Kutools - 300개 이상의 필수 도구로 Excel을 강화하세요. 신용카드 없이 모든 기능을 갖춘 30일 무료 평가판을 즐겨보세요! 이제 그것을 잡아

Excel에서 지정된 날짜, 연도 또는 날짜 범위 별 Countif

Excel 용 Kutools가 설치되어있는 경우 적용 할 수 있습니다. 특정 셀 선택 Excel에서 지정된 날짜, 연도 또는 날짜 범위별로 발생 횟수를 쉽게 계산하는 유틸리티입니다.

Excel 용 Kutools- 300개 이상의 Excel용 편리한 도구가 포함되어 있습니다. 모든 기능을 30일 동안 무료로 체험할 수 있으며 신용카드가 필요하지 않습니다! 이제 그것을 잡아

1. 계산할 생일 열을 선택하고 쿠툴 > 선택 > 특정 셀 선택. 스크린 샷보기 :

2. 특정 셀 선택 대화 상자를 열고 위의 스크린 샷을 수행하십시오.
(1) 선택 유형 섹션에서 필요에 따라 하나의 옵션을 선택하십시오. 우리의 경우, 우리는 세포 선택권;
(2) 특정 유형 섹션에서 크거나 같음 첫 번째 드롭 다운 목록에서 오른쪽 상자에 지정된 날짜 범위의 첫 번째 날짜를 입력합니다. 다음 선택 작거나 같음 두 번째 드롭 다운 목록에서 오른쪽 상자에 지정된 날짜 범위의 마지막 날짜를 입력 한 다음 Audiencegain과 선택권;
(3) Ok 버튼을 클릭합니다.

3. 이제 대화 상자가 나타나고 아래 스크린 샷과 같이 몇 개의 행이 선택되었는지 보여줍니다. 클릭하십시오 OK 버튼을 눌러이 대화 상자를 닫습니다.

배송 시 요청 사항:
(1) 지정된 연도까지 발생 횟수를 계산하려면 올해의 첫 번째 날짜부터 올해의 마지막 날짜까지의 날짜 범위를 지정했습니다. 1/1/199012/31/1990.
(2) 9 년 14 월 1985 일과 같이 지정된 날짜까지 발생 횟수를 계산하려면 아래 스크린 샷과 같이 특정 셀 선택 대화 상자에서 설정을 지정하기 만하면됩니다.


데모 : Excel에서 날짜, 요일, 월, 연도 또는 날짜 범위 별 Countif


Excel 용 Kutools: 300개 이상의 편리한 도구를 손쉽게 사용할 수 있습니다! 지금 바로 기능 제한 없이 30일 무료 평가판을 시작해 보세요. 지금 다운로드!


관련 기사 :

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (33)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi;

I need to determin how many times I need Know per week of the year how many time i nedd to see a patient , knowing de lenght of stay and the frequency of observation, 3 in the days ,
exemple :
patiente ex: date of admission : 8/3/2023 date of discharge : 31/8/2023 ; observations 3 in 3 days .
This comment was minimized by the moderator on the site
Hi, I need a formula to count how many times the country of El Salvador appears by Month (how many in Jan, how many if Feb, and how many in March)

1/10/2022 El Saldavor
1/11/2022 USA
1/12/2022 El Salvador
02/01/2022 El Salvador
02/06/2022 Mexico
02/05/2022 USA
03/03/2022 El Salvador
03/03/2022 El Savlador
03/03/2022 USA
This comment was minimized by the moderator on the site
Hi there,

You can add a helper column first with the formula =MONTH(data_cell) to convert the dates to corresponding month numbers. And then use a COUNTIFS formula to get the count of "El Salvador" for each month number.

For example, to get the number of El Salvador appears in January, use: =COUNTIFS(country_list,"El Salvador",helper-column,1)

Please see the picture below:
https://www.extendoffice.com/images/stories/comments/ljy-picture/count_items_by_month.png

Amanda
This comment was minimized by the moderator on the site
Προσπαθω να μετρήσω μια σιγκεκριμένη ημερομηνία αλλα τον τυπο που έχεται παραπάνω δεν το δέχεται το excel =COUNTIF(B2:B15,"1992-8-16")
This comment was minimized by the moderator on the site
Hi there,

Is it becase of the language your Excel version? Please check if COUNTIF should be converted to your language in your Excel verion. Also, when you say Excel does not accept the formula, did Excel show any errors or anything?

Amanda
This comment was minimized by the moderator on the site
01/03/2022 27/08/2022
02/02/2022 31/07/2022
01/04/2022 01/07/2022
01/04/2022 30/06/2022
01/04/2022 30/06/2022
30/04/2022 29/05/2022
20/04/2022 19/05/2022
15/04/2022 14/05/2022
15/04/2022 14/05/2022
15/04/2022 14/05/2022
04/04/2022 03/05/2022
01/02/2022 01/05/2022
13/04/2022 27/04/2022
16/04/2022 24/04/2022
04/04/2022 23/04/2022
15/04/2022 20/04/2022
21/03/2022 19/04/2022
11/04/2022 17/04/2022
05/04/2022 14/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
15/03/2022 13/04/2022
22/03/2022 10/04/2022
27/03/2022 05/04/2022
29/03/2022 04/04/2022
03/01/2022 03/04/2022
03/01/2022 03/04/2022
03/01/2022 03/04/2022
25/03/2022 03/04/2022

Como contar apenas os dias do mês 04 nesses intervalos?
This comment was minimized by the moderator on the site
Hi, are you trying to count the number of days in April?
If yes, you should first select the two columns, then go to Kutools tab, in the Ranges & Cells group, click To Actual. Now, in the Editing group, click Select, and then click Select Specific Cells.
In the pop-up dialog box, select Cell option under the Selction Type; Under Specific type, select Contains, and type 4/2022 in the corresponding box. Click OK. Now, it will tell you how many days of April are there. Please see screenshot.
This comment was minimized by the moderator on the site
i need report weekly wise like a 7th 14th 21st 28th count only.other days are no need for every month i tried many pivot but i can't find out please help me.
This comment was minimized by the moderator on the site
Why we cant justselect whole column, instead of using this MONTH(C3:C16) ?
This comment was minimized by the moderator on the site
In the formula =SUMPRODUCT(1*(MONTH(C3:C16)=G2)), G2 is the specified month number, says 4. If we replace MONTH(C3:C16) with the whole columns (or C3:C16), there is no value that equal to the value 4, therefore we cannot get the count result.
This comment was minimized by the moderator on the site
What would you do if you have 1 column of events within a date range and need to count if those events had a date in another column?

Example: I have column B as the event dates which vary each month. Column D has the date they came into a consultation. I'm trying to count how many people from that specific event for a date range came to a consultation for any date.
This comment was minimized by the moderator on the site
Hi Roxie,
You should try the Compare cells feature, which can compare two columns of cells, find out, and highlight the exactly same cells between them or the differences. https://www.extendoffice.com/product/kutools-for-excel/excel-compare-two-cells-of-equal.html
This comment was minimized by the moderator on the site
JAN = 1
FEB = 2
..
..
DEC = 12 ? NOT CORRECT RESULT IN DECEMBER
This comment was minimized by the moderator on the site
Hi Rhon,
Could you describe more about the error? Does the error come out when converting December to 12, or when counting by “12”?
This comment was minimized by the moderator on the site
How can I count a cell on a specific day of the week. For example, I want to find a number of something on the first Sunday of the month
This comment was minimized by the moderator on the site
Hi mary,
In your case, you should count by the specified date. For example, count by the first Sunday of Jan, 2019 (in other words 2019/1/6), you can apply the formula =COUNTIF(E1:E16,"2019/1/6")
This comment was minimized by the moderator on the site
rumus ini = SUMPRODUCT (1 * (YEAR (B2: B15) = 1988)) kalau datanya (range) sampe 20ribu ko ga bisa ya?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations