istediğim tarihteki bilgileri farklı sayfalardan getirme

csncesur

Altın Üye
Katılım
12 Ekim 2021
Mesajlar
91
Excel Vers. ve Dili
Türkçe
Altın Üyelik Bitiş Tarihi
21-02-2025
Notlarım ve Bilgilerim isimli sayfada tarih tarih aldığım bilgilerim mevcuttur. İstediğim şey Bugün Yapılacak isimli sayfada bulunan GETİR isimli buton yardımıyla ve M1 Hücresinde bulunan tarihteki bilgileri bu sayfada göstermesini istiyorum. Yardımlarınız için şimdiden teşekkür ederim.
 

Ekli dosyalar

N.Ziya Hiçdurmaz

Özel Üye
Katılım
28 Nisan 2007
Mesajlar
2,218
Excel Vers. ve Dili
Office 2013 TR / 32 Bit
Merhaba aşağıdaki kodu deneyiniz.

Sub raporla()
Dim v()
Dim satv As Long
Dim s As Long
Sayfa3.Range("a1:b" & Rows.Count).Clear
v = Sayfa1.Range("a1:b" & Sayfa1.Cells(Rows.Count, "a").End(xlUp).Row)
s = 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
v = Sayfa2.Range("a1:b" & Sayfa2.Cells(Rows.Count, "a").End(xlUp).Row)
s = Sayfa3.Cells(Rows.Count, "a").End(xlUp).Row + 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
End Sub
 

Ekli dosyalar

Korhan Ayhan

Administrator
Yönetici
Admin
Katılım
15 Mart 2005
Mesajlar
42,190
Excel Vers. ve Dili
Microsoft 365 Tr-En 64 Bit
Merhaba,

Eğer ofis 365 sürümünü kullanıyorsanız aşağıdaki formülle tüm listeyi dökülmeli olarak listeleyebilirsiniz.

C++:
=EĞERHATA(DÜŞEYYIĞ({"Tarih"\"Notlarım \ Bilgilerim"};FİLTRE(DÜŞEYYIĞ(Notlarım:Bilgilerim!A1:B5000);DÜŞEYYIĞ(Notlarım:Bilgilerim!A1:A5000)=EĞER(M1="";YOKSAY();M1)));"")
 

csncesur

Altın Üye
Katılım
12 Ekim 2021
Mesajlar
91
Excel Vers. ve Dili
Türkçe
Altın Üyelik Bitiş Tarihi
21-02-2025
Merhaba aşağıdaki kodu deneyiniz.

Sub raporla()
Dim v()
Dim satv As Long
Dim s As Long
Sayfa3.Range("a1:b" & Rows.Count).Clear
v = Sayfa1.Range("a1:b" & Sayfa1.Cells(Rows.Count, "a").End(xlUp).Row)
s = 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
v = Sayfa2.Range("a1:b" & Sayfa2.Cells(Rows.Count, "a").End(xlUp).Row)
s = Sayfa3.Cells(Rows.Count, "a").End(xlUp).Row + 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
End Sub
Çok teşekkür ederim elinize sağlık. Tam istediğim buydu.
 

csncesur

Altın Üye
Katılım
12 Ekim 2021
Mesajlar
91
Excel Vers. ve Dili
Türkçe
Altın Üyelik Bitiş Tarihi
21-02-2025
Merhaba aşağıdaki kodu deneyiniz.

Sub raporla()
Dim v()
Dim satv As Long
Dim s As Long
Sayfa3.Range("a1:b" & Rows.Count).Clear
v = Sayfa1.Range("a1:b" & Sayfa1.Cells(Rows.Count, "a").End(xlUp).Row)
s = 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
v = Sayfa2.Range("a1:b" & Sayfa2.Cells(Rows.Count, "a").End(xlUp).Row)
s = Sayfa3.Cells(Rows.Count, "a").End(xlUp).Row + 1
For satv = 1 To UBound(v)
If v(satv, 1) = Sayfa3.[m1] Then
Sayfa3.Cells(s, "a") = v(satv, 1)
Sayfa3.Cells(s, "b") = v(satv, 2)
s = s + 1
End If
Next
End Sub
Çok teşekkür ederim elinize sağlık
 
Üst