Help with excel formula...

lucas6

New Member
Joined
Jul 18, 2013
Messages
1
Hi All,

Please help...

Scenario: Basically I have a a spreadsheet with Raw data on 1 page, list of places, and a table/results sheet.
I currently manually go through the raw data and decide whether each line is proactive or not.
I would like a formula to do this for me, by searching a particular cell for 1 of 3 words (Proactive, Morning or Their Replication). If it finds 1 of the 3 words in the cell, it should count it as '1' and then move on to the next line.

So far I have tried:

=COUNTIFS(Data!H:H,$B2,Data!D:D,"*Proactive*")+COUNTIFS(Data!H:H,$B2,Data!D:D,"*Morning*")+COUNTIFS(Data!H:H,$B2,Data!D:D,"*Their Replication*")

The problem I am getting with this formula, is if a word appears twice in the cell, or 2 or more words appear in the cell, it will count the line more than once.

Is there a simple way I can amend this so that it will search for the 3 words and count only once if it finds 1.

I have also tried the following sumif formula, which works, but takes around 5-10 minutes to run the formula, so when any changes are made to the document it takes 5-10 minutes before I can do anything:

=SUMPRODUCT(-(Data!H:H=Table!$B2),-(MMULT(--ISNUMBER(SEARCH({"Proactive","Morning","Their Replication"},Data!D:D)),ROW($1:$3)/ROW($1:$3))>0))

Any help would be great! If any further info is required please let me know.
Thanks in advance
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Change the reference to A1 to the cell that needs searched and then place in a cell in same row as the cell that needs searched and fill down

=IF(IFERROR(FIND("Proactive",A1,1),0)=0,IF(IFERROR(FIND("Morning",A1,1),0)=0,IF(IFERROR(FIND("Their Replication",A1,1),0)=0,0,1),1),1)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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