اذهب الي المحتوي
أوفيسنا

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

قام بنشر

الاخ الكريم ياسر

 ابحث عن داله Vlookup تحديد

علي ان تكون بشرطين او ثلاثه وهي كانت موجوده في المنتدي  استخدمتها مسبقا لاكن للاسف الذاكره ضعفت ولم اعد اجدها

قام بنشر

لعلك تقصد هذه الدالة

Function VLOOKUPTOW2(Lookup_Value1 As Variant, Table_Array As Range, _
Lookup_Value2 As Variant, Range_Array As Range, Col_index_num As Integer)

Dim Rw As Long
VLOOKUPTOW2 = "#N/A"

For Rw = 1 To Table_Array.Rows.Count
   If Table_Array.Cells(Rw, 1).Value = Lookup_Value1.Value And _
   Range_Array.Cells(Rw, 1).Value = Lookup_Value2.Value Then
     VLOOKUPTOW2 = Table_Array.Cells(Rw, Col_index_num).Value
     Exit Function
   End If
Next Rw

End Function

 

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.

×
×
  • اضف...

Important Information