I have an Excel file with 58 tabs representing different markets. Each tab has the same set of columns, where the A column is the date (from 7/25/2015 to 11/9/2015), and the L column has a function that makes the value in each cell in that column either 0, 1, or 2.
Example:
AREN worksheet:
A B C D E F G H I J K L 7/25/2015 1 7/26/2015 2 7/27/2015 1
ARES worksheet:
A B C D E F G H I J K L 7/25/2015 1 7/26/2015 1 7/27/2015 1
ATDE worksheet:
A B C D E F G H I J K L 7/25/2015 1 7/26/2015 1 7/27/2015 0
I have a "TOTALS" tab that lists the same dates, 7/25/2015 - 11/9/2015 in the A column, and in the B column I'm attempting (unsuccessfully so far) to add up how many "1's" are in the L column cells on each tab for that date. For example, in the table above, there are 3 worksheets showing the first three dates of each worksheet and the L column values for those dates. The correct function would produce this on the TOTALS worksheet, where *if* the value of the L cell is 1, then it's added to the sum:
A B 7/27/2015 3 7/27/2015 2 7/27/2015 2
On 7/27, three of the L2 cells in the three worksheets had a value of 1, therefore the value of TOTALS B2 cell is 3.
On 7/28, two of the L2 cells in the three worksheets had a value of 1, therefore the value of TOTALS B2 cell is 2.
On 7/29, two of the L2 cells in the three worksheets had a value of 1, therefore the value of TOTALS B2 cell is 2.
I'd like to say I have something close, but after trying variants of IF's SUMIF's and INDIRECT's, I'm not really even close.
Bookmarks