【发布时间】:2017-12-25 13:49:35
【问题描述】:
我有一个没有重复模式的覆盖日期列表。例如,我有以下字符串:
Available from 1951 until 1984;
Available from 1964 volume: 2 issue: 1 until 2002 volume: 20 issue: 4;
Available from 1958 volume: 1 issue: 1;
Available from 1970 issue: 24 until 1989 issue: 110; Available from 1990 volume: 1 issue: 1 until 2001 volume: 12 issue: 4;
我正在尝试仅将年份值提取到 Excel 中的不同列中,例如:
Available from 1951 until 1984; -> 1951 | 1984
Available from 1964 volume: 2 issue: 1 until 2002 volume: 20 issue: 4; -> 1964 | 2002
Available from 1970 issue: 24 until 1989 issue: 110; Available from 1990 volume: 1 issue: 1 until 2001 volume: 12 issue: 4; -> 1970 | 1989 | 1990 | 2001
(如果可能,每年应该出现在不同的列中) 有没有办法让我提取岁月?我想写一个 VB 代码,但我真的不精通 VB。
谢谢。
【问题讨论】:
标签: excel text-extraction