find location

E

Ed

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
 
D

Don Guillett

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