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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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