IF statement for multiple date ranges - excel

I built a tracker for my platoon to manage numerous training dates based on completion. Each sheet tracks different things and I'm trying to make a coversheet that pulls data from each sheet to give an overall snap shot. I'm trying to create and IF formula for if any of the dates in a certain row are over due, it reports as over do. I can do it with 1 or 2 but not with 14 different dates. Is this possible?

Related

What formula can I use to search a value and add cells two rows over across multiple sheets?

I am trying to add values across sheets and an having a hard time finding a good formula to do this with.
I have over 300 sheets, representing rooms, that have two relevant columns, one that has dates and another with water consumption usage that look like this:
enter image description here
Issue is, the dates are inconsistent across all of the sheets. The full range of dates should be from 1/13/2023 to 2/6/2023 but many sheets are missing dates because water consumption wasn't read that date.
I have a summary page with a column representing the full range of dates and another column where I want to add usage for the specific date across all the sheets to show how much water was consumed that day across all rooms. Since the dates and usage are all in different cells, I can't call out specific cells. What is the best formula to use and how can I format it correctly?
I tried SUMIF formula's as well as IF formulas and tried nesting variations of them, but ultimately I am having trouble finding a formula/formatting that allows me to call out a cell value (ex, 2/6/2023) and sum the value two columns over. I am fairly new to the more advanced formula's so please forgive my ignorance.

Calculate week over week percentage then lock the values

I am trying to set up a formula where we can track the percentage of goals 13 weeks prior to events. I created a test version to figure it out and I am stuck. In this spreadsheet we will be updating the values in column B (our current total) to calculate a percentage of column C, our goal in a given week. Then after week 13 has past for example, we want to move on to week 13 percentages lock in place. I am open to other ideas. I would prefer not to copy and past values for each week because we will be tracking many events and that could get messy. I am also open to using Power BI which is shareable. I could use R but not many of my colleagues know how to use that.
Excel Screenshot
I tried to program a macro to copy an paste values but I was unsuccessful.

Excel - Replacing INDIRECT formula with a non-volatile formula to allow dynamic cell choice on averages

I work in purchasing where we use an Excel spreadsheet for most of our planning. It works very well but is a beast to load. I've been trying to optimize by offloading calculations to the reports that feed this spreadsheet and optimizing the spreadsheet itself where dynamic calculations are required.
The left section of the spreadsheet has part specific reference information, and the bulk of the resource hogging formulas are on the right in 12 dynamic date buckets so we can plan by day, week, or month using a variety of additional options.
Planning Workbook
We need to analyze historical data to identify trends and help us forecast for the future. The existing version has four columns that pull a weekly average based on a rolling 12 months, 6 months, 3 months, or the last 4 weeks. These values are all listed in columns N:Q in the spreadsheet.
Cell A4 is a dropdown that lets the user select their preferred calculation method. Each date bucket has a Total Demand column that calculates the highest value of either the combined orders and forecasts from the system OR the historical usage based on the users selected preference.
It includes an INDIRECT formula to point that calculation to the selected averaging method:
=IF(AND($I7 = "Y", AK$2=TRUE),
MAX(INDIRECT($D$4&ROW($A7)) * (DAYS(AS$5,AK$5)/7),
AL7+AM7+AN7+AO7),
AL7+AM7+AN7+AO7)
=IF(Part Planning AND Include Usage are selected),
Return the maximum value of usage calculated by the selected method for this date bucket,
OR Total orders and forecasts for this date bucket,
If not, give me the total orders and forecasts for this date bucket.
This indirect function is called 12 times for each of the 4500+ parts, so I think that is my low hanging fruit for optimization.
I'm stuck, and have read it can be replaced with index/match (not sure how in this instance!) or choose, but it's just not clicking for me.
I tried to include only the relevant details for this issue, but if you need additional info please let me know.
Also, I'm aware the conditional formatting is the other resource hog. Unfortunately conditional formatting colors must stay.

Need to streamline formulas to auto update as sheets are added

So I currently have a spreadsheet for monthly reporting that has a VLOOKUP for months and values. The data is collected and reported monthly and then input into a master workbook that calculates all of the metrics to the master charts. What I have been building on is an If(AND) statement and then adding a new sheet every month. The formula checks columns 7 and 8 for values on each page and only uses the value in column 8 if the value in column 7 is >0.
The formula currently looks like this:
=IF(AND(VLOOKUP($A2,December_2020!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,January_2021!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,February_2021!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,March_2021!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,April_2021!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,May_2021!$A$5:$AE$62,7,FALSE)>0,VLOOKUP($A2,June_2021!$A$5:$AE$62,7,FALSE)>0),SUM(VLOOKUP($A2,December_2020!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,January_2021!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,February_2021!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,March_2021!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,April_2021!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,May_2021!$A$5:$AE$62,7,FALSE),VLOOKUP($A2,June_2021!$A$5:$AE$62,7,FALSE)),VLOOKUP($A2,INDIRECT(INDEX(wshNamesLast,COUNTA(wshNamesLast)+RAND()*0)&"!$A$8:$AF$62"),8,FALSE))
I need to make sure that it calculates the sheet automatically. Updating the formula every month is tedious and prone to human error but adding in months for blank sheets throws off my calculations since I get reporting from two different sources for each account.
Q: How can I streamline this formula to allow the sheets to still calculate correctly with any number of sheets in the workbook?

Pull dates from undefined number of sheets to Summary sheet matching the sheet name to the data

I'm creating a spreadsheet for work that compiles all of our lab schedules for any given job. The spreadsheet consists of a summary sheet that will give the important information from every lab schedule, and a sheet for every single lab schedule. We could get a variable number of these lab schedules in for a given job so we could be working with 2 sheets or 10 sheets (not including the summary sheet), etc. Hopefully that gives you a bit of an insight into what we need it for.
I've been trying to patch together a code to pull the dates from every lab schedule sheet through to the summary sheet. The dates would need to go into a table matching both the column heading (i.e. Due Date, Received Date, etc) and the 'Lab No'(also the name of the tabs i.e. L1234). With regards to the dates, ignore the 'Geo, Chem, Wac' as I've taken the most recent date out of the three and put that below them. I've attached a few images of the workbook so you can see what sort of structure I've got.
Lab Schedule Sheet:
Summary Sheet:

Resources