اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

مطابقة الارقام


جروان

الردود الموصى بها

اخي هل جربت كود الاخ العيدروس على نفس مشاركة الملف السابق

هذا هو


Sub MKARNH_ALI()

Application.ScreenUpdating = False

Range("C2:D2,E2:F65536").ClearContents

Q = [A15000].End(xlUp).Row

For R = 2 To Q

If Application.CountIf([B2:B5000], Cells(R, 1)) = 0 Then

Cells([E15000].End(xlUp).Row + 1, 5) = Cells(R, 1)

End If

If Application.CountIf([A2:A5000], Cells(R, 2)) = 0 Then

Cells([F15000].End(xlUp).Row + 1, 6) = Cells(R, 2)

End If

Next

[C2].Value = [E15000].End(xlUp).Row - 1

[D2].Value = [F15000].End(xlUp).Row - 1

Application.ScreenUpdating = True

MsgBox "الحمد لله", vbInformation, "تمت المقارنة"

End Sub

رابط هذا التعليق
شارك

تحية اخي عبدالله دائما سباق للخير و انت الدينمو المحرك مثل ما قيل عند

احتاج تطبيق المعادلة في اكثر من عمود ولم استطيع التعامل مع الكود ليشتغل مع اكثر من عمود

لو في حل بالمعادلات احسن

رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information