Loncat ke daftar isi utama

Bagaimana menemukan dan mendapatkan hari Senin pertama pada tahun tertentu di Excel?

Di lembar kerja, bagaimana Anda bisa menghitung dan mendapatkan hari Senin pertama dalam setahun dari tanggal tertentu? Artikel ini, saya akan memperkenalkan beberapa rumus berguna untuk menyelesaikan tugas ini di Excel.

Hitung dan dapatkan hari Senin pertama pada tahun tertentu dengan rumus


Hitung dan dapatkan hari Senin pertama pada tahun tertentu dengan rumus

Harap terapkan rumus berikut untuk menghitung hari Senin pertama pada tahun tertentu:

Masukkan rumus ini: = TANGGAL (TAHUN (A2), 1,8) -WEEKDAY (TANGGAL (TAHUN (A2), 1,6)) ke dalam sel kosong tempat Anda ingin mencari hasilnya, lalu seret gagang isian ke sel yang ingin Anda terapkan rumus ini, dan tanggal Senin pertama dari tanggal yang ditentukan telah ditampilkan sekaligus, lihat tangkapan layar:

Catatan:

1. Jika Anda memiliki daftar sel nomor tahun yang tidak dalam format tanggal, harap gunakan rumus ini:

= TANGGAL (A2,1,1) + PILIH (WEEKDAY (TANGGAL (A2,1,1), 2), 0,6,5,4,3,2,1) untuk mendapatkan tanggal Senin pertama berdasarkan tahun tertentu, lihat tangkapan layar:

2. Dalam rumus di atas, A2 adalah sel berisi tanggal atau tahun yang Anda inginkan untuk mendapatkan hari Senin pertama.

Alat Produktivitas Kantor Terbaik

馃 Kutools AI Ajudan: Merevolusi analisis data berdasarkan: Eksekusi Cerdas   |  Hasilkan Kode  |  Buat Rumus Khusus  |  Analisis Data dan Hasilkan Grafik  |  Aktifkan Fungsi Kutools...
Fitur Populer: Temukan, Sorot, atau Identifikasi Duplikat   |  Hapus Baris Kosong   |  Gabungkan Kolom atau Sel tanpa Kehilangan Data   |   Putaran tanpa Formula ...
Pencarian Super: VLookup Beberapa Kriteria    VLookup Nilai Berganda  |   VLookup di Beberapa Lembar   |   Pencarian Fuzzy ....
Daftar Drop-down Lanjutan: Buat Daftar Drop Down dengan Cepat   |  Daftar Drop Down yang Bergantung   |  Multi-pilih Drop Down List ....
Manajer Kolom: Tambahkan Jumlah Kolom Tertentu  |  Pindahkan Kolom  |  Alihkan Status Visibilitas Kolom Tersembunyi  |  Bandingkan Rentang & Kolom ...
Fitur Unggulan: Fokus Kisi   |  Tampilan Desain   |   Bar Formula Besar    Manajer Buku Kerja & Lembar   |  Perpustakaan Sumberdaya (Teks otomatis)   |  Pemetik tanggal   |  Gabungkan Lembar Kerja   |  Enkripsi/Dekripsi Sel    Kirim Email berdasarkan Daftar   |  Filter Super   |   Filter Khusus (filter tebal/miring/coret...) ...
15 Perangkat Teratas12 Teks Tools (Tambahkan Teks, Hapus Karakter, ...)   |   50 + Grafik jenis (Gantt Chart, ...)   |   40+ Praktis Rumus (Hitung usia berdasarkan ulang tahun, ...)   |   19 Insersi Tools (Masukkan Kode QR, Sisipkan Gambar dari Jalur, ...)   |   12 Konversi Tools (Angka ke Kata, Konversi Mata Uang, ...)   |   7 Gabungkan & Pisahkan Tools (Lanjutan Gabungkan Baris, Pisahkan Sel, ...)   |   ... dan banyak lagi

Tingkatkan Keterampilan Excel Anda dengan Kutools for Excel, dan Rasakan Efisiensi yang Belum Pernah Ada Sebelumnya. Kutools for Excel Menawarkan Lebih dari 300 Fitur Lanjutan untuk Meningkatkan Produktivitas dan Menghemat Waktu.  Klik Di Sini untuk Mendapatkan Fitur yang Paling Anda Butuhkan...

Deskripsi Produk


Tab Office Membawa antarmuka Tab ke Office, dan Membuat Pekerjaan Anda Jauh Lebih Mudah

  • Aktifkan pengeditan dan pembacaan tab di Word, Excel, PowerPoint, Publisher, Access, Visio, dan Project.
  • Buka dan buat banyak dokumen di tab baru di jendela yang sama, bukan di jendela baru.
  • Meningkatkan produktivitas Anda sebesar 50%, dan mengurangi ratusan klik mouse untuk Anda setiap hari!
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Description:
You can find the (n)th (x)day of a given M and Y where x is a number representing the day of the week (from 1 = Sunday through to 7 = Saturday) with this formula:

=DATE(Y,M,(n*7)+1)-WEEKDAY(DATE(Y,M,8-x))


When applied to the example:
n = 1 (1st occurrence in month)
x = 2 (of a Monday)
M = 1 (in January)
Y = A2 (of year in cell A2)

Thus:
=DATE(YEAR(A2),1,1*7+1)-WEEKDAY(DATE(YEAR(A2),1,8-2))


When simplified, you arrive at the same formula as the article:
=DATE(YEAR(A2),1,8)-WEEKDAY(DATE(YEAR(A2),1,6))


Hope this helps the next guy!
This comment was minimized by the moderator on the site
Description:
You can find the (n)th (x)day of a given M and Y where x is a number representing the day of the week (from 1 = Sunday through to 7 = Saturday) with this formula:

=DATE(Y,M,(n*7)+1)-WEEKDAY(DATE(Y,M,8-x))


When applied to the example:
n = 1
(1st occurrence in month)
x = 2
(of a Monday)
M = 1
(in January)
Y = A2
(of year in cell A2)

=DATE(YEAR(A2),1,1*7+1)-WEEKDAY(DATE(YEAR(A2),1,8-2))


When simplified, you arrive at the same formula as the article:
=DATE(YEAR(A2),1,8)-WEEKDAY(DATE(YEAR(A2),1,6))


Hope this helps the next guy!
This comment was minimized by the moderator on the site
Really bummed and disappointed you didn't take the time to explain the formula so we can adapt to other needs.
This comment was minimized by the moderator on the site
I can't login, and my previous response to stormtrance was incorrect. The formula DOES work. I do wish, though, that there was an explanation so I could figure out how to get each Monday and Friday date of every month.
This comment was minimized by the moderator on the site
Completely agree; also, the formula does not work. Here's the formula in action.8/5/2014 Thursday, January 2, 2014
8/5/2015 Friday, January 2, 2015
8/5/2016 Saturday, January 2, 2016
8/5/2017 Monday, January 2, 2017
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations