Hi -
Looking to sumif location = TRENTON. In the example, there could be multiple TRENTON's, like TRENTON, TRENTON YARD. Would like sum all that has TRENTON in the range.
I've tried LEFT(), to no avail.
Any ideas?
Thanks,
Sluggy
Hi -
Looking to sumif location = TRENTON. In the example, there could be multiple TRENTON's, like TRENTON, TRENTON YARD. Would like sum all that has TRENTON in the range.
I've tried LEFT(), to no avail.
Any ideas?
Thanks,
Sluggy
Try:
=COUNTIF($B$2:$B$6,E2&"*")
and:
=SUMIF($B$2:$B$6,E2&"*",$C$2:$C$6)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.
Forum Rules (updated September 2018): please read them here.
How to use the Power Query code you've been given: help here. More about the Power suite here.
Try
=SUMPRODUCT((C2:C6)*(ISNUMBER(SEARCH(E2,B2:B6))))
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Hi AliGW -
That did it!!!! Thank you so much![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks