CARA LINK DI MS EXCEL BEDA FILE

Do you frequently use Microsoft Excel for work or personal needs? If so, have you ever needed to link data between different sheets or files? It can be frustrating and time-consuming to manually transfer data from one sheet or file to another. Luckily, Excel offers a solution: linking sheets and files. In this article, we will discuss how to create links between sheets and files in Excel and how to use the VLOOKUP function to retrieve data from different files. Let’s dive in!

Linking Sheets in Excel

Linking sheets in Excel allows you to easily access data from one sheet to another without having to manually copy and paste the information. Here are the steps to create a link:

  1. Select the cell in which you want to include the link.
  2. Enter the equal sign (=) to initiate the formula.
  3. Navigate to the sheet and cell from which you want to retrieve the data.
  4. Press enter.

For example, let’s say you have a sheet titled “Sales Data” and you want to retrieve the total sales for the month of January on another sheet titled “Summary.” Here are the steps to create the link:

  1. Select the cell in which you want to include the link in the “Summary” sheet.
  2. Enter the equal sign (=) to initiate the formula.
  3. Navigate to the “Sales Data” sheet and select the cell containing the total sales for January.
  4. Press Enter.
Baca Juga :  Cara Membuat Aktual 1 Aktual 2 Di Excel

Now, the cell in the “Summary” sheet will display the total sales for January from the “Sales Data” sheet. If you update the sales data in the “Sales Data” sheet, the total sales in the “Summary” sheet will automatically update as well.

Linking Files in Excel

Linking files in Excel allows you to retrieve data from different files. This can be particularly useful if you have multiple files that contain related information. Here are the steps to create a link between files:

  1. Open the file in which you want to create the link.
  2. Select the cell in which you want to include the link.
  3. Enter the equal sign (=) to initiate the formula.
  4. Navigate to the other file and select the cell from which you want to retrieve the data.
  5. Press Enter.

For example, let’s say you have a file titled “Budget.xlsx” that contains all of your budget information and another file titled “Expenses.xlsx” that contains your expenses. Here are the steps to create a link between the files:

  1. Open the “Budget.xlsx” file.
  2. Select the cell in which you want to include the link.
  3. Enter the equal sign (=) to initiate the formula.
  4. Navigate to the “Expenses.xlsx” file and select the cell containing the total expenses.
  5. Press Enter.

Now, the cell in the “Budget.xlsx” file will display the total expenses from the “Expenses.xlsx” file. If you update the expenses data in the “Expenses.xlsx” file, the total expenses in the “Budget.xlsx” file will automatically update as well.

The VLOOKUP Function

The VLOOKUP function in Excel allows you to retrieve data from a table based on a specified criteria. It’s particularly useful when you have a large amount of data and need to quickly find specific information.

Baca Juga :  Membuat Absen Dari Excel

Here’s the syntax for the VLOOKUP function:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

The lookup_value is the value you’re looking up. The table_array is the range of cells containing the table from which you want to retrieve the data. The col_index_num is the column number containing the data you want to retrieve. The range_lookup is an optional argument that specifies whether you want an exact match or an approximate match.

Let’s use the VLOOKUP function to retrieve data from a different file. In this example, we have two files: “Sales.xlsx” and “Customers.xlsx.” The “Sales.xlsx” file contains information on sales, including the customer ID. The “Customers.xlsx” file contains customer information, including the name and address. We want to retrieve the customer name and address based on the customer ID in the “Sales.xlsx” file.

  1. Open the “Sales.xlsx” file.
  2. Select the cell in which you want to display the customer name.
  3. Enter the following formula: =VLOOKUP(A2,'[Customers.xlsx]Sheet1'!$A$2:$C$5,2,FALSE). This formula looks up the customer ID in cell A2, retrieves the customer name from column 2 in the “Customers.xlsx” file, and ensures an exact match by setting FALSE for the range_lookup argument.
  4. Press Enter.
  5. Select the cell in which you want to display the customer address.
  6. Enter the following formula: =VLOOKUP(A2,'[Customers.xlsx]Sheet1'!$A$2:$C$5,3,FALSE). This formula looks up the customer ID in cell A2, retrieves the customer address from column 3 in the “Customers.xlsx” file, and ensures an exact match by setting FALSE for the range_lookup argument.
  7. Press Enter.

Now, the cells in the “Sales.xlsx” file will display the customer name and address based on the customer ID. If you update the customer information in the “Customers.xlsx” file, the customer name and address in the “Sales.xlsx” file will automatically update as well.

Baca Juga :  Cara Membuat Isian Form Otomatis Di Excel Vba

FAQ

1. Can I create links between sheets and files in Excel for Mac?

Yes, you can create links between sheets and files in Excel for Mac using the same steps outlined in this article.

2. What happens if I delete the linked sheet or file?

If you delete a linked sheet or file, the links in the sheet or file that is still open will display a #REF! error.

Video Tutorial

If you prefer a video tutorial, check out this helpful video:

Conclusion

Creating links between sheets and files in Excel can save you a lot of time and effort. Whether you’re linking data within the same file or between different files, Excel offers a solution that is both efficient and reliable. And, with the VLOOKUP function, you can easily retrieve data from different files based on specific criteria. By following the steps outlined in this article, you’ll be able to create links in no time!