F
finchamcr
I have a spreadsheet(WB1) which extracts information from another
database. The spreadsheet has columns A(alpha/numeric data formatted
as General), B(alpha/numeric data formatted as General), and C(numeric
data formatted as Numeric). In another spreadsheet(WB2), I need to sum
column C in WB1 when specified criteria is met from WB2. The array
formula I have typed in WB2T2 is
={SUMPRODUCT((WB1$A$1:$A$500=WB1A1)*(WB1$B$2:$B500=WB2G1)*(WB1$C$1:$C$500))}.
For some reason the formula is always returning 0; however, if I copy a
cell from WB1A1 and paste it in WB2A1, the formula returns the correct
value. I thought it might me a formatting problem but I have verified
that all the columns in both spreadsheets have the same formatting.
Could it be because the data in the database that I am extracting the
information from has assigned formatting and excel does not transfer it
over?? I could copy and paste all the items to make the formula work
but it is a large spreadsheet with over 10,000 rows. Does anyone have
any idea of how to help?
database. The spreadsheet has columns A(alpha/numeric data formatted
as General), B(alpha/numeric data formatted as General), and C(numeric
data formatted as Numeric). In another spreadsheet(WB2), I need to sum
column C in WB1 when specified criteria is met from WB2. The array
formula I have typed in WB2T2 is
={SUMPRODUCT((WB1$A$1:$A$500=WB1A1)*(WB1$B$2:$B500=WB2G1)*(WB1$C$1:$C$500))}.
For some reason the formula is always returning 0; however, if I copy a
cell from WB1A1 and paste it in WB2A1, the formula returns the correct
value. I thought it might me a formatting problem but I have verified
that all the columns in both spreadsheets have the same formatting.
Could it be because the data in the database that I am extracting the
information from has assigned formatting and excel does not transfer it
over?? I could copy and paste all the items to make the formula work
but it is a large spreadsheet with over 10,000 rows. Does anyone have
any idea of how to help?