Jump to content
Sign in to follow this  

Calculation to extract field data

Recommended Posts

I am trying to make a calculation to extract specific data from a field to which I copy and paste a list of data items from another source.

For example the copied data would be something like this all pasted into one field

Name: Joe

Age: 45

Sex: M

From this field I would like a calculation "Name" field to extract the appropriate data from the pasted data field and then a separate calculation field to extract "Age" etc.

Hopefully this makes sense.

Let me know if I should clarify.


Share this post

Link to post
Share on other sites

There are various ways to parse text. For the example you provided I might do something like:

Name =

Substitute( GetValue( yourList ; 1 ) ; "Name: " ; "" )

IOW, take the first line of your list using GetValue, and then replace the label with blank.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.