SOLVED

مساعدة في دالة اكسل

Copper Contributor

عندي جدول بيانات فيه اجمالي فواتير بيع للعملاء كل فاتورة ورقم جوالة ومبلغ فاتوره 

وفيه اكثر من عميل لدية اكثر من فاتورة برقم جواله

محتاج دالة تجمع لي اجمالي الفواتير لكل عميل حده

مثلا

رقم الجوالمبلغ الفاتورة
110 ريال
250 ريال
330 ريال
240 ريال
120 ريال

فمثلا احتاج ان رقم الجوال 1 اجمالي فواتيره هي 30 ريال 

وجوال رقم 2 اجمالي فواتيره 90 ريال

هل توجد دالة تساعدني على هذا

3 Replies
best response confirmed by Hans Vogelaar (MVP)
Solution

@sale2h 

Perhaps this formula:

=LET(
    uMobile_number, UNIQUE(mobile_number),
    totals, SUMIF(mobile_number, uMobile_number, invoice_amount),
    SORT(HSTACK(uMobile_number, totals))
)

Full thanks for you 

 

 

@Patrick2788 

You're welcome!
1 best response

Accepted Solutions
best response confirmed by Hans Vogelaar (MVP)
Solution

@sale2h 

Perhaps this formula:

=LET(
    uMobile_number, UNIQUE(mobile_number),
    totals, SUMIF(mobile_number, uMobile_number, invoice_amount),
    SORT(HSTACK(uMobile_number, totals))
)

View solution in original post