Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Database “打开标签-关闭标签”;{}";-你怎样才能进行格式化_Database_Excel_Pivot - Fatal编程技术网

Database “打开标签-关闭标签”;{}";-你怎样才能进行格式化

Database “打开标签-关闭标签”;{}";-你怎样才能进行格式化,database,excel,pivot,Database,Excel,Pivot,你好,在excel上,我有大数据。数据只有一列,我想用标记“{”和“}”分开。在列上,图像如下所示: {[math1];1;1;5.6617};{[math2];1;1;34.3131};{[math3];1;1;4.5293} 如果我将文本格式化为: { {[math1];1;1;5.6617}; //Math1 {[math2];1;1;34.3131}; //Math2 {[math3];1;1;4.5293} //Math3 } 我要拆分//Math1、//Ma

你好,在excel上,我有大数据。数据只有一列,我想用标记“{”和“}”分开。在列上,图像如下所示:
{[math1];1;1;5.6617};{[math2];1;1;34.3131};{[math3];1;1;4.5293}

如果我将文本格式化为:

{
    {[math1];1;1;5.6617}; //Math1
    {[math2];1;1;34.3131}; //Math2
    {[math3];1;1;4.5293} //Math3
}
我要拆分//Math1、//Math2&//Math3


数据来自SQL server,这可能会有所帮助。我可以使用excel上的任何额外工具来创建数据模型吗

下面的内容应该会有所帮助,尽管不确定这是解决问题的最佳方法

对于第一部分,即Math1,使用以下公式

=MID(A1,2,SEARCH("};",A1,1)-1)
=MID(A1,SEARCH("};",A1,1)+2,SEARCH("};",A1,SEARCH("};",A1,1)+1)-SEARCH("};",A1,1)-1)
对于第二部分,即Math2,使用以下公式

=MID(A1,2,SEARCH("};",A1,1)-1)
=MID(A1,SEARCH("};",A1,1)+2,SEARCH("};",A1,SEARCH("};",A1,1)+1)-SEARCH("};",A1,1)-1)
对于第三部分,即Math3,使用

=MID(A1,SEARCH("};",A1,SEARCH("};",A1,1)+1)+2,LEN(A1)-SEARCH("};",A1,SEARCH("};",A1,1)+1)-2)
请参见图片以供参考


选择您的专栏。转到
数据
选项卡<代码>文本到列
->
分隔(下一个)
->检查
其他
->在文本字段中填写
/
完成
我很抱歉,我需要拆分{[math1];1;1;5.6617}-第1列{[math2];1;1;34.3131};-第2栏{[math3];1;1;4.5293}-colimn 3我想集中讨论“{”为什么有动机。。