M
MMcCullar
I have a data sheet where the columns each contain a type of data, i.e
hours worked, number of employees, etc. The first cell of each ro
contains that day's date. I have a spreadsheet where I want to pul
month-to-date totals, but I keep getting bad totals. Cell A2 in th
spreadsheet contains the current date. I've been trying to use SUMI
with no success. I tried the following:
{=SUM(IF((MONTH(A2)=MONTH(DATA!A2:A500)),DATA!B2:B500,0))}
I couldn't use SUMPRODUCT because there are empty cells in the range.
Any ideas on how to make this formula work?
Thanks
hours worked, number of employees, etc. The first cell of each ro
contains that day's date. I have a spreadsheet where I want to pul
month-to-date totals, but I keep getting bad totals. Cell A2 in th
spreadsheet contains the current date. I've been trying to use SUMI
with no success. I tried the following:
{=SUM(IF((MONTH(A2)=MONTH(DATA!A2:A500)),DATA!B2:B500,0))}
I couldn't use SUMPRODUCT because there are empty cells in the range.
Any ideas on how to make this formula work?
Thanks