Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Claudio P.
 
Posts: n/a
Default problem in finding words into cells of a column

My formula can find only the word cremona into from cell D2 to cell
D100.
can you help me please ?

--------------CUTHERE----------------
=IF(FIND("cremona";D2)0;"Cremona";IF(FIND("spatoc co";D2)0;"spatocco";IF(FIND("magliano";D2)0;"mag liano";IF(FIND("desenzano";D2)0;"desenzano";IF(FI ND("aosta";D2)0;"aosta";IF(FIND("ascoli";D2)0;"a scoli";IF(FIND("amandola";D2)0;"amandola";""))))) ))
--------------CUTHERE----------------

thank you very much

Claudio

  #2   Report Post  
Posted to microsoft.public.excel.misc
bob777
 
Posts: n/a
Default problem in finding words into cells of a column


Are you trying to count the number of times cremona etc appears, or to
put the word cremona in another cell, or to highlight the cell? Is your
data single town names , or town names inside a set of other words?


--
bob777
------------------------------------------------------------------------
bob777's Profile: http://www.excelforum.com/member.php...o&userid=28504
View this thread: http://www.excelforum.com/showthread...hreadid=504864

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default problem in finding words into cells of a column

Perhaps try replacing FIND with SEARCH in your formula.
FIND is case-sensitive while SEARCH is not

Another way to try ..

Let's say the names: Cremona, Spatacco, etc are listed down in X1:X20

Then we could put in say, E2's formula bar
and array-enter the formula (i.e. press CTRL+SHIFT+ENTER):
=IF(D2="","",INDEX($K$1:$K$20,MATCH(1,ISNUMBER(SEA RCH($K$1:$K$20,D2))*($K$1:
$K$20<""),0)))
and copy E2 down as far as required

This may accomplish the same results in a slightly neater way
(if I've read your intent correctly)

Note: You'd need to change the commas in the formula
to semicolons ";" to suit your Excel language
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Claudio P." wrote in message
oups.com...
My formula can find only the word cremona into from cell D2 to cell
D100.
can you help me please ?

--------------CUTHERE----------------

=IF(FIND("cremona";D2)0;"Cremona";IF(FIND("spatoc co";D2)0;"spatocco";IF(FI
ND("magliano";D2)0;"magliano";IF(FIND("desenzano" ;D2)0;"desenzano";IF(FIND
("aosta";D2)0;"aosta";IF(FIND("ascoli";D2)0;"asc oli";IF(FIND("amandola";D2
)0;"amandola";"")))))))
--------------CUTHERE----------------

thank you very much

Claudio



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default problem in finding words into cells of a column

Typo in the line, sorry:
... the names: Cremona, Spatacco, etc are listed down in X1:X20


The names are assumed in K1:K20
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM
Count cells based on date range in another column [email protected] New Users to Excel 1 May 5th 05 08:11 PM
Comparing Cells and Displaying Data Keith Brown Excel Worksheet Functions 1 February 9th 05 05:42 PM


All times are GMT +1. The time now is 01:59 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"