CARA MENULIS NIK DI EXCEL

When it comes to managing data in Excel, one of the most important aspects is ensuring that the information is accurate and organized. This includes being able to properly input and format important pieces of information like the National Identification Number (NIK). In this article, we will explore how to properly input and format NIK in Excel, as well as how to determine gender based on the NIK.

How to Input NIK in Excel

NIK is a unique identifier for Indonesian citizens, consisting of 16 digits. When inputting NIK in Excel, it’s important to ensure that each digit is entered accurately in order to avoid errors in data analysis. Here are the steps to properly input NIK in Excel:

  1. Open a new workbook in Excel
  2. Select the cell where you want to input the NIK
  3. Type in the first digit of the NIK
  4. Click on the cell and drag the fill handle down to the last cell where you want to input the NIK

It’s important to note that Excel may automatically format the NIK as a date or a number. Ensure that the NIK is properly formatted as text by selecting the cells where the NIKs are entered, and changing the format to “Text” in the “Number” tab of the formatting options.

Baca Juga :  CARA SORT DATA YANG SAMA DI EXCEL

How to Determine Gender Based on NIK in Excel

In Indonesia, the second digit of the NIK is used to identify the person’s gender. If the second digit is even, the person is female, and if it is odd, the person is male. Here are the steps to determine gender based on NIK in Excel:

  1. Open a new workbook in Excel
  2. Select the cell where you want to determine gender based on NIK
  3. Type in the following formula: =IF(MOD(RIGHT(A1,16),2)=0,”Female”,”Male”)
  4. Replace “A1” with the cell where the NIK is inputted

This formula works by first taking the last 16 digits of the NIK using the RIGHT function, and then using the MOD function to determine if the second to last digit is even or odd. If it’s even, the person is identified as “Female”, and if it’s odd, the person is identified as “Male”.

FAQ

Q: How do I prevent Excel from automatically formatting the NIK as a date or number?

A: To prevent Excel from automatically formatting the NIK, select the cells where the NIKs are entered, and change the format to “Text” in the “Number” tab of the formatting options.

Q: Can I input multiple NIKs at once in Excel?

A: Yes, you can input multiple NIKs at once in Excel by selecting the cells where you want to input the NIKs, typing in the first NIK, clicking on the cell and dragging the fill handle down to the last cell where you want to input the NIK.

In conclusion, properly inputting and formatting NIK in Excel is crucial to ensure accurate data analysis. Additionally, being able to determine gender based on NIK can be useful in certain situations. By following these simple steps and using the formula provided, you can easily input and format NIK in Excel and determine gender based on it.

Baca Juga :  Cara Menghitung Luas Daerah Dibawah Kurva Dengan Excel