Find $
I have data that starts with $ which is easy to find.
But sometime the $ is blended in the text please note this data is in Access??? But if I have to move it to excel ok... Hello-$10.00 SPEC COPAY Hello - $30.00 SPEC COPAY VARIOUS COPAYS,INCL. $10 SPEC Hello $20 SPEC COPAY / $0 FOR KIDS How can I pick in a new column as follow $10 $30 $10 $20 Thanks |
Find $
Hi,
This may be more complicated than necessary because it also find the cents if they are included =MID(A1,FIND("$",A1),FIND(" ",A1,FIND("$",A1))-FIND("$",A1)) If you just want to find the dollars as in your example use the simpler =MID(A1,FIND("$",A1),3) Mike "Max" wrote: I have data that starts with $ which is easy to find. But sometime the $ is blended in the text please note this data is in Access??? But if I have to move it to excel ok... Hello-$10.00 SPEC COPAY Hello - $30.00 SPEC COPAY VARIOUS COPAYS,INCL. $10 SPEC Hello $20 SPEC COPAY / $0 FOR KIDS How can I pick in a new column as follow $10 $30 $10 $20 Thanks |
Find $
You can try this...
=VALUE(MID(A1, FIND("$", A1)+1, FIND(" ", A1, FIND("$", A1)) - FIND("$", A1))) where your text is in cell A1 -- HTH... Jim Thomlinson "Max" wrote: I have data that starts with $ which is easy to find. But sometime the $ is blended in the text please note this data is in Access??? But if I have to move it to excel ok... Hello-$10.00 SPEC COPAY Hello - $30.00 SPEC COPAY VARIOUS COPAYS,INCL. $10 SPEC Hello $20 SPEC COPAY / $0 FOR KIDS How can I pick in a new column as follow $10 $30 $10 $20 Thanks |
Find $
Note... The difference between my formula and Mike's is that min returns a
number and his returns text... You did not specify what you wanted so decide accordingly. -- HTH... Jim Thomlinson "Jim Thomlinson" wrote: You can try this... =VALUE(MID(A1, FIND("$", A1)+1, FIND(" ", A1, FIND("$", A1)) - FIND("$", A1))) where your text is in cell A1 -- HTH... Jim Thomlinson "Max" wrote: I have data that starts with $ which is easy to find. But sometime the $ is blended in the text please note this data is in Access??? But if I have to move it to excel ok... Hello-$10.00 SPEC COPAY Hello - $30.00 SPEC COPAY VARIOUS COPAYS,INCL. $10 SPEC Hello $20 SPEC COPAY / $0 FOR KIDS How can I pick in a new column as follow $10 $30 $10 $20 Thanks |
All times are GMT +1. The time now is 04:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com