Excel: Tunjukkan tanggal hari ini
Faktur dan dokumen lain yang Anda buat dengan Excel seringkali memerlukan tanggal hari ini. Dengan fungsi sederhana, Excel membuat tanggal hari ini dan memperbaruinya nanti secara otomatis.
Fungsi untuk tanggal hari ini di Excel
Dengan fungsi "= TODAY ()" Excel menciptakan tanggal saat ini. Jika Anda memerlukan tanggal yang lebih lama atau yang akan datang, tambahkan "+ x" atau "-x" ke hari itu. Ini diilustrasikan di bawah ini menggunakan contoh 13 Maret 2013:
- Masukkan hari "= TODAY ()": Tanggal 13.03.2013 muncul. Jika Anda menyimpan dokumen dan membukanya di lain waktu, tanggal saat ini ada di sel.
- Untuk mendapatkan tanggal hari sebelumnya, perluas fungsi dengan "-1". Formula berubah menjadi "= TODAY () - 1". Sekarang Excel menghasilkan 12 Maret 2013. Seperti fungsi dasar, Excel memperbarui tanggal secara otomatis: Jika Anda membuka dokumen di hari lain, Excel menghitung tanggal hari sebelumnya. Dengan angka yang lebih tinggi, Anda akan mendapatkan kencan sejauh mungkin.
Petunjuk merujuk ke Microsoft Excel 2010 di Windows 7. Pada Windows Vista dan Windows 8, serta MS Office versi 2007 dan 2013, masukkan tanggal hari ini dengan cara yang sama.