메인 컨텐츠로 가기

Excel에서 중복되거나 고유 한 값에 일련 번호를 할당하는 방법은 무엇입니까?

일부 중복이 포함 된 값 목록이있는 경우 중복 또는 고유 값에 일련 번호를 할당 할 수 있습니까? 다음 스크린 샷과 같이 중복 값 또는 고유 값에 대해 순차적 인 순서를 제공하는 것을 의미합니다. 이 기사에서는 Excel 에서이 작업을 해결하는 데 도움이되는 몇 가지 간단한 수식에 대해 설명합니다.

문서는 고유 중복 할당 1

Formula를 사용하여 중복 값에 일련 번호 지정

Formula를 사용하여 고유 값에 일련 번호 지정


화살표 블루 오른쪽 거품 Formula를 사용하여 중복 값에 일련 번호 지정

중복 값을 주문하려면 다음 공식을 적용하십시오.

다음 공식을 입력하십시오. = COUNTIF ($ A $ 2 : A2, A2) 데이터 옆의 빈 셀에 넣은 다음 채우기 핸들을이 수식을 적용하려는 셀로 드래그하면 셀 값이 중복 값을 기반으로 할당되었습니다. 스크린 샷을 참조하십시오.

문서는 고유 중복 할당 2


화살표 블루 오른쪽 거품 Formula를 사용하여 고유 값에 일련 번호 지정

고유 값에 일련 번호를 할당하려면 아래 공식이 도움이 될 수 있습니다.

다음 공식을 입력하십시오. =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,VLOOKUP(A2,A$1:B1,2,0)) 데이터 옆의 빈 셀에 넣은 다음 채우기 핸들을이 수식을 적용 할 셀로 끌어다 놓으면 다음 스크린 샷과 같이 고유 한 값이 정렬됩니다.

문서는 고유 중복 할당 3

배송 시 요청 사항:

1. 위의 공식에서 A2 할당하려는 값이 포함 된 셀입니다. B1 수식이있는 위의 셀입니다.

2. 이러한 수식은 정렬 된 목록의 값에도 적용 할 수 있으며 원하는대로 다음과 같은 결과를 얻을 수 있습니다.

문서는 고유 중복 할당 4

최고의 사무 생산성 도구

🤖 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 (23)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Solución bastante sencilla y funciona bien.
This comment was minimized by the moderator on the site
Getting NA result for more than 200 cells
This comment was minimized by the moderator on the site
Thanks for the formula, my only problem is that I want the generated 'unique identifiers' to be locked/linked to the 'values' but whenever I sort the table, the identifiers always remain in the same spot. Is there a way so that they stay linked to one another?

For example, I am using this code to assign serial numbers to customers, these need to be permanently assigned to one another as they do not change. However, when I sort the table by date, customers or anything at all that re-arranges the data. The serial numbers all get mixed up.
This comment was minimized by the moderator on the site
How to Convert a Cell Containing


A1 = Apple, Orange, Banana, Grapes

to

A1 = 1. Apple, 2. Orange, 3. Banana, 4. Grapes
This comment was minimized by the moderator on the site
Hello there,

If i want the formula to have alphabet infront is it possible?

DO123455 =A1
DO123455 =A1
DO223344 = A2
DO223344 = A2
DO567890 = A3

Appreciate if you can assist on my problem.

Thank you

YT Kong
This comment was minimized by the moderator on the site
Hi, i want some help, i need my data right this:

A 1
A 2
A 3
B 1
B 2
C 1
D 1
C 1
C 2
B 1
E 1
E 2
A 1
I need taht when it finds a new value starts since 1, every time. Is it posible ?
This comment was minimized by the moderator on the site
=COUNTIF(G$2:G2,G2)
=COUNTIF(G$2:G3,G3)
This comment was minimized by the moderator on the site
I want serial number start from 1 when it encounter new series
Like
AA - 1
BB - 1
AA - 2
CC -1
DD -1
AA - 3
BB - 2

Is this possible?
This comment was minimized by the moderator on the site
possible, simple guys=IF(COUNTIF(A$2:A7;A7)>=1;COUNTIF(A$2:A7;A7);VLOOKUP(A7;A$2:W6;23;0)+1)
This comment was minimized by the moderator on the site
=COUNTIF(G$2:G2,G2)
=COUNTIF(G$2:G3,G3)
This comment was minimized by the moderator on the site
Is it possible to do this with power query, and not with the vlookup formula?
This comment was minimized by the moderator on the site
Is it possible to assign such serial numbers within the same cell? I have a sheet that does this using a macro, but I cannot access the macro (password protected) to see how they did it.
Disclaimer: I have permission to access the macros, but it is an old sheet and the passwords are lost.
This comment was minimized by the moderator on the site
hai pls help

i have a series of data and i want this type of results
item product sequence number
a powder 1
a juice 2
b preprocess 2
b process 3
b jucie 1
c powder 1
c juice 2
c preprocess 3
c procss 4


want sequence number based on item and product column
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