What Code Or Macro Can I Use To Substitute Text To Column

Corried

Board Regular
Joined
Dec 19, 2019
Messages
217
Office Version
  1. 2019
Platform
  1. Windows
  2. Web
Hello Everyone.

Presently I have Many Raw Data below to section out.

What's beautiful, all the following data are similar:
Here is an example in row "1", in column "A" only :
0: {c: 9, close: 9, yield: null, referenceDate: null, date: "1997-03-01T00:00:00", …}

In this Case: How can I Keep the values of The following:
91997-03-01
I have multiple data similar like above. The comparison with the others are, values and dates.

What is the effective way to get the data?
Or what code can I use? How do you want me to proceed?

Thanks in advance
 
Pah! I should have read the post properly in the first instance. :( I just love the wow factor of this approach, when it works!
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
We can actually type in character 160 in the formula using num keypad ALT+0160

=LOOKUP(999999,--MID(A1,FIND("c: ",A1)+LEN("c: "),{1;2;3;4;6}))

and

=LOOKUP(99999,--MID(A1,FIND("date: """,A1)+LEN("date: """),{1;2;3;4;6;7;8;9;10}))

respectively
 
Upvote 0
Must admit I do like approach. :)
Now bookmarked for the future.
 
Upvote 0
Thank you very much for the support and swift reply. I am not sure if you all would agree with me. I just don't know. We speaking to someone and they have recommended power query.
A matter of fact I was surprise of the outcome.

If you are comfortable you take a look.

However, I will use your code as will when a problem do accur.

Thanks for everything. Below is the link:
Book3 (1).xlsx
 
Upvote 0
I know nothing about PQ as I have never used it, so cannot really comment.
But If it's easier to use that, then go for it.
 
Upvote 0

Forum statistics

Threads
1,224,852
Messages
6,181,408
Members
453,036
Latest member
Koyaanisqatsi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top