The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Function for converting column into number format
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Neena1695

Canada
117 Posts

Posted - 01/20/2021 :  06:40:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello Origin Users!

In the attached picture, I want to convert columnn 1 into column 2 format, so want to remove all those letters and just extract associated numbers. What function can I use on Origin?

Thank you

Neena

YimingChen

1623 Posts

Posted - 01/20/2021 :  09:13:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Neena,

If you have Origin2021, you can use regular expression in Python extract value from string.


James
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 01/20/2021 :  10:00:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you know for sure the numbers always start from the same position, then you can do this in Fx formula
value(mid(A,4)$)


CP
Go to Top of Page

Neena1695

Canada
117 Posts

Posted - 01/20/2021 :  6:58:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you!

Neena
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000