LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


I will assume you import your data into column A. Beginning in column B
(say row 2) enter the values to look for, e.g. "A=", "a=", ....."X=",
"Z=" should run through column V per your example of "A, a, B, G, g,
H, I, i, L, M, N, n, O, Q, R, S, T, u, U, X, Z".

With your imported data in A3, add a comma at the end of the last entry
(e.g. ....Z=CPIC,X=LB*,*) then in B3 enter this Formula:

=IF(ISERROR(MID($A$3,FIND(B2,$A$3,1)+2,FIND(",",$A $3,FIND(B2,$A$3,1))-(FIND(B2,$A$3,1)+2))),"",MID($A$3,FIND(B2,$A$3,1)+ 2,FIND(",",$A$3,FIND(B2,$A$3,1))-(FIND(B2,$A$3,1)+2)))

This will return "1" (the value of "A=")

copy this to C3 and it will return "5" (the value of "a=")

copy to D3 will return "" (a blank cell as there is no "B=" value)

and so on through V3 which returns "CPIC" (the value of "Z=")

NOTE: you _must_ add the comma to the end of the data string in A3 for
this formula to return the last value in the string!

Does this work for you?


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473754

 
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
Creating a Difficult Chart mlw Charts and Charting in Excel 2 October 1st 05 02:43 PM
Data Validation - still difficult Kevin Excel Discussion (Misc queries) 2 September 6th 05 03:28 AM
Simple Calculation - but Difficult! [email protected] Excel Discussion (Misc queries) 1 August 18th 05 10:16 AM
Difficult to open files in Excel in different countries Simon Jefford Excel Discussion (Misc queries) 1 July 11th 05 12:50 PM
Difficult (for me) formula/UDF calculation Mike Echo Excel Worksheet Functions 4 December 25th 04 09:09 AM


All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"