Related to your search 관련하여 사용자의 검색에

Excel Tutorial - Example of how to use the VLOOKUP function 엑셀 입문서 - vlookup 함수를 사용하는 방법의 예

Posted on September 5, 2007 at 1:50 pm 에 게시 2007년 9월 5일에서 오후 1시 50분

Welcome to Online Tech Tips , a great resource for computer tutorials, technology news, software reviews, and personal computing tips. 온라인에 오신 것을 환영합니다 테크 팁, 훌륭한 자원에 대한 컴퓨터 자습서, 기술 관련 뉴스, 소프트웨어 리뷰 및 개인용 컴퓨팅 팁. If you're new here and you like the content, you can subscribe to my 새 이곳을 원하는 경우는 콘텐츠를 구독하실 수있습니다를 내 RSS feed 피드 to get daily tips. 을 얻을 데일리 팁. Thanks for visiting! 방문해 주셔서 감사합니다!

Here’s a quick tutorial for those who need help using the VLOOKUP function in Excel. 여기에 간략한 자습서를하는 사람 vlookup 기능은 엑셀을 사용하는 데 도움이 필요합니다. VLOOKUP is a very useful function for easily searching through one or more columns in large worksheets to find related data. vlookup은 매우 유용한 기능을 쉽게 검색을 통해 하나 이상의 열이 대형 워크시트에서 관련 데이터를 찾을 수있습니다. You can use HLOOKUP to do the same thing for one or more rows of data. 사용하실 수있습니다 hlookup 이렇게 같은 생각에 대한 하나 이상의 행의 데이터입니다. Basically when using VLOOKUP, you’re asking “Here’s a value, find that value in this other set of data, and then return to me the value of another column in that same set of data.” 기본적 vlookup을 사용하는 경우, 원하는 요구가 "여기에 값을 찾을 수있는 값이 다른 세트의 데이터를 차례로 돌아가 나에게 또 다른 열에의 값을 데이터 집합이 동일합니다."

So you might ask how this can be useful? 그래서 부탁하는 방법이 유용할 수있습니다 발생할 수 있습니까? Well, take for example, the following 글쎄요, 걸릴 예를 들어, 다음과 같은 sample spreadsheet 샘플 스프레드 시트 I have created for this tutorial. 나는를 위해 만들어진이 지침서입니다. The spreadsheet is very simple: one sheet has information on a couple of car owners such as name, id of the car, color and horsepower. 스프레드 시트 작업은 매우 간단합니다 : 하나의 시트는 한 부부의 차량 소유자에 대한 정보와 같은 이름을 아이다호의 승용차, 색상 및 마력입니다. The second sheet has the id of the cars and their actual model names. 두 번째 시트는 아이디의 차량과 그들의 실제 모델 이름입니다. The common data item between the two sheets is the car id. 의 공통 데이터 항목을 사이에 두 개의 시트는 자동차 id입니다.

Now if I wanted to display the name of the car on sheet 1, I can use VLOOKUP to lookup each value in the car owners sheet, find that value in the second sheet, and then return the second column (the car model) as my desired value. 지금 만약 싶었다 디스플레이의 이름은 자동차에 시트를 1, 나는 vlookup를 조회를 사용할 수있습니다 각 값은 차량 소유자가 시트를 찾을 수있는 값의 두 번째 시트를 차례로 돌아 두 번째 열 (는 자동차 모델)로 내 원하는 값입니다. So how do you go about this? 그래서 어떻게하면 바둑 내용이 있습니까? Well first you’ll need to enter the formula into cell H4 . 잘 최초의 수식을 입력하셔야합니다 셀에 입력 h4입니다. Notice that I have already entered the full formula into cell F4 through F9 . 통지는 내가 이미 입력한은 전체 분유로 셀 f4를 통해 f9. We’ll walk through what each parameter in that formula actually means. 각 매개 변수에있는 무엇을 통해 드리겠습니다 도보 수식이 실제로 의미합니다.

Here’s what the formula looks like complete: 다음은 무엇을 수식 모양 완료 :

=VLOOKUP(B4,Sheet2!$A:$B,2,FALSE) = vlookup (b4, sheet2! $ 대답 : $ b, 2, 거짓)

There are 5 parts to this function: 거기은 5 부분을이 기능 :

1. =VLOOKUP - The = denotes that this cell will contain a function and in our case that is the VLOOKUP function to search through one or more columns of data. 1. = vlookup - = 표는는이 세포가 포함되어있는 기능과 우리의 경우에 해당이 vlookup 함수를 사용하여 검색을 통해 하나 이상의 컬럼의 데이터입니다.

2. B4 - The first argument for the function. 2. b4 -이 함수에 대한 첫 번째 인수합니다. This is the actual search term that we want look for. 이것은 실제 검색 용어가 우리가 원하는 모양에 대한있습니다. The search word or value is whatever is entered into cell B4. 는 검색 단어 또는 값이 아무개가 입력된 휴대 b4.

3. Sheet2!$A:$B - The range of cells on Sheet2 that we want to search through to find our search value in B4. 3. sheet2! $ 대답 : $ b -에 대한 sheet2가 우리가 원하는 셀 범위를 찾기 위해 검색을 통해 우리의 검색 값은 b4. Since the range resides on Sheet2, we need to precede the range with the name of the sheet followed by an !. 이후로 범위가 상주에 sheet2, 우리가해야 할 처음의 범위와의 이름은 시트 뒤에으로! . If the data is on the same sheet, there is no need for the prefix. 경우에 데이터가를 같은 시트, 프리 픽스에 대한 필요는 없다. You can also use named ranges here if you like. 명명된 범위를 사용할 수도있습니다 같은 경우 여기입니다.

4. 2 - This number specifies the column in the defined range that you want to return the value for. 4. 2 -이 번호를 지정합니다하려는 열의에 정의된 범위에 대한 값을 반환합니다. So in our example, on Sheet2, we want to return the value of Column B or the car name, once a match is found in Column A. Note, however, that the column’s position in the Excel worksheet does not matter. 그래서 우리 들어, sheet2, 우리를 돌아의 값을 열의 b 나는 자동차 이름, 일치하는 항목이 발견되면 열에 대답 참고하지만, 엑셀 워크시트가 칼럼의 게재 순위에 상관없습니다. So if you move the data in Columns A and B to D and E, let’s say, as long as you defined your range in argument 3 as $D:$E , the column number to return would still be 2. 이렇게하면 이동하는 데이터의 열을 a와 b를 개발 및 이메일, 봅시다, 한 정의하면 귀하의 범위에서 인수가 3으로 달러를 개발 : $ 이메일을 열 번호를 반환은 여전히이있습니다. It’s the relative position rather than the absolute column number. 그것은 상대적인 입장보다는 절대 열 번호입니다.

5. False - False means that Excel will only return a value for an exact match. 5. 허위 - 거짓을 의미하는 엑셀은 단지 값이 정확하게 일치하는 항목을 반환합니다. If you set it to True, Excel will look for the closest match. 을 설정하면 그것을 진정한, 엑셀은 모양가 까운 일치합니다. If it’s set to False and Excel cannot find an exact match, it will return #N/A . 만약 그것의 설정하여 허위 및 엑셀을 찾을 수 없다 정확하게 일치하는 것이다 돌아 # 해당 / a합니다.

Hopefully, you can now see how this function can be of use, especially if you have lots of data exported out from a normalized database. 를 바란다 볼 수있습니다이 함수는 물론 사용하는 방법, 특히 많은 데이터를 내보낼 수 있으면 밖에서 정상화 데이터베이스입니다. There may be a main record that has values stored in lookup or reference sheets. 있을 수있습니다 대문 기록이 값은 조회 또는 참고 시트에 저장됩니다. You can pull in other data by “joining” the data using VLOOKUP. 오기의 다른 데이터를 통해 할 수있습니다 "합류"의 데이터를 사용하여 vlookup.

Another thing you may have noticed is the use of the $ symbol in front of the column letter and row number. 또 하나의 사용을 할 수있습니다 나타났습은 $ 기호 앞에는 열의 문자와 행 번호입니다. The $ symbol tells Excel that when the formula is dragged down to other cells, that the reference should remain the same. 엑셀에 $ 기호를 알 수있는 경우에 수식이 끌고 내려가 다른 세포, 해당 참조를해야한다는 그대로 유지됩니다. For example, if you were to copy the formula in cell F4 to H4, remove the $ symbols and then drag the formula down to H9, you’ll notice that the last 4 values become #N/A.

The reason for this is because when you drag the formula down, the range changes according to the value for that cell. 그 이유 때문입니다를 드래그하면 수식을 종료, 해당 범위 변경 사항을 따르면 값을하는 세포입니다. So as you can see in the picture above, the lookup range for cell H7 is Sheet2!A5:B8 . 그래서이 그림에서 볼 수 있듯이 위의 조회 범위에 대한 셀 h7는 sheet2! 대답 : b8. It simply kept adding 1 to the row numbers. 단순히 추 1로의 행 번호를 보관합니다. To keep that range fixed, you need to add the $ symbol before the column letter and row number. 을 유지하는 범위가 고정을해야하는 추가 $ 기호가 이전에 열의 문자와 행 번호입니다.

One note: if you’re going to set the last argument to True, you need to make sure that the data in your lookup range (the second sheet in our example) is sorted in ascending order otherwise it will not work! 하나의 참고 사항 : 이동을 설정하는 경우가 마지막 인수가 사실이라면 귀하의 데이터를 필요가 있는지 확인하여 조회 범위 (제 2 시트의 예)는 정렬된를 오름차순 그렇지 않으면 작동하지 않을 것입니다!

Any questions, post a comment! 모든 질문, 의견을 게시합니다!

Technorati Tags: technorati 태그 : , , , , ,


If you enjoyed this post, make sure you 즐겼다면이 게시물을했는지 확인하십시오 subscribe to my RSS feed 구독을 내 피드 ! !

» Filed Under »소송 되었음 MS Office Tips ms 사무실 팁

Related Posts 관련 게시물

Please post your comments/suggestions! 를 게시하십시오 의견 / 제안합니다!