메인 컨텐츠로 가기

Excel에서 주어진 숫자에 가장 가까운 값을 목록에서 강조 표시하는 방법은 무엇입니까?

숫자 목록이 있다고 가정하면 다음 스크린 샷과 같이 주어진 숫자를 기반으로 가장 가까운 값 또는 가장 가까운 값을 강조 표시 할 수 있습니다. 여기에서이 문서는이 작업을 쉽게 해결하는 데 도움이 될 수 있습니다.

문서 강조 가장 가까운 값 1
문서 강조 가장 가까운 값 2

조건부 서식을 사용하여 주어진 숫자에 가장 가깝거나 가장 가까운 n 값을 강조 표시합니다.


화살표 블루 오른쪽 거품 조건부 서식을 사용하여 주어진 숫자에 가장 가깝거나 가장 가까운 n 값을 강조 표시합니다.

주어진 숫자를 기반으로 가장 가까운 값을 강조하려면 다음과 같이하십시오.

1. 강조 표시 할 번호 목록을 선택한 다음 > 조건부 서식 > 새로운 규칙, 스크린 샷 참조 :

문서 강조 가장 가까운 값 3

2. 에서 새로운 서식 규칙 대화 상자에서 다음 작업을 수행하십시오.

(1.) 클릭 수식을 사용하여 서식을 지정할 셀 결정 아래 규칙 유형 선택 리스트 박스;

(2.) 이 공식이 참인 경우 값 형식 지정 텍스트 상자에 다음 수식을 입력하십시오. =ABS(A2-$D$2)=MIN(ABS($A$2:$A$15-$D$2)) (A2 데이터 목록의 첫 번째 셀입니다. D2 비교할 주어진 숫자입니다. A2 : A15 가장 가까운 값을 강조 표시하려는 번호 목록입니다.)

문서 강조 가장 가까운 값 4

3. 그런 다음 형성 이동 버튼 셀 서식 대화 상자에서 작성 탭에서 원하는 색상을 선택하고 스크린 샷을 참조하십시오.

문서 강조 가장 가까운 값 5

4. 그런 다음 OK > OK 대화 상자를 닫으려면 특정 숫자에 가장 가까운 값이 한 번에 강조 표시되었습니다. 스크린 샷을 참조하십시오.

문서 강조 가장 가까운 값 6

방문 꿀팁: 주어진 값에 가장 가까운 3 개의 값을 강조하려면이 공식을 조건부 서식, =ISNUMBER(MATCH(ABS($D$2-A2),SMALL(ABS($D$2-$A$2:$A$15),ROW($1:$3)),0)), 스크린 샷 참조 :

문서 강조 가장 가까운 값 7

주의 사항: 위 공식에서 : A2 데이터 목록의 첫 번째 셀입니다. D2 비교할 주어진 숫자입니다. A2 : A15 가장 가까운 값을 강조 표시하려는 숫자 목록입니다. $ 1 : $ 3 가장 가까운 세 값이 강조 표시됨을 나타냅니다. 필요에 따라 변경할 수 있습니다.

최고의 사무 생산성 도구

🤖 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 (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
=ABS(A2-$D$2)=MIN(ABS($A$2:$A$15-$D$2)) данная формула не работает. Пробовал exel 2010 и 2013. Если использовать вторую формулу, ругается на ошибку.
This comment was minimized by the moderator on the site
Hello friend,

Sorry to hear that. But I did try the two formulas and they both work perfectly. Please see the screenshots.
Here is the tip. Please make sure you choose the right range, in my case here, it is A2:A15. Then click Home > Conditional Formatting to set up the rules. Please have a try. If the problem still remains, please provide me with more details so I can help you. Have a nice day.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Hi, das hilft mir bereits sehr weiter, danke!Gibt es aber auch eine Möglichkeit, die Formel aus Schritt 2 ohne "$"-Zeichen zu verwenden? Das würde das Kopieren der bedingten Formatierung erleichtern...
This comment was minimized by the moderator on the site
What if data is over column and not in a row?
This comment was minimized by the moderator on the site
This is useful, but how would I do the following please. Text is in Col A, the number range is in Col B: when the average has been found using the above method and is thus highlighted, I need the corresponding cell in Col A to also highlight.

Thank you
This comment was minimized by the moderator on the site
Were you able to figure this out? I would also like to know about expanding the format to the remaining row.
This comment was minimized by the moderator on the site
Hi! I am very thankfull to u for this as this solved my problem for a presentation to a client. However I am looking for something more for my future presentations. like when u say highlight 3 closest(n) values i want to highlight them as: 1) the most closest with Green. 2) the least closest in red and the 3) value which is between most and least closest in yellow. Can u please help me to achieve this. As per the example my d2 value is live updating every minute so i want to know where exactly my d2 value lies on scale of a range(eg. Number list). This will add a brand finish to my presentations. Point to note i am using excel 2007 as many of my clients are still using the same. Just to avoid any compatibility issues i avoid latest versions. Thanks in advance and many regards. :)
This comment was minimized by the moderator on the site
An excellent resource for highlighting the closest value. Since the logic is same , won't it work in Google Sheets? Anyway it is not working in Google Sheets. Would be obliged if you could please clarify!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations