Forum

Notifications
Clear all

Categorize a List of transactions using keywords from a list

2 Posts
2 Users
0 Reactions
94 Views
(@jpdijulia)
Posts: 1
New Member
Topic starter
 

Attached is the excel file with public viewing and a .png.  Thanks.ExcelHelppng.png

 
Posted : 15/09/2019 3:31 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi John,

Welcome to our forum. Give the cells C5:C13 the name 'List'. then use this formula in cell B5 and copy down:

=INDEX($C$5:$D$13,IF(SUMPRODUCT(--ISNUMBER(SEARCH(List,A5)))<>0,SUMPRODUCT(ISNUMBER(SEARCH(List,A5))*ROW($1:$9)),NA()),2)

The formula will return #N/A where there is no match found.

It is based on this example of searching a list of words for a text string.

Mynda

 
Posted : 16/09/2019 7:56 pm
Share: