R rush2rajen Member Apr 15, 2016 #1 Hi Excel Champs, I am attaching a file which contains two sheets. One is detailed and the other is formula sheet. I had written the result manually but unable to write a formula for the same. Request you to please help on this. Thanks Rush2Rajen Attachments x.xlsx 87.7 KB · Views: 5
Hi Excel Champs, I am attaching a file which contains two sheets. One is detailed and the other is formula sheet. I had written the result manually but unable to write a formula for the same. Request you to please help on this. Thanks Rush2Rajen
Deepak Excel Ninja Apr 15, 2016 #2 Is this.. C5=COUNTIFS(DETAILS!D1:D5,">20000",DETAILS!C1:C5,A5) or C5=SUMPRODUCT((DETAILS!D2:D5>20000)*(DETAILS!C2:C5=A5)) and C2=SUMPRODUCT((DETAILS!D2:D5>DETAILS!E2:E5)*(DETAILS!B2:B5=A2))
Is this.. C5=COUNTIFS(DETAILS!D1:D5,">20000",DETAILS!C1:C5,A5) or C5=SUMPRODUCT((DETAILS!D2:D5>20000)*(DETAILS!C2:C5=A5)) and C2=SUMPRODUCT((DETAILS!D2:D5>DETAILS!E2:E5)*(DETAILS!B2:B5=A2))
JAMIR Member Apr 15, 2016 #3 hi rush2rajen Here you go!!! Regards, Zameer Attachments Count with Conditions.xlsx 89.6 KB · Views: 7
V Villalobos Active Member Apr 15, 2016 #4 another approach with COUNTIFS and MAX functions Attachments x.xlsx 89.6 KB · Views: 5