【问题标题】:Calculating Football Scores计算足球比分
【发布时间】:2018-06-04 05:26:08
【问题描述】:

尝试在 Google 表格中锻炼梦幻足球游戏。

所以格式是:

Brighton & Hove Albion  0   2   Manchester City
Manchester City 1   1   Everton
Bournemouth 1   2   Manchester City
Manchester City 5   0   Liverpool
Watford 0   6   Manchester City

每个字段都在一个单独的列中。

计分系统为,每进一球得 2 分,获胜得 3 分,平局得 1 分。你能帮忙用谷歌表格公式计算出曼城得分的分数吗?

提前谢谢你。

【问题讨论】:

  • 是的,所以我只能找到一种手动执行此操作的方法。所以第一局,总分7 = 2 x 2(进球数),赢3分第二局,进球2分,平局1分,所以总分3第三局,总分7 = 2 x 2(进球数),获胜得 3 分
  • 我目前在 Google Doc 中有手动评分 docs.google.com/spreadsheets/d/…
  • 我的错,应该是 1,因为它是平局
  • 又是我的错,对不起,每个进球应该是 6、2,因为他们输了,所以没有额外的东西

标签: google-sheets


【解决方案1】:

请尝试:

=if(and(A2="Manchester City",B2>C2),3+2*B2,if(and(A2<>"Manchester City",C2>B2),3+2*C2,if(B2=C2,1+2*B2,if(and(A2="Manchester City",B2<C2),2*B2,if(and(A2<>"Manchester City",C2<B2),2*C2)))))

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-10-25
    • 2016-03-26
    • 2023-01-22
    • 1970-01-01
    • 1970-01-01
    • 2019-07-10
    • 2020-03-08
    • 1970-01-01
    相关资源
    最近更新 更多