SUMPRODUCT - Extract Exact Match or First Instance

mmmarks

Active Member
Joined
Jun 4, 2011
Messages
432
Office Version
  1. 2013
Dear Team,

I m struggling to get desire out put as SUMPRODUCT is summing up matched values and going beyond the range. How we can fix it.

I have a column called "Subject Line " , In this column, I will have data (Note : Not maintaining any pattern)
I have to categorize them based on Certain Keywords : I prepared a list of Key Words (List2)
If any key word exist in subject line , I would like to bring that in another column called " Category"

Now, It is giving Ref# Error as its summing up all keywords and going out of the Range
Plus, It is not finding exact match also. That would be great If it is do exact match.

I placed image here for your reference .

Thank you for your time.
 

Attachments

  • Sumproduct.JPG
    Sumproduct.JPG
    59.5 KB · Views: 16

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Does this do what you want?

22 10 18.xlsm
CDEFG
1
2
3Server AccessServer Went DownServer Went Down Not accessible
4Server BackupServer BackupTake Server backup
5Server Went Down
6Server Start
Category
Cell Formulas
RangeFormula
F3:F4F3=LOOKUP(9^9,SEARCH(C$3:C$6,G3),C$3:C$6)


If not, can you provide more sample data and expected results with XL2BB so that we can easily copy to test? (We cannot copy from an image ;))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top