Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default find location

sorry for this stupid question,
what is the command to put in the cell to find the location of a string....
Column A
e.g. Mary, John =instr(A1, ",") i want the answer = 5
Christine, Peter =instr(A2, ",")
= 10
the above command work in Access/VB but not Excel....
What is the command for Excel...
Thanks
Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default find location

Ed

Check out the two functions
FIND() and SEARCH()

--
Best Regards
Leo Heuser

Followup to newsgroup only please.

"Ed" skrev i en meddelelse
...
sorry for this stupid question,
what is the command to put in the cell to find the location of a

string....
Column A
e.g. Mary, John =instr(A1, ",") i want the answer = 5
Christine, Peter =instr(A2, ",")
= 10
the above command work in Access/VB but not Excel....
What is the command for Excel...
Thanks
Ed



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default find location

This would also work in excel vba (macro) but for a formula you need FIND or
SEARCH. Look in HELP index.

--
Don Guillett
SalesAid Software

"Ed" wrote in message
...
sorry for this stupid question,
what is the command to put in the cell to find the location of a

string....
Column A
e.g. Mary, John =instr(A1, ",") i want the answer = 5
Christine, Peter =instr(A2, ",")
= 10
the above command work in Access/VB but not Excel....
What is the command for Excel...
Thanks
Ed



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
Find cell location in a large list TVC Excel Discussion (Misc queries) 4 March 6th 08 07:02 PM
How to find out the cell location Lamb Chop Excel Discussion (Misc queries) 3 September 7th 06 12:22 PM
find location max value in column rroach Excel Discussion (Misc queries) 3 July 13th 05 10:27 PM
How to find the location of a Excel .xla file Belinda Excel Programming 1 March 2nd 04 07:41 AM
Find Value in Array and report on Location jC! Excel Programming 6 January 9th 04 01:26 AM


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