[英]Grouping data in google sheets?
我想知道如何将谷歌表格中的信息分组,以便我可以与 3 名团队成员组成小组。 我希望能够复制注册人详细信息的信息(如果团队成员人数少于 3 人),然后将其粘贴到上面的列中,这样它就可以组成一个 3 人团队。排序后的列表应该看起来像这样。
未排序的数组样本
排序数组样本
我试过使用一些谷歌表格函数,比如 VLOOKUP,你会推荐什么 java/python API 来解决这个问题。
"entry": [{
"id": {
"$t": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cokwr"
},
"updated": {
"$t": "2020-07-28T09:58:17.850Z"
},
"category": [{
"scheme": "http://schemas.google.com/spreadsheets/2006",
"term": "http://schemas.google.com/spreadsheets/2006#list"
}],
"title": {
"type": "text",
"$t": "Dan"
},
"content": {
"type": "text",
"$t": "registrantlastname: M, registrantsemailadress: dan@gmail.com, secondmemebersfullname: MatL, secondmembersemail: mal@gmail.com, thirdmembersfullname: Oscar, thirdmembersemailaddress: radio@hotmail.com, teammembers: 3"
},
"link": [{
"rel": "self",
"type": "application/atom+xml",
"href": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cokwr"
}],
"gsx$registrantfirstname": {
"$t": "Dan"
},
"gsx$registrantlastname": {
"$t": "M"
},
"gsx$registrantsemailadress": {
"$t": "dan@gmail.com"
},
"gsx$secondmemebersfullname": {
"$t": "MatL"
},
"gsx$secondmembersemail": {
"$t": "mal@gmail.com"
},
"gsx$thirdmembersfullname": {
"$t": "Oscar"
},
"gsx$thirdmembersemailaddress": {
"$t": "radio@hotmail.com"
},
"gsx$teammembers": {
"$t": "3"
}
}, {
"id": {
"$t": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cpzh4"
},
"updated": {
"$t": "2020-07-28T09:58:17.850Z"
},
"category": [{
"scheme": "http://schemas.google.com/spreadsheets/2006",
"term": "http://schemas.google.com/spreadsheets/2006#list"
}],
"title": {
"type": "text",
"$t": "Mariana"
},
"content": {
"type": "text",
"$t": "registrantlastname: Fake, registrantsemailadress: mari.fake@itesm.ru, secondmemebersfullname: Johnathan, secondmembersemail: jan@gmail.com, teammembers: 2"
},
"link": [{
"rel": "self",
"type": "application/atom+xml",
"href": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cpzh4"
}],
"gsx$registrantfirstname": {
"$t": "Mariana"
},
"gsx$registrantlastname": {
"$t": "Fake"
},
"gsx$registrantsemailadress": {
"$t": "mari.fake@itesm.ru"
},
"gsx$secondmemebersfullname": {
"$t": "Johnathan"
},
"gsx$secondmembersemail": {
"$t": "jan@gmail.com"
},
"gsx$thirdmembersfullname": {
"$t": ""
},
"gsx$thirdmembersemailaddress": {
"$t": ""
},
"gsx$teammembers": {
"$t": "2"
}
}, {
"id": {
"$t": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cre1l"
},
"updated": {
"$t": "2020-07-28T09:58:17.850Z"
},
"category": [{
"scheme": "http://schemas.google.com/spreadsheets/2006",
"term": "http://schemas.google.com/spreadsheets/2006#list"
}],
"title": {
"type": "text",
"$t": "Lorem"
},
"content": {
"type": "text",
"$t": "registrantlastname: Ipsum, registrantsemailadress: lorem@gmail.com, teammembers: 1"
},
"link": [{
"rel": "self",
"type": "application/atom+xml",
"href": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/cre1l"
}],
"gsx$registrantfirstname": {
"$t": "Lorem"
},
"gsx$registrantlastname": {
"$t": "Ipsum"
},
"gsx$registrantsemailadress": {
"$t": "lorem@gmail.com"
},
"gsx$secondmemebersfullname": {
"$t": ""
},
"gsx$secondmembersemail": {
"$t": ""
},
"gsx$thirdmembersfullname": {
"$t": ""
},
"gsx$thirdmembersemailaddress": {
"$t": ""
},
"gsx$teammembers": {
"$t": "1"
}
}, {
"id": {
"$t": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/chk2m"
},
"updated": {
"$t": "2020-07-28T09:58:17.850Z"
},
"category": [{
"scheme": "http://schemas.google.com/spreadsheets/2006",
"term": "http://schemas.google.com/spreadsheets/2006#list"
}],
"title": {
"type": "text",
"$t": "Ki"
},
"content": {
"type": "text",
"$t": "registrantlastname: C, registrantsemailadress: abc@live.com, teammembers: 1"
},
"link": [{
"rel": "self",
"type": "application/atom+xml",
"href": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/chk2m"
}],
"gsx$registrantfirstname": {
"$t": "Ki"
},
"gsx$registrantlastname": {
"$t": "C"
},
"gsx$registrantsemailadress": {
"$t": "abc@live.com"
},
"gsx$secondmemebersfullname": {
"$t": ""
},
"gsx$secondmembersemail": {
"$t": ""
},
"gsx$thirdmembersfullname": {
"$t": ""
},
"gsx$thirdmembersemailaddress": {
"$t": ""
},
"gsx$teammembers": {
"$t": "1"
}
}, {
"id": {
"$t": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/ciyn3"
},
"updated": {
"$t": "2020-07-28T09:58:17.850Z"
},
"category": [{
"scheme": "http://schemas.google.com/spreadsheets/2006",
"term": "http://schemas.google.com/spreadsheets/2006#list"
}],
"title": {
"type": "text",
"$t": "jane"
},
"content": {
"type": "text",
"$t": "registrantlastname: Ong, registrantsemailadress: j.ong@live.com, secondmemebersfullname: john Ong, secondmembersemail: j.ong@live.com, teammembers: 2"
},
"link": [{
"rel": "self",
"type": "application/atom+xml",
"href": "https://spreadsheets.google.com/feeds/list/1sjPsuoIZOJWRLLcJlvZbvKuHnGn6KfaqLLa3rpSXmR0/od6/public/values/ciyn3"
}],
"gsx$registrantfirstname": {
"$t": "jane"
},
"gsx$registrantlastname": {
"$t": "Ong"
},
"gsx$registrantsemailadress": {
"$t": "j.ong@live.com"
},
"gsx$secondmemebersfullname": {
"$t": "john Ong"
},
"gsx$secondmembersemail": {
"$t": "j.ong@live.com"
},
"gsx$thirdmembersfullname": {
"$t": ""
},
"gsx$thirdmembersemailaddress": {
"$t": ""
},
"gsx$teammembers": {
"$t": "2"
}
}]
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.