Column 1 and Column 2

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,059
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I have this data in excel but tried a lot not sure as how to get output1 and output2, is there a formula or vba to get it.

Cisco-INTMAC.csv
ABCDEF
11NameMac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to OutPut 1OutPut 2
12PE-Agg10-Abq-321-2c4ff.1fad.69c4 dynamic BE110.3815 N/A 24 Nov 14:00:42 N/A c4ff.1fad.69c4BE110
13PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 68 N/A N/A N/A
14PE-Agg10-Abq-321-2001d.b528.67c8 dynamic (192.168.182.19 287200) N/A 24 Nov 14:00:42 N/A
15PE-Agg10-Abq-321-27079.b396.178d dynamic Gi102/0/0/14.634 N/A 24 Nov 14:01:42 N/A
16PE-Agg10-Abq-321-2001d.b529.3fc2 dynamic (192.168.182.18 22224600) N/A 24 Nov 14:01:12 N/A
17PE-Agg10-Abq-321-2c84f.8603.e369 dynamic Gi102/0/0/14.3341 N/A 24 Nov 14:01:12 N/A
18PE-Agg10-Abq-321-23458.4008.d0ae dynamic (192.168.115.194 N/A 24 Nov 14:00:12 N/A 46070100)
19PE-Agg10-Abq-321-2b414.897a.e642 dynamic BE40.17 N/A 24 Nov 14:01:42 N/A b414.897a.e642BE40
20PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 230 N/A N/A N/A
21PE-Agg10-Abq-321-20019.8f2e.ed11 dynamic BE10.39 N/A 24 Nov 14:01:42 N/A 0019.8f2e.ed11BE10
22PE-Agg10-Abq-321-254a6.1935.af6f dynamic BE10.39 N/A 24 Nov 14:00:12 N/A 54a6.1935.af6fBE10
23PE-Agg10-Abq-321-20007.724f.7fbb dynamic BE70.39 N/A 24 Nov 14:02:12 N/A 0007.724f.7fbbBE70
24PE-Agg10-Abq-321-20019.8fa4.81f7 dynamic BE70.39 N/A 24 Nov 14:02:12 N/A 0019.8fa4.81f7BE70
25PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 231 N/A N/A N/A
26PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 232 N/A N/A N/A
27PE-Agg10-Abq-321-20001.47cf.82aa dynamic Gi100/0/0/7.92 N/A 24 Nov 14:02:12 N/A
28PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 233 N/A N/A N/A
29PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 234 N/A N/A N/A
30PE-Agg10-Abq-321-2b414.897a.e647 dynamic BE40.250 N/A 24 Nov 14:02:12 N/A b414.897a.e647BE40
31PE-Agg10-Abq-321-24cb1.6cf9.1920 dynamic Gi102/0/0/3.250 N/A 24 Nov 14:01:12 N/A
32PE-Agg10-Abq-321-2286e.d475.7e90 dynamic Gi102/0/0/5.250 N/A 24 Nov 14:01:42 N/A
33PE-Agg10-Abq-321-26c41.0e50.682a routed BD id: 235 N/A N/A N/A
34PE-Agg10-Abq-321-24482.e58d.0bb0 dynamic BE80.3029 N/A 24 Nov 14:01:42 N/A 4482.e58d.0bb0BE80
35PE-Agg10-Abq-321-25c4c.a915.8da7 dynamic BE80.3029 N/A 24 Nov 14:00:42 N/A 5c4c.a915.8da7BE80
36PE-Agg10-Abq-321-25c4c.a916.eaa3 dynamic BE80.3029 N/A 24 Nov 14:00:12 N/A 5c4c.a916.eaa3BE80
Cisco-INTMAC
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Can you describe the rules needed to get the outputs?
 
Upvote 0
Can you describe the rules needed to get the outputs?
from column B need to check BE00 is avaliable if yes then from that row need to get the output 1 and output 2.
so in eg row no 12 it has BE110.38 so in Output 2 it will be BE110 and in Output 1 it iwll be c4ff.1fad.69c4
 
Upvote 0
Formula in E2:
=IF(ISERROR(FIND(" BE",B2)),"",TEXTBEFORE(B2," "))
Formula in F2:
=IF(E2="","",CHOOSECOLS(TEXTSPLIT(B2," "),3))

Copy down.
 
Upvote 0
Solution
this is perfcet by any change the result for

Formula in F2:
=IF(E2="","",CHOOSECOLS(TEXTSPLIT(B2," "),3)) is comming as BE110.3815 can it be BE110
 
Upvote 0
=IF(E2="","",TEXTBEFORE(CHOOSECOLS(TEXTSPLIT(B2," "),3),"."))
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

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