[英]My formula that leaves field blank some of the time
I have a character sheet that puts in player skills based on their level and class. Class and Level are cells J8 and J9 respectively.我有一个角色表,根据他们的等级和 class 放入玩家技能。Class 和等级分别是单元格 J8 和 J9。 I have a table on another sheet with all of the numbers.
我在另一张纸上有一张桌子,里面有所有的数字。 There are 3 different skills, so 3 formulas in cells G32, G33 and G44 on the sheet Ranger.
有 3 种不同的技能,因此 Ranger 工作表上的单元格 G32、G33 和 G44 中有 3 个公式。 G32 and G44 both work, but G33 only works for some levels.
G32 和 G44 都有效,但 G33 仅适用于某些级别。 When levels 9,11,12,14,15,17 or 19 are selected it leaves the field blank even though all of the numbers are in the table on sheet BF Stats in D144:G163.
When levels 9,11,12,14,15,17 or 19 are selected it leaves the field blank even though all of the numbers are in the table on sheet BF Stats in D144:G163.
Any help would be appreciated.任何帮助,将不胜感激。 Below is a link to the sheets.
下面是工作表的链接。
https://docs.google.com/spreadsheets/d/1ZHKLDQFzORhvzERry2Z4Yv5WbMD6aHG8GkrV_n5AoqI/edit?usp=sharing https://docs.google.com/spreadsheets/d/1ZHKLDQFzORhvzERry2Z4Yv5WbMD6aHG8GkrV_n5AoqI/edit?usp=sharing
formatting is the issue:格式是问题:
change the dropdown range for J9 to:将 J9 的下拉范围更改为:
set formatting to number for whole range D144:G163
将整个范围
D144:G163
的格式设置为数字
then change your query to:然后将您的查询更改为:
=IF(J8="Ranger", QUERY('BF Stats'!$D$139:$G$163,"select E where D = "&J9,),)
=IF(J8="Ranger", QUERY('BF Stats'!$D$139:$G$163,"select F where D = "&J9,),)
=IF(J8="Ranger", QUERY('BF Stats'!$D$139:$G$163,"select G where D = "&J9,),)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.