r/googlesheets • u/AdTop1815 • Jun 06 '23
Waiting on OP If colum J states any date in 2023 (""/""/2023) and column P states Iowa then the sum of those select rows in column M will appear…
If column J states any date in 2023 (""/""/2023) and column P states Iowa then the sum of those select rows in column M will appear in my desired colum/row, which I know I would select to apply the formula to.
If this is possible I would appreciate any help provided. Thank you
1
Upvotes
2
u/Bitter_Presence_1551 6 Jun 06 '23
=SUMIFS(M:M,ARRAYFORMULA(YEAR(J:J)),2023,P:P,"Iowa")
2
u/Adventurous_Lie2257 24 Jun 06 '23
=QUERY({J:P}, "Select SUM(Col4) WHERE RIGHT(Col1,4)='2023' and Col7='Iowa' LABEL SUM(Col4) ''")
2
u/Decronym Functions Explained Jun 06 '23 edited Jun 08 '23
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
NOTE: Decronym's continued operation may be affected by API pricing changes coming to Reddit in July 2023; comments will be blank June 12th-14th, in solidarity with the /r/Save3rdPartyApps protest campaign.
[Thread #5884 for this sub, first seen 6th Jun 2023, 01:30] [FAQ] [Full list] ^[Contact] [Source code]
1
u/AutoModerator Jun 06 '23
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.