如何将两个表合并为一个?

时间:2014-05-19 04:47:04

标签: excel

这就是我想要做的事情:

enter image description here

在以前的工作中,我进行了一些计算并得到了结果(图像的左侧部分),现在我想在其他地方使用它。问题是我想要重用的价值是一个组合。在我的示例中,我必须引用“No.8”的M值和V值。我必须输入=C30=C38来引用它们。

如果有一种方法,引用第一个=C30,引用V相对于M,类似=C(30+8)(因为相关的VM开始是第8位?

1 个答案:

答案 0 :(得分:0)

使用几个命名范围(比如说{0}用于A30:C37和 //Warning: Do not change the given codes import java.util.Scanner; public class NBA { public static void main(String[] args) { //construct Team Heat NBATeam heat= new NBATeam("Heats"); System.out.print("How many players Heats own: "); Scanner input = new Scanner (System.in); int numberOfPlayers = input.nextInt(); // Prompt user to enter players into the Team for (int i = 0; i < numberOfPlayers; i++) { System.out.print("Enter the name of Player #" + (i + 1) + ": "); String playerName = input.next(); heat.addAPlayer(playerName); } //construct Team Spurs //Your code here 用于A38:C45)并假设输出数组标记为如图所示,如图所示,然后在J34中复制并且下来:

arM