×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Trying to pull specific data/text from a cell in Excel

Trying to pull specific data/text from a cell in Excel

Trying to pull specific data/text from a cell in Excel

(OP)
Hi,

I am trying to find a formula to pull specific text from a cell in Excel. My company's ordering system lists our skus in the followng way when we pull our orders, the sku-quantity. Example 0101-3, meaning 3 of the sku 0101. When multiple items are ordered the text for items orders looks like this

"0124-1,0135-1,0171-1,0119-1,0110-1,0125-2,0137-1,UP0171-1,0134-1,0120-1,0103-2,0171-1".

And we have similar skus. As in the example we have UP0171 and 0171. They same SKU can appear twice in one order if we have buy one get one free promtion. One SKU is where we charge the customer and the second time it is the "free" product.

I am looking to pull specific skus and quantities from the orders. I was looking for the best way to do this. What I am hoping to pull the sku and total quantity ordered for that sku no matter how many times the sku is on the order. Is this even possible?

Any ideas?

Thanks
Amy

Thanks,

Amy

RE: Trying to pull specific data/text from a cell in Excel

If that's the context of one cell in Excel:
                                           A
1  0124-1,0135-1,0171-1,0119-1,0110-1,0125-2,0137-1,UP0171-1,0134-1,0120-1,0103-2,0171-1
 
You can use Text To Columns (divi it up by the comma) to get:
    A      B       C      D     E      F      G       H       I       J      K     L
1 0124-1 0135-1 0171-1 0119-1 0110-1 0125-2 0137-1 UP0171-1 0134-1 0120-1 0103-2 0171-1
 
Copy the row, Paste Special - Transpose
     A
1  0124-1
2  0135-1
3  0171-1
4   ...
 
And then you can use the same approach of Text To Columns to divide this column into SKU and QTY

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: Trying to pull specific data/text from a cell in Excel

Did that help you in any way... ponder

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close