ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   find location (https://www.excelbanter.com/excel-programming/307255-find-location.html)

Ed

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

Leo Heuser[_3_]

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




Don Guillett[_4_]

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





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com