Excel 如果单元格旁边的列中有某个值,如何选择该单元格

Excel 如果单元格旁边的列中有某个值,如何选择该单元格,excel,excel-formula,Excel,Excel Formula,我有一份excel工作簿,有3张工作表: 第1页和第2页 表3包括一个表格 我需要一个公式,将拿起数字和转移,并添加到第3页他们 因此,如果H列读取数字1,我需要知道第1年(第I列)的总数,然后将其转移到第3页的单元格中,如果H列读取数字2,则需要知道第1年(第I列)的总数,以此类推 有什么想法吗?这可能适合: =SUMIF(Sheet1!H:H,1,Sheet1!I:I)+SUMIF(Sheet2!H:H,1,Sheet2!I:I) 编辑-其他单元格的和(!): =SUMIF(Sheet1!H

我有一份excel工作簿,有3张工作表:

第1页和第2页

表3包括一个表格

我需要一个公式,将拿起数字和转移,并添加到第3页他们

因此,如果H列读取数字1,我需要知道第1年(第I列)的总数,然后将其转移到第3页的单元格中,如果H列读取数字2,则需要知道第1年(第I列)的总数,以此类推

有什么想法吗?

这可能适合:

=SUMIF(Sheet1!H:H,1,Sheet1!I:I)+SUMIF(Sheet2!H:H,1,Sheet2!I:I)

编辑-其他单元格的和(!):

=SUMIF(Sheet1!H:H,2,Sheet1!I:I)+SUMIF(Sheet2!H:H,2,Sheet2!I:I)

将Sheet1和Sheet2中的总计与ColumnI中的行值相加,其中ColumnH包含对应行中的条件(1表示一个单元格,2表示另一个单元格)

Columns A-G have text entered into them
Column H is a selection of either 1,2, 3 or H from a drop down list
Column I has numeric (currency) value entered into it (called year 1)
Column J has numeric (currency) value entered into it (called year 2)
Column K has numeric (currency) value entered into it (called year 3)
Column L has numeric (currency) value entered into it (called year 4)
Column M has numeric (currency) value entered into it (called year 5)
Column N has numeric (currency) value entered into it (called years 6-10)