Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ali Ali is offline
external usenet poster
 
Posts: 80
Default Check if cells contain the word "Thailand", return "TRUE"

I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Check if cells contain the word "Thailand", return "TRUE"

Try this

=IF(COUNTIF($A$1:$A5000,"Thailand")0,"True","")

Mike
"ali" wrote:

I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ali Ali is offline
external usenet poster
 
Posts: 80
Default Check if cells contain the word "Thailand", return "TRUE"

Thanks a lot for the reply first!

However, this is NOT working ! !

this formula returns cells "exactly equals" to "Thailand" , not "Containing"
the word "Thailand"

is there any other way to get it ?

--
Allen Phailat Wongakanit


"Mike H" wrote:

Try this

=IF(COUNTIF($A$1:$A5000,"Thailand")0,"True","")

Mike
"ali" wrote:

I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Check if cells contain the word "Thailand", return "TRUE"

=SUMPRODUCT(--(ISNUMBER(FIND("Thailand",A1:A5000))))

Do not use full column range with SUMPRODUCT
This
=SUMPRODUCT(--(ISNUMBER(FIND("Thailand",A:A))))
will not work
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"ali" wrote in message
...
I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A
(A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Check if cells contain the word "Thailand", return "TRUE"

Then perhaps is MIGHT

=SUMPRODUCT(ISNUMBER(SEARCH("~Thailand",A1:A100))+ 0)0

Mike


"ali" wrote:

Thanks a lot for the reply first!

However, this is NOT working ! !

this formula returns cells "exactly equals" to "Thailand" , not "Containing"
the word "Thailand"

is there any other way to get it ?

--
Allen Phailat Wongakanit


"Mike H" wrote:

Try this

=IF(COUNTIF($A$1:$A5000,"Thailand")0,"True","")

Mike
"ali" wrote:

I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ali Ali is offline
external usenet poster
 
Posts: 80
Default Check if cells contain the word "Thailand", return "TRUE"

Big thanks to all you guys, but i've already figured it out.

i just use " =ISERROR(SEARCH("thailand",A2,1))" , so i'll get "TRUE" and
"FALSE", and then i just re-sort them again and i'll get those entreis
containing "THAILAND"


thank you guys all anyway, ^_^!!!
--
Allen Phailat Wongakanit


"ali" wrote:

I have a spread sheet (5000 entries)

i have an extra column at the end.

I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".

if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)



--
Allen Phailat Wongakanit

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Check if cells contain the word "Thailand", return "TRUE"

On Sep 10, 1:26 pm, ali wrote:
Big thanks to all you guys, but i've already figured it out.

i just use " =ISERROR(SEARCH("thailand",A2,1))" , so i'll get "TRUE" and
"FALSE", and then i just re-sort them again and i'll get those entreis
containing "THAILAND"

thank you guys all anyway, ^_^!!!
--
Allen Phailat Wongakanit



"ali" wrote:
I have a spread sheet (5000 entries)


i have an extra column at the end.


I'd like to generate a formula which find if my data in column A (A1:A5000)
contans the word "Thailand".


if it containt the word "Thailand" , i shall get a sign (or an indicator,
say... "TURE", something like that)


--
Allen Phailat Wongakanit- Hide quoted text -


- Show quoted text -


please view www.thaitreasuretrove for information on thailand and join
the forums to enjoy disscussions.

Stephen

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
how to check several cells for a value =0 and if true enter "1" Russell Excel Discussion (Misc queries) 4 February 11th 07 03:44 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
create links to check boxes marked "good" fair"and "bad" pjb Excel Worksheet Functions 3 April 20th 06 02:17 AM


All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"