Using COUNTIFS formulas when linking worksheets

前提是你 提交于 2019-12-23 01:54:20

问题


I want to be as detailed as possible. So Let me provide you with the look of my spreadsheet

          Column H       Column Q
Row 11      YES            Win
Row 12       NO            Win
Row 13      YES            Loss
...
...
Row 61      YES            Win

The calculation that I used to give me a count of "Winners" is =COUNTIFS(H11:H61,"YES",Q11:Q61,"Win") and the one for "Losses" is =COUNTIFS(H11:H61,"YES",Q11:Q61,"Loss") - seems to be working well. However, this calculation is on sheet Input. I would like to have this calculation done on a totally different sheet entitled Results. However, my calculation doesn't seem to be working properly. Here is an example of the calculation I placed on my Results sheet. =COUNTIFS(Input!H11:H61,"YES",Q11:Q61,"Win"). Any suggestions as to why this might not be working, or maybe a better solution for this problem?


回答1:


You need to include the sheet name in all the ranges, i.e.

=COUNTIFS(Input!H11:H61,"YES",Input!Q11:Q61,"Win")



来源:https://stackoverflow.com/questions/27742762/using-countifs-formulas-when-linking-worksheets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!