Returning number from Description

vvinod

New Member
Joined
Nov 13, 2024
Messages
12
Office Version
  1. 2019
Platform
  1. Windows
is there any formula to find only receipt quantity from below description?

Transaction_id:1880208591, Org Code: , Receipt_num:154513, Item:320829000042, Rect Qty:125 MT , , Item GL Class (Org Level): RMS , GL Product Line (Master level): 320.829.999 PO Freight Term: CFR

I need to get the values as 125 in this case
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Trans Id:1868141065 Trans.Type:Intransit Receipt Rect.No.2337 in Org:184 from Org:180 Shipment.Num:OCF1199 Item:320829002310 Trans.Qty:48CTN

Just one more give for this also number value against Tans.Qty:
 
Upvote 0
You can try :
Excel Formula:
=RIGHT(A1,LEN(A1)-FIND("Trans.Qty:",A1)-9)
 
Upvote 0
Assuming you have your text in A2 try:

Excel Formula:
=LEFT(RIGHT(A2,LEN(A2)-FIND("Trans.Qty",A2)-9),FIND("CTN",RIGHT(A2,LEN(A2)-FIND("Trans.Qty",A2)-9))-1)
 
Upvote 0
Trans Id:1868141065 Trans.Type:Intransit Receipt Rect.No.2337 in Org:184 from Org:180 Shipment.Num:OCF1199 Item:320829002310 Trans.Qty:48CTN

Just one more give for this also number value against Tans.Qty:
Excel Formula:
=SUBSTITUTE(RIGHT(A1,LEN(A1)-FIND("Trans.Qty:",A1)-9),"CTN","")*1
 
Upvote 0

Forum statistics

Threads
1,224,862
Messages
6,181,464
Members
453,044
Latest member
rgbenson1

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