Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

==== Need to extract string from comma delimited cell in EXCEL ====

Status
Not open for further replies.

Lynux

MIS
Aug 3, 2001
33
US
I have a range of cells I have combined to make one column of comma seperated value cells. What I now need to do is look through that column for a value and if value is located extract only the last three characters of the comma delimited cell.

Example:
|__A__|
1,5,330
1,4,450
1,3,560
((I need to look through this column, find the column containing 1,5 and display only 330))


(I am sure this includes an =IF, =Vlookup, and maybe =Find, and possibly =MID function but not sure in what order and how to impliment exactly)

Thanks in advance ! :) =================================
Imagination is more important than knowledge.
(A.E.)
 
Hi lynux,

You can try the below,

=IF(MID(A1,1,3)="1,5",MID(A1,5,3),0)

Hope this can be of some help to you.

Regards :)

LSTAN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top