简体   繁体   English

Excel:在另一张表中的引用单元格上使用公式

[英]Excel: Using formula on Referenced cell from another sheet

What I am trying to do is to reference proper cell reference from another worksheet in the same WB.我要做的是从同一个 WB 中的另一个工作表中引用正确的单元格引用。

That is not a big deal using '='3) MA_Calculation'!C2 as a simplest.使用'='3) MA_Calculation'!C2作为最简单的方法没什么大不了的。 Problem which I have is the output of some cells where I have values only in one row, where other row is empty, which is fine, but as you can see in A and B columns data with positions, that is exactly where I need help.我遇到的问题是 output 的某些单元格,其中我仅在一行中具有值,而另一行为空,这很好,但是正如您在 A 和 B 列数据中看到的那样,这正是我需要帮助的地方. In a case I have upper position only it will show me in upper part or row 2, BUT I need to have it on a down position or row 3,leaving upper position empty in that case.在我有上部 position 的情况下,它只会在上部或第 2 行显示我,但我需要将它放在向下 position 或第 3 行,在这种情况下将上部 Z4757FE07FD492A8BE0EA6A760D683DE6 留空。 And in both matches should be as in this example.并且在两个比赛中都应该像这个例子一样。

To better understand this issue I will just give you an example where or what it should be, consider you got some kind of reactor and you wanna put some "mixture" inside but the order of them is defined, X mixture goes first (bottom) then Y goes second (upper) and so on.为了更好地理解这个问题,我只是给你一个例子,它应该是什么,假设你有某种反应器,你想在里面放一些“混合物”,但它们的顺序是定义的,X 混合物首先出现(底部)然后 Y 排在第二位(上),依此类推。 And sometimes you got only one mixture which has to be on bottom only.有时你只得到一种混合物,它必须只在底部。

Because I have different instances I need to have formula which will recognize that and put it always on down (bottom) position when it is alone.因为我有不同的实例,所以我需要有一个公式来识别这一点,并在它独自一人时将其始终放在下方(底部)position。

擅长

Change ='3) MA_Calculation'!C3 to =IF('3) MA_Calculation',C3="",'3) MA_Calculation'!C2,'3) MA_Calculation'!C3)='3) MA_Calculation'!C3更改为=IF('3) MA_Calculation',C3="",'3) MA_Calculation'!C2,'3) MA_Calculation'!C3)

Then ='3) MA_Calculation'!C2 to =IF(OR('3) MA_Calculation',C3 = "",'3) MA_Calculation',C2 = ""),"",'3) MA_Calculation'!C2)然后='3) MA_Calculation'!C2=IF(OR('3) MA_Calculation',C3 = "",'3) MA_Calculation',C2 = ""),"",'3) MA_Calculation'!C2)

and drag rightwards.. That should do.并向右拖动..应该这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM