Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2017, 10:14 AM
NBVC's Avatar
NBVC NBVC is offline Sumif to find a single word in a cell without using wildcard Windows 10 Sumif to find a single word in a cell without using wildcard Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Probably not with SUMIF, but it can be done with SUMPRODUCT.



e.g.

=SUMPRODUCT(--(ISNUMBER(MATCH("*"&$C$1:$C$5&"*",A1,0))),$D$1:$D$ 5)

Where A1 is the cell containing the 5 states, and C1:C5 is the list you want to look in to find the matches and sum the adjacent cells D1: D5.

Warning... with Sumproduct it is advisable to not use full column ranges as this function is more processor intensive.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumif to find a single word in a cell without using wildcard Using SUMIF to pull text from another cell as range kong1802 Excel 2 02-07-2017 11:04 AM
Sumif to find a single word in a cell without using wildcard Wildcard to find any one or more words Maksymromaniuk Word 1 11-02-2015 01:04 PM
Need Help With Find and Replace Wildcard rsrasc Word VBA 9 10-13-2015 02:37 PM
Sumif to find a single word in a cell without using wildcard Wildcard Find and Replace Ulodesk Word 1 06-23-2014 10:26 AM
Sumif to find a single word in a cell without using wildcard Need help using WildCard Find & Replace Cayce Word 1 06-09-2014 04:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft