Returning number from Description

vvinod

New Member
Joined
Nov 13, 2024
Messages
10
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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
how about:

Excel Formula:
=LET(t,RIGHT(A1,LEN(A1)-FIND("Rect Qty",A1)-8), LEFT(t,FIND(" ",t)))
 
Upvote 0
Sorry mine is office 2019 , not understanding what is this LET and t, i put below one my column is S2.

=LET(t,RIGHT(S2,LEN(S2)-FIND("Rect Qty",S2)-8), LEFT(t,FIND(" ",t)))

Transaction_id:1880208591, Org Code:180, 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
 
Upvote 0
Ohhh I see... in your profile you display that you have 2021.
Let me modify the formula for 2019.
 
Last edited:
Upvote 0
One option:
Excel Formula:
=MID(S2, FIND("Rect Qty:", S2) + 9, FIND(" MT", S2) - FIND("Rect Qty:", S2) - 9)
 
Upvote 0
Here the formula for 2019:

Excel Formula:
=LEFT(RIGHT(A1,LEN(A1)-FIND("Rect Qty",A1)-8),FIND(" ",RIGHT(A1,LEN(A1)-FIND("Rect Qty",A1)-8)))

Let me know it if works for you.
 
Upvote 0
If you share more data we could see if the formulas works for all your cases.
 
Upvote 0
Here the formula for 2019:

Excel Formula:
=LEFT(RIGHT(A1,LEN(A1)-FIND("Rect Qty",A1)-8),FIND(" ",RIGHT(A1,LEN(A1)-FIND("Rect Qty",A1)-8)))

Let me know it if works for you.
Thank you so much, you made me my work easy........
 
Upvote 0

Forum statistics

Threads
1,223,935
Messages
6,175,494
Members
452,649
Latest member
mr_bhavesh

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