메인 컨텐츠로 가기

주어진 값이 Excel의 특정 범위에 있으면 값을 반환하는 방법은 무엇입니까?

왼쪽 스크린 샷에서 볼 수 있듯이 주어진 숫자 5가 특정 숫자 범위에 있으면 인접한 셀의 값을 반환하는 방법입니다. 이 기사의 공식 방법은이를 달성하는 데 도움이 될 수 있습니다.

수식을 사용하여 주어진 값이 특정 범위에 있으면 값을 반환합니다.


수식을 사용하여 주어진 값이 특정 범위에 있으면 값을 반환합니다.

Excel의 특정 범위에 주어진 값이있는 경우 다음 수식을 적용하여 값을 반환하십시오.

1. 빈 셀을 선택하고 수식 입력 = VLOOKUP (E2, A2 : C8,3, TRUE) 수식 표시 줄에 입력 한 다음 엔터 버튼 키. 스크린 샷보기 :

주어진 숫자 5가 4-6의 숫자 범위에 있음을 알 수 있으며, 위의 스크린 샷에 표시된대로 인접한 셀의 해당 값 Addin 012가 선택한 셀에 즉시 채워집니다.

참고 : 수식에서 E2는 주어진 숫자를 포함하는 셀이고, A2 : C8에는 주어진 숫자를 기반으로 반환 할 숫자 범위와 값이 포함되며, 숫자 3은 반환 할 값이의 세 번째 열에 있음을 의미합니다. 범위 A2 : C8. 필요에 따라 변경하십시오.


관련 기사:

최고의 사무 생산성 도구

🤖 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 (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Prezados,
Bom dia!

É possível determinar algum parâmetro dentro do Range.

Quero fazer o PROCV trazer de um intervalo, porém ele acaba retornando valores de CEPs que não existem, mas que estão muito próximos...

Exemplo:

Na tabela existe a faixa de CEP 68795000 A 68796999 que é do estado do Pará
Ao utilizar as formula sugeridas, resulta como "verdadeiro" para a faixa de CEP 69301000 A 69390971 que é do estado de Roraima, devido a proximidade da numeração.
This comment was minimized by the moderator on the site
Hi Nilton Vanini,
I don't quite understand your question. Do you mind uploading a screenshot of your data? Sorry for the inconvenience.
This comment was minimized by the moderator on the site
This seems to also work with text. I got this to work with exact value rather than a range by using the "Value" column as part of the range in the formula.

My question is, are you forced to use 2 columns or is it possible to only use 1 and the value column?

I created a master sheet to call from but this is how I setup the formla

=VLOOKUP(I2,'Master Sheet'!$A$2:$B$53,2,TRUE)

Column "I" text (Number column in the example), I was forced to have a range so column "B" is both the Range and Value.

Is this best practice or would I run into unexpected issues down the road if more line items are added to this list?
This comment was minimized by the moderator on the site
Hi Andrew,
You may need to upload a screenshot of your data. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
Bonjour je cherche à vérifier si une de mes valeurs correspond à une plage de données, le problème est que je n'ai pas qu'une valeur à vérifier mais une longue liste. J'aimerais que si une des 3 valeurs suivantes que je tape dans une case (exemple "panneau";"Strat";"chants") correspondent à une plage de données, elles 's'affichent en rouge par exemple. Sauriez vous me renseigner ? Merci.
This comment was minimized by the moderator on the site
Yo quiero devolver 1, si se encuentra en un rango de numeros determinados, ej. el rango es de 4 a 10, y en la celda tengo 5, devolver 1, pero si tengo 2 o 15, devolver 0.
This comment was minimized by the moderator on the site
Hi Daili,
If you just want to check if a number exists in a given range and return a specified value, you can combine IF with AND functions to get it done.
Suppose the number 4 is in cell A9, the number 10 is in cell B9, the number you want to determine if it exists between 4 and 10 is locateed in D9, you can apply the following formula to get the correct result.
=IF(AND(D9>A9,D9<B9),1,0)
This comment was minimized by the moderator on the site
Can you do a lookup searching a range of 3digit zips (i.e. 010-013 or 280-283,286,297) and pull in the city / state from your zip code list. The zip code list is all 3 digit zips in US broken out individually. The zips are listed multiple times because there are several city / state combinations. (i.e. 010 Ludlow MA; 010 Plamer MA etc).
This comment was minimized by the moderator on the site
The value works on the first cell. How do you do it for the entire column cell?
This comment was minimized by the moderator on the site
You will need to use $ for the lookup cells values
So if you have a column of values you want to look up you would modify the formula as follows:
=VLOOKUP(E2,$A$2:$C$8,3, TRUE)

E2 would change as you fill down but the table you are looking up from will remain constant
This comment was minimized by the moderator on the site
awesome, thanks!
This comment was minimized by the moderator on the site
Doesn't work. if only it was that simple, wouldn't need to be googling for this
This comment was minimized by the moderator on the site
It obviously does. Instead of whining and trying to be a smartass about it, you could have at least tried it out.
This comment was minimized by the moderator on the site
It does. Try it out before rudely complaining, simple as that.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations