Forum Discussion

Scholtar's avatar
Scholtar
Copper Contributor
Jun 12, 2023

Need a formula for month only

Good day, I am attempting to use one column to do 2 different functions I think. So I'm coming to the experts 🙂

 

OK, so I need a column that is a date (Ex., A2= 06/07/2023). It should be a date because elsewhere this is used to calculate -90 days.

 

Here's the rub: in ANOTHER place I need this to be added to all the other totals from that month (June in this case) ONLY. AND this needs to not be affected by year as this will be a rolling totals and each year will have different numbers.

 

I might be going about this wrong (in fact I'm sure of it) so I included a simplified workbook with the blocks and layout I'm going for. Thanks again for any and all help!

  • Scholtar 

    Sheet1 has some rows with 2022 in the Year column, but a date in 2023 in the Day/Month column. Is that intentional? If so, how should we treat those dates?

    • Scholtar's avatar
      Scholtar
      Copper Contributor
      That was not intentional, but as I didn't manually put in the year it makes sense that it autofills it. This could be the start of where I'm going wrong. If I fix that then what should the next part to auto-sort on sheet2 be?

Share

Resources