简体   繁体   English

我的公式有时会留空

[英]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.

相关问题 当公式处理数字时如何将空白字段返回到单元格 - How to return a blank field to a cell when a formula is working a number 将叶数据显示为月视图的公式 - Formula which show the Leaves data into months view 如何向下拖动公式并将某些行留空,但按顺序计算数字? - How can I drag down a formula and leave some rows blank, but count sequentially the numbers? 我的IF函数的“否则”参数适用于空白单元格,但应忽略它们。 我可以添加什么来阻止它? - “Otherwise” argument of my IF-function applies to blank cells, but should ignore them. What can I add to my formula to stop it? 有没有办法跳过空、空白或值? 使用 urlfetchapp 和/或在我的数据范围中时的单元格? 或其他解决我的问题的方法? - Is there a way to skip empty, blank or Value! cells when using urlfetchapp and or in my datarange?? or some other solution to my problem? 如果单元格包含公式; 然后,将公式复制到目标工作表,否则为值或空白,原样 - If Cell Contains formula; then, Copy Formula to Destination Sheet else value or blank , As it is 需要将公式应用于某些空白单元格 - Need to apply formula to certain blank cells 如果单元格为空,则将单元格值恢复为特定公式 - reverting cell value to a specific formula if cell is blank 如果单元格是空白的瓶坯配方,则使用值 - If cell is blank preform formula else use value 公式在工具提示中显示结果时返回空白 - Formula returns blank while showing result in tooltip
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM