Exact word equalling

metalkitty

New Member
Joined
Nov 9, 2005
Messages
35
Below is the formula I am using. So basically if B3 = C2, then place that word in this cell. What I need help with is, if C2 = ac and the word pack is in B3 than this will = ac. How can I make the formula only = the exact word ac?? Hope that makes sense

=IF(ISERROR(FIND(C$2,$B3)),"",C$2)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Exact word.

Oops, I left out a part of my problem.

Let say that cells = the below

B3 = We had no ac
B4 = We had to unpack

This formula will tell me that both B3 and B4 contain ac
=IF(ISERROR(FIND(C$2,$B3)),"",C$2)

This will only show me when ac is alone
=IF(EXACT(C2,B3),C2,"")

Anyone know how I can make the formula show when the exact word ac is present in the sentence?

Hope I explained it better
[/img][/code]
 
Upvote 0
So are you trying to return the result in C2 only if B3=B4 and both contain the complete word ac (the value from C2)?
 
Upvote 0
Book5
ABCDE
1currentlyhavefromusingthisformula =IF(ISERROR(FIND(C$2,$B3)),"",C$2)
2acair
3wehadnoacac
4wehavetounpackac
5wesatinachairair
6Iloveairair
7
8Iwouldlikemyformulatomakeitlooklikebelow
9acair
10wehadnoacac
11wehavetounpack
12wesatinachair
13Iloveairair
Sheet1
 
Upvote 0
So I would like "ac" to fill C3 but not C4. I would like to have the above bottom chart. Only sentences that contact the whole word ac not in a word. Hope this clears things up
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,558
Latest member
aivin

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