Jan 10 2023 02:24 PM
Hi, I'm struggling with what I thought would be a simple Sumifs function.
Named sheet "income 2022" has the date in column A and the income in column G. All this data is in a table called "table22".
In a separate sheet, "monthly income" column A is Jan through to Dec and I want column B to return the total income for each month from sheet above.
Seems to be struggling with whether I should be using EDate as suggested elsewhere or whether it should be another function.
Thank you for any help.
Jan 10 2023 02:32 PM
I'd use dates in column A on the Monthly Income sheet:
01-Jan-2022
01-Feb-2022
etc.
Format the dates as mmm or mmmm so that only the month name is displayed.
In B2:
=SUMIFS(Table22[Income], Table22[Date], ">="&A2, Table22[Date], "<"&EDATE(A2,1))
where Income and Date are the names of the relevant columns in Table22.
Jan 10 2023 03:10 PM
Jan 10 2023 03:19 PM
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
Jan 11 2023 04:11 AM
Jan 11 2023 04:34 AM
SolutionI wrote in a previous reply:
I'd use dates in column A on the Monthly Income sheet:
01-Jan-2022
01-Feb-2022
etc.
Format the dates as mmm or mmmm so that only the month name is displayed.
You didn't do that. See the attached version.
Jan 11 2023 07:51 AM