Extract data from table based on symbol and return the value from column.

nredman

New Member
Joined
Jan 30, 2016
Messages
6
Hi Experts,

We are trying to extract data based on the "symbol" for example find all "CNU" and return the "C" value. i.e. for CNU 3.44 into separate columns (figure 2) for all the symbols.

Is this possible?

Thank you

Figure 1

SymbolNDTOHLCVOI
CNU 29-Jan-1603.413.453.43.441124740
MTU 29-Jan-16012.4512.812.4112.5838794200
SPK 29-Jan-1603.083.12.993.123735680
TPM 29-Jan-1609.910.139.89510.0513099320
TLS 29-Jan-1605.575.635.575.63272310400
VOC 29-Jan-1607.887.757.8654978480
SPK 28-Jan-16033.082.993.0611412320
CNU 28-Jan-1603.423.4253.363.411488180
MTU 28-Jan-16011.7712.211.6912.114377470
TPM 28-Jan-1609.779.959.79.8812263550
TLS 28-Jan-1605.515.625.495.59281266600
VOC 28-Jan-1607.37.587.257.527312190
CNU 27-Jan-1603.433.553.423.441718710
SPK 27-Jan-1603.053.0833.018192060
MTU 27-Jan-16011.5511.811.4711.7813949940
TLS 27-Jan-1605.535.545.55.53197204400
VOC 27-Jan-1607.27.387.197.3314214360
TPM 27-Jan-1609.9910.0259.759.7814629420
MTU 25-Jan-16011.4311.6111.4311.598589480
CNU 25-Jan-1603.433.433.393.39855120

<colgroup><col span="10"></colgroup><tbody>
</tbody>


Figure 2
cnumtu
3.4412.58
3.4112.1
3.4411.78

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
3.39
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Welcome to the MrExcel board!

Try this formula. It is an array formula so should be entered without the {} but confirmed with Ctrl+Shift+Enter, not just Enter. If confirmed correctly, Excel will insert the {}. The formula can then be copied across & down.

Excel Workbook
AHKLMNOPQR
1SymbolCCNUMTUSPKTPMTLSVOC
2CNU3.443.4412.583.110.055.637.86
3MTU12.583.4112.13.069.885.597.5
4SPK3.13.4411.783.019.785.537.33
5TPM10.053.3911.59
6TLS5.63
7VOC7.86
8SPK3.06
9CNU3.41
10MTU12.1
11TPM9.88
12TLS5.59
13VOC7.5
14CNU3.44
15SPK3.01
16MTU11.78
17TLS5.53
18VOC7.33
19TPM9.78
20MTU11.59
21CNU3.39
List Values
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,528
Messages
6,125,342
Members
449,218
Latest member
Excel Master

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