我如何在消息中平均每个单词的成功指标,以超过一百条消息
我希望使用Google表来确定大约100个10-25个单词消息中每个单词的盈利能力。
现在,我从以下方面开始的事情:
消息 | 成功 | 单词 |
---|---|---|
猫总 | 150% | 3 |
我爱狗 | 250% | 3 |
我爱狗,猫是毛, | 450% | 6 |
来查询我使用的单词我正在使用公式:
= arrayformula(QUERY(FLATTEN(split(trim(reggexreplace)(seluse1:message1:message),“ [!??,,。:; - ]”,“”,“”),“),”),“选择col1 ,COL1“ COL1”组COL1“,0))
这让我进入这里:
Word | Count |
---|---|
Cats | 2 |
是 | 2 |
Gross | 2 |
I | I 2 |
2 Love | 2 |
Dogg | 2 |
和 | 1 |
,我正在使用此公式分配成功每个单词使用单词计数作为将单词分解和复制下来的基础:
= ifError(if(if(countif(value $ 1:value2,value2)< = vlookup(value2,value2,$ word_count $ word_count $ 100) ,6,false),value2,if(offset($成功$ 2,match,value2,$成功$ 2:$成功$ 100,0),0),0)=“”,“”,offset($成功$ 2 $成功$ 2:$成功$ 100,0),0))),“”)
这让我在这里:
word | value |
---|---|
cats | 150% |
是 | 150% |
毛 | 150% |
i | 250% |
爱 | 250%爱250% |
狗 | 250%i 450 |
i | 450 % |
爱 | 450% |
狗 | 450% |
和 | 450% |
猫 | 450% |
是 | 450% |
总 | 450%, |
我可以用什么公式将这些数据集结合到这里:
Word | Count | Success AVG |
---|---|---|
Cats | 2 | 300% |
是 | 2 | 300% |
GROSS | 2 | 300 % |
i | 2 | 350% |
爱 | 2 | 350% |
狗 | 2 | 350% |
和 | 1 | 450% |
I'm hoping to use google sheets to determine the profitability of each word in around 100 10-25 word messages.
Right now I'm starting with something along the lines of this:
Message | Success | Word Count |
---|---|---|
Cats are gross | 150% | 3 |
I love Dogs | 250% | 3 |
I love Dogs and Cats are gross | 450% | 6 |
To query the word usage I'm using the formula:
=ArrayFormula(query(Flatten(split(trim(REGEXREPLACE(LOWER(Message1:Message), "[!?,.:;-]"," "))," ")), "SELECT Col1, COUNT(Col1) Group By Col1",0))
This gets me to here:
Word | Count |
---|---|
cats | 2 |
are | 2 |
gross | 2 |
i | 2 |
love | 2 |
dogs | 2 |
and | 1 |
And I'm using this formula to assign the Success% to each word using the word count as its basis for splitting the words and copying down:
=IFERROR(IF(COUNTIF(Value$1:Value2,Value2)<=VLOOKUP(Value2,$Success$2:$Word_Count$100,6,FALSE),Value2,IF(OFFSET($Success$2,MATCH(Value2,$Success$2:$Success$100,0),0)="","",OFFSET($Success$2,MATCH(Value2,$Success$2:$Success$100,0),0))),"")
This gets me here:
Word | Value |
---|---|
cats | 150% |
are | 150% |
gross | 150% |
I | 250% |
love | 250% |
dogs | 250% |
I | 450% |
love | 450% |
dogs | 450% |
and | 450% |
cats | 450% |
are | 450% |
gross | 450% |
What formula could I use to combine these data sets to get me to here:
Word | Count | Success AVG |
---|---|---|
cats | 2 | 300% |
are | 2 | 300% |
gross | 2 | 300% |
I | 2 | 350% |
love | 2 | 350% |
dogs | 2 | 350% |
and | 1 | 450% |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用:
use: