So I'm trying to do three things that are related to each other that I'm struggling to figure out:
I'd like to filter an entire column (B) based on a the month (let's say April), while maintaining the format of month/day/year. Is this possible?
Once I accomplish the above, I would like to be able to display subtotals based off of this filtering in my yellow (J26) and green (K26) cells. So if the filtering is done right, the J26, and K26 boxes should display subtotals for the month of April.
Then (I know I'm being a bit ambitious) I also want a complete separate sheet to reference subtotals for the month of April to help me estimate cash flow. Not sure if this is possible or not.
You don't want to filter the whole column if you need subtotals somewhere below the data. If you filtered the whole column, the subtotal row would be filtered out. So, to filter the data for April:
Select your data table
Data > Filter
Small arrow by the header of the needed column > Filter by condition... > Custom formula is > enter this formula: =month(A2)=4 > then OK
(My dates are in column A)
For subtotals just use the formula below your data like this: =subtotal(9,D2:D7)
In a separate sheet I would use a formula which is not dependent on the filter, like this: =sum(arrayformula(Sheet1!D2:D7*(month(Sheet1!A2:A7)=4)))
If your sheet name consists of several words use commas when referencing it like this: 'My data'!A2:A7