Ana içeriğe atla

Excel'de iki tarih arasındaki tüm kayıtları nasıl çıkarabilirim?

İşte Excel'de bir dizi veri ve bu durumda, aşağıda gösterilen ekran görüntüsü gibi iki tarih arasındaki tüm satır kayıtlarını çıkarmak istiyorum, bu işi verileri aramadan ve bunları tek tek manuel olarak çıkarmadan hızlı bir şekilde halletmek için herhangi bir fikriniz var mı?

tarihler arasında doc özü kaydı 1 sağ ok tarihler arasında doc özü kaydı 2

İki tarih arasındaki tüm kayıtları formüllere göre ayıklayın

Kutools for Excel ile iki tarih arasındaki tüm kayıtları ayıklayıniyi fikir3


İki tarih arasındaki tüm kayıtları formüllere göre ayıklayın

Excel'de iki tarih arasındaki tüm kayıtları ayıklamak için şunları yapmanız gerekir:

1. Yeni bir sayfa, Sayfa2 oluşturun ve iki hücreye, örneğin A1 ve B1'e, başlangıç ​​tarihini ve bitiş tarihini yazın. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 3

2. Sayfa1'deki C2'e bu formülü yazın, =SUMPRODUCT((Sheet1!$A$2:$A$22>=A2)*(Sheet1!$A$2:$A$22<=B2)), basın Keşfet eşleşen satırların toplam sayısını saymak için tuşuna basın. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 4

Not: Formülde, Sayfa1, sayfa, ayıklamak istediğiniz orijinal verileri içerir, $ A $ 2: $ A $ 22, veri aralığıdır, A2 ve B2, başlangıç ​​tarihi ve bitiş tarihidir.

3. Çıkarılan verileri yerleştireceğiniz boş bir hücre seçin, bu formülü yazın =IF(ROWS(A$5:A5)>$C$2,"",INDEX(Sheet1!A$2:A$22,SMALL(IF((Sheet1!$A$2:$A$22>=$A$2)*(Sheet1!$A$2:$A$22<=$B$2),ROW(Sheet1!A$2:A$22)-ROW(Sheet1!$A$2)+1),ROWS(A$5:A5)))), basın ÜstKrktr + Ctrl + Enter tuşlarını kullanın ve boş hücreler veya sıfır değerler görünene kadar tüm verileri çıkarmak için Otomatik doldurma tutamacını sütunların ve satırların üzerine sürükleyin. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 5

4. Sıfırları kaldırın ve 5 basamaklı sayılar olarak gösterilen tarihleri ​​seçin, Ana Sayfa sekmesini seçin Kısa tarih Tarih biçimlendirmesinde biçimlendirmek için Genel açılır listesinde. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 6


Kutools for Excel ile iki tarih arasındaki tüm kayıtları ayıklayın

Bu işi daha kolay halletmek istiyorsanız, Kutools for Excel'in Belirli Hücreleri Seç özelliğini deneyebilirsiniz.

Kutools for Excel, ile daha fazla 300 kullanışlı fonksiyonlar, işlerinizi daha kolay hale getirir. 

Kurduktan sonra Kutools for Excel, lütfen aşağıdaki işlemleri yapın:(Şimdi Excel için Kutools'u Ücretsiz İndirin!)

1. Çıkarmak istediğiniz veriyi seçin, tıklayın Kutools > seç > Belirli Hücreleri Seçin. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 7

2. içinde Belirli Hücreleri Seçin iletişim, kontrol et Tüm satır seçeneğini belirleyin ve Daha harika ve Küçüktür açılır listelerden metin kutularına başlangıç ​​tarihini ve bitiş tarihini yazın, kontrol etmeyi unutmayın Ve. Ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 8

3. tık Ok > OK. Ve tarihlerle eşleşen satırlar seçildi. Basın Ctrl + C satırları kopyalamak için boş bir hücre seçin ve Ctrl + V yapıştırmak için ekran görüntüsüne bakın:
tarihler arasında doc özü kaydı 9

En İyi Ofis Üretkenlik Araçları

🤖 Kutools AI Yardımcısı: Aşağıdakilere dayalı olarak veri analizinde devrim yaratın: Akıllı Yürütme   |  Kodunu oluşturun  |  Özel Formüller Oluşturun  |  Verileri Analiz Edin ve Grafikler Oluşturun  |  Kutools İşlevlerini Çağır...
Popüler Özellikler: Yinelenenleri Bul, Vurgula veya Tanımla   |  Boş Satırları Sil   |  Veri Kaybı Olmadan Sütunları veya Hücreleri Birleştirin   |   Formülsüz Tur ...
Süper Arama: Çoklu Ölçütlü VLookup    Çoklu Değer VLookup  |   Birden Çok Sayfada VLookup   |   Bulanık Arama ....
Gelişmiş Açılır Liste: Hızla Açılır Liste Oluşturun   |  Bağımlı Açılır Liste   |  Çoklu Seçim Açılır Liste ....
Sütun Yöneticisi: Belirli Sayıda Sütun Ekleme  |  Sütunları Taşı  |  Gizli Sütunların Görünürlük Durumunu Değiştir  |  Aralıkları ve Sütunları Karşılaştırın ...
Öne Çıkan Özellikler: Izgara Odağı   |  Tasarım görünümü   |   Büyük Formül Çubuğu    Çalışma Kitabı ve Sayfa Yöneticisi   |  Kaynak Kütüphanesi (Otomatik metin)   |  Tarih Seçici   |  Çalışma Sayfalarını Birleştirin   |  Hücreleri Şifrele/Şifresini Çöz    E-postaları Listeye Göre Gönder   |  Süper Filtre   |   Özel Filtre (kalın/italik/üstü çizili filtre...) ...
En İyi 15 Araç Seti12 Metin Tools (Metin ekle, Karakterleri Kaldır, ...)   |   50+ Grafik Türleri (Gantt şeması, ...)   |   40+ Pratik Formüller (Yaşı doğum gününe göre hesapla, ...)   |   19 sokma Tools (QR Kodunu Girin, Yoldan Resim Ekle, ...)   |   12 Dönüştürme Tools (Sayılardan Kelimelere, Para Birimi Dönüştürme, ...)   |   7 Birleştir ve Böl Tools (Gelişmiş Kombine Satırları, Bölünmüş hücreler, ...)   |   ... ve dahası

Kutools for Excel ile Excel Becerilerinizi Güçlendirin ve Daha Önce Hiç Olmadığı Gibi Verimliliği Deneyimleyin. Kutools for Excel, Üretkenliği Artırmak ve Zamandan Tasarruf Etmek için 300'den Fazla Gelişmiş Özellik Sunar.  En Çok İhtiyacınız Olan Özelliği Almak İçin Buraya Tıklayın...

Açıklama


Office Tab, Office'e Sekmeli Arayüz Getirir ve İşinizi Çok Daha Kolay Hale Getirir

  • Word, Excel, PowerPoint'te sekmeli düzenlemeyi ve okumayı etkinleştirin, Publisher, Access, Visio ve Project.
  • Yeni pencereler yerine aynı pencerenin yeni sekmelerinde birden çok belge açın ve oluşturun.
  • Üretkenliğinizi% 50 artırır ve her gün sizin için yüzlerce fare tıklamasını azaltır!
Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, this formula worked ok, except it only returned one data set for each date in the range. Is there an adjustment to allow for multiple entries with the dame date value?
This comment was minimized by the moderator on the site
This formula works awesome thanks, I need some extra help though. I have 200 employees, each with certification that expires on different dates. The heading for each certification is at the top with their expiry dates below. I want to extract the rows that with all info if there is an expiry reached and throw them into a new sheet. Exactly like the example above just dated from multiple columns.
This comment was minimized by the moderator on the site
Hi, Christiaan82, could you upload the a screenshot about you workhsheet, or give me more details about the information of sheet format, only with your description, I do not get it clearly.
This comment was minimized by the moderator on the site
All sorted. Instead of trying to retrieve the rows from multiple columns, I added a new hidden sheet where all the info populates the info on top of each other. So the information only needs to be retrieved from one column, as per your example above.
Thank you Sunny
This comment was minimized by the moderator on the site
"drag Auto fill handle over columns and rows to extract all data until blank cells or zero values appear."
This doesn't seem to be working for me. The first row gives me the dates but the same gets repeated in the next two rows.
This comment was minimized by the moderator on the site
Hi, Neha, could you check if your auto calculate is turn on? Click Formulas > Calcuations Options > Automatic.
This comment was minimized by the moderator on the site
it worked well for single sheet. can u pls help me to get the same from multiple sheets of similar data. first 4 sheets contain similar data. i need all records of same 'date' in sheet5.
This comment was minimized by the moderator on the site
Can you extend the formula to check for dates that encompass more than one day? For example, using the same start and end dates from 1/1/15-12/31/16, but the data in sheet 1 have start and end dates too rather than just existing for a singular date.
This comment was minimized by the moderator on the site
This formula worked brilliantly. I was concerned as I have multiple date duplicates and there was no mention of how it handles those; no issues. It returned all relevant data.
Stoked.
This comment was minimized by the moderator on the site
Thanks for your support, you can combined the duplicate dates cells after extracting.
This comment was minimized by the moderator on the site
The trouble I am having because I need to find dates that run through the date range specified. So I want anything that runs through something like 1/2016 to 12/2017, however it needs to include start dates that may be before the range so I can identify the records I need to look at.
This comment was minimized by the moderator on the site
I used this code and it is pulling up dates outside of the window... how do I fix it?
This comment was minimized by the moderator on the site
Which code Kayla? Do you mean the formula?
This comment was minimized by the moderator on the site
I recreated this example in Excel 2010, and the result was that the first row of data would show up, but everything underneath had a number error.
This comment was minimized by the moderator on the site
Same thing happens to me n Excel 2010. Something in the formula doesn't work correctly.
This comment was minimized by the moderator on the site
Have you pressed Shift + Ctrl + Enter keys?
This comment was minimized by the moderator on the site
I see what's wrong. You have to press the shift + CTRL + Enter keys while still in edit mode.
I was hitting those keys after entering the formula and hitting ENTER.
I wish it would have been clearer.
This comment was minimized by the moderator on the site
Yes, brian, after typing the formula and still in edit mode, directly press Shift + Ctrl + Enter keys (the keys instead of Enter key), to get the correct result.
This comment was minimized by the moderator on the site
Still doesnt work for me? I am doing exactly as above and still returning the NUM error? Any other ideas?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations