Dear Expert,
I have a problem to count a data based on two or more criteria,
is there any solution for this.
I already attach the example and describe what I expected there.
Thanks..
Dear Expert,
I have a problem to count a data based on two or more criteria,
is there any solution for this.
I already attach the example and describe what I expected there.
Thanks..
Administrative Note:
Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?
Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.
The four most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.
Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Try variations on this theme:
=SUMPRODUCT((LEFT($A$2:$A$32,2)=F2)*($B$2:$B$32<0.5))
=SUMPRODUCT((LEFT($A$2:$A$32,2)=F2)*($B$2:$B$32>=0.5))
Formula:
=sumproduct((left($a$2:$a$32,2)=f$2)*($b$2:$c$32<0.5)*(right($b$1:$c$1,6)=$e4))
Last edited by JohnTopley; 11-14-2024 at 03:39 AM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Single formula in F4 then copy down and accross:
![]()
=SUMPRODUCT((LEFT($A$2:$A$32,2)=LOOKUP(2,1/($F$2:F$2<>""),$F$2:F$2))*(RIGHT($B$1:$C$1,LEN($E4))=$E4)* (($B$2:$C$32<0.5)*(F$2<>"")+($B$2:$C$32>0.5)*(F$2="")))
Quang PT
I am still using Apps Excel 2016 for my PC, event tho my company provide me with Micrososft Excel 365 via my outlook. but I'm not used to it yet, because my daily work contain macro to run and i still don't understand using macro on excel 365.
thank you for the answers, It's really helpfull!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks