How to make SMART left/right/mid function?

ddl8

New Member
Joined
Jun 1, 2011
Messages
16
Hi guys,

I have a huge excel table in the following format

Time,Ask,Bid,AskVolume,BidVolume
04.06.2012 01:45:58.680,1.23932,1.2392,1.99,3
04.06.2012 07:26:15.893,1.24122,1.24113,3.99,3
04.06.2012 07:34:44.444,1.24183,1.24172,3.99,3
04.06.2012 07:47:24.503,1.24188,1.24177,5.99,3
04.06.2012 09:10:48.011,1.24169,1.24158,4.99,3
04.06.2012 09:37:59.892,1.2424,1.2423,2.99,3
04.06.2012 09:39:06.785,1.24262,1.24252,2.99,3
04.06.2012 13:04:38.143,1.24491,1.2448,1.99,3
04.06.2012 15:58:33.399,1.2496,1.24949,7.99,3
04.06.2012 09:14:52.710,1.24156,1.24144,3.98,6
04.06.2012 10:40:12.006,1.24365,1.24356,2.98,3
04.06.2012 10:40:56.069,1.24376,1.24367,5.98,3
04.06.2012 11:09:07.502,1.24354,1.24344,2.98,3
04.06.2012 13:19:48.506,1.24731,1.24723,1.98,3
04.06.2012 14:14:31.293,1.24975,1.24965,3.98,3

I need to get data for bid and ask volumes, that would be last two figures separated by comma, I cannot use right function because I would have to enter it for every single raw, Is there a way to make a left/mid function identify the first comma from the right and take the value right after it up untill next comma (in case with ask volume)?

Any help would be appreciated

Cheers,

ddl8
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi guys,

I have a huge excel table in the following format

Time,Ask,Bid,AskVolume,BidVolume
04.06.2012 01:45:58.680,1.23932,1.2392,1.99,3
04.06.2012 07:26:15.893,1.24122,1.24113,3.99,3
04.06.2012 07:34:44.444,1.24183,1.24172,3.99,3
04.06.2012 07:47:24.503,1.24188,1.24177,5.99,3
04.06.2012 09:10:48.011,1.24169,1.24158,4.99,3
04.06.2012 09:37:59.892,1.2424,1.2423,2.99,3
04.06.2012 09:39:06.785,1.24262,1.24252,2.99,3
04.06.2012 13:04:38.143,1.24491,1.2448,1.99,3
04.06.2012 15:58:33.399,1.2496,1.24949,7.99,3
04.06.2012 09:14:52.710,1.24156,1.24144,3.98,6
04.06.2012 10:40:12.006,1.24365,1.24356,2.98,3
04.06.2012 10:40:56.069,1.24376,1.24367,5.98,3
04.06.2012 11:09:07.502,1.24354,1.24344,2.98,3
04.06.2012 13:19:48.506,1.24731,1.24723,1.98,3
04.06.2012 14:14:31.293,1.24975,1.24965,3.98,3

I need to get data for bid and ask volumes, that would be last two figures separated by comma, I cannot use right function because I would have to enter it for every single raw, Is there a way to make a left/mid function identify the first comma from the right and take the value right after it up untill next comma (in case with ask volume)?

Any help would be appreciated

Cheers,

ddl8

Any chance you could use text to columns separating by comma (and space)?
 
Upvote 0
Or if you want to use a formula:

Excel Workbook
ABC
104.06.2012 01:45:58.680,1.23932,1.2392,1.99,31.23921.99
Sheet2
 
Upvote 0
I would use that formula too since you have one now. The problem with text-to-columns is that it takes the same time everytime you want to do it.
 
Upvote 0

Forum statistics

Threads
1,203,629
Messages
6,056,417
Members
444,862
Latest member
more_resource23

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