Formula to extract data

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,601
Office Version
  1. 2021
Platform
  1. Windows
Attached please find sample data

1) I need a formula in O1497 to extract the first value after LN in A1497: for eg 107,006.18-
2) I need a formula in U1497 to extract the month and day that appears after the first value for eg 04/19
3) I need a formula in V1497 to extract the last value in A1497 for eg 1,692,886.38

Your assistance in this regard will be most appreciated

Statements.xls
ABCDEFGHIJKLMNO
1497FNAOS000049566LN:107,006.18-04/191,692,886.38
1498FNAOS000049567LN:662.70-04/191,692,223.68
Table 1
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi Joe

Thanks for the help. Have now learnt how to combine "mid,left & right with search functionality.

I need some further help. I found some data that is slightly diffrent, where I need to extract the same information i.e the first value after the first section of text, then the month/day and then final value.

Statement Sample.xltm
ABCDEFG
1FNAOB000039573EQK10,000.00-04/19329,559.32
2FNAOB000039574EQG91,576.61-04/19237,982.71
3FNAOATRFTOCORPORA8,600.00-04/19229,382.71
4FNAOATRFFROMNPRI118,416.9404/19347,799.65
5FNAOATRFTOCTNI/C500,000.00-04/19152,200.35-
6FNAOATRFFROMCALL600,000.0004/19447,799.65
Sheet1
 
Upvote 0
This seems to work (copy formulas shown down):
Excel Workbook
ABCD
1FNA OB 000039573 EQ K 10,000.00- 04/19 329,559.3210,000.00-04/19329,559.32
2FNA OB 000039574 EQ G 91,576.61- 04/19 237,982.7191,576.61-04/19237,982.71
3FNA OA TRF TO CORPORA 8,600.00- 04/19 229,382.718,600.00-04/19229,382.71
4FNA OA TRF FROM NPR I 118,416.94 04/19 347,799.65118,416.9404/19347,799.65
5FNA OA TRF TO CTN I/C 500,000.00- 04/19 152,200.35-500,000.00-04/19152,200.35-
6FNA OA TRF FROM CALL 600,000.00 04/19 447,799.65600,000.0004/19447,799.65
Sheet7
 
Upvote 0
Hi Joe

Thanks for the help, much appreciated
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

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