+ Reply to Thread
Results 1 to 34 of 34

Deciphering a formula?

  1. #1
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Question Deciphering a formula?

    I have a spreadsheet with a formula that someone on this forum was gracious enough to help me create. Unfortunately, my knowledge of Excel isn't sophisticated enough to completely follow what it is looking at.

    If you look at the Summary worksheet of the attached file, you will see averages (4wk, 3mo, 6mo, and 1yr) for each employee. The formula is supposed to exclude any days on the weekly spreadsheets with a zero in the SOLD column. (When the employee is out for training, sick, on vacation, or doesn't work Saturdays, we don't want to penalize their averages).

    Some of the managers have said the averages don't seem to be leaving out the 0hr days. I'm wondering if the formula is excluding the Weekly SOLD total with 0hrs, instead of looking at each day and excluding all days filled in with a 0 SOLD? Also, if nothing is filled in for the SOLD column on a day, how does the formula handle that?

    TIA!
    Amy
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Deciphering a formula?

    Two things:

    The formula requires dates to be in row 1 from column N onward: these are blank.

    If the dates are added (starting 9th Jan), the 4 week average averages columns AH:AM i.e. 6 weeks (based on TODAY()).

    And it does exclude any 0 values in that selected period.

    the formula is supposed to exclude any days on the weekly spreadsheets with a zero in the SOLD column.
    The formula does not look at the DAYS in weekly spreadsheets: it simply uses the weekly total retrieved by the VLOOKUP.

    Confused!

    .
    Last edited by JohnTopley; 07-07-2017 at 04:05 PM.

  3. #3
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    As JohnTopley noted, ALL of the average formulas on the Summary sheet are looking at two weeks longer than they should (1 year <> 54 weeks). Additionally, they're only looking at the weekly data that has been imported into the summary sheet, columns N:DN. The formula accounts for weeks of zero, but it does not account for individual days of zero.
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    Take a look at the attachment to see if it's any better. I have NOT had time to test it very thoroughly because I'm headed out for the weekend, so hand check some values to see if it works. I changed the SOLD column on your weekly sheets to:

    =E6+H6+K6+N6+Q6+T6&"@"&COUNTIFS($C6:$T6,"<>"&"",$C$5:$T$5,"SOLD")

    The end result is that instead of saying "56.7" for SOLD, it says "56.7@5", indicating the total AND days worked. I adjusted your efficiency and productivity formulas to account for the new setup. I then made a few changes to your summary sheet, replacing the TOTAL formula in e.g. column I with the array formula (confirm with Ctrl + Shift + Enter):

    =IFERROR(SUM(IFERROR(LEFT(OFFSET($M3,0,MATCH(TODAY(),$M$1:$AAD$1,1)-1,1,-13),SEARCH("@",OFFSET($M3,0,MATCH(TODAY(),$M$1:$AAD$1,1)-1,1,-13))-1)+0,0)),"")

    This would extract the total for the preceding 13 weeks by finding the portion of the entries in N:DN that are left of the "@". The formula for the daily breakdown divides that total by the sum of the values to the right of the "@" (i.e. the days worked) using the following array formula in column H:

    =IFERROR(I3/SUM(IFERROR(RIGHT(OFFSET($M3,0,MATCH(TODAY(),$M$1:$AAD$1,1)-1,1,-13),1)+0,0)),0)

    The return there should represent the DAILY average in the given time period, counting only the days worked. If you want weekly average, stick with what you had before or multiply daily by 5, or... however you want to count weeks. Daily seems to be what you're digging for. Take a look, see if it checks out:
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Thank you John and CAntosh!

    I like how you changed the SOLD weekly total to indicate how many days were worked. Is it possible to insert a column next to it (on the weekly spreadsheets) which shows the average hrs/day for the week? (Ie "SOLD" 50.5@5, "Daily Ave" 10.1) And thank you for adjusting the Productivity and Efficiency columns too.

    "The return there should represent the DAILY average in the given time period, counting only the days worked." Yes, that's what I need.

    I think the reason the formulas had 2 weeks extra added to the averages was because the workbook automatically adds a new worksheet for the current week, so at best the averages would be calculated through the previous week. However, I think the managers were filling them in about a week after a week ended (ie not Monday morning immediately after the week ended). The 4 week averages were only pulling 2 weeks' worth of information because last week's numbers hadn't been entered, and the current week was blank because it was in process. Can I change it to add one extra week for each average (so it's not looking at the current week for the averages), and tell them to keep up on the spreadsheet once a week is completed if they want accurate averages on the Summary sheet? Right now the 4 week ave is showing 0 for everyone because the data entry is behind. I checked Ernesto's 3 mo ave as an example. For 13 weeks from the week of Feb 27th through the week of May 22nd (the last week filled in), I get 155.3 hours in 51 days which averages out to 3.04 hrs/day, but the 3mo ave on the Summary spreadsheet shows 2.48 hrs/day and 71.90 hrs worked.

    Lastly, is there a quick way to apply these formula changes to other workbooks? We have multiple workbooks with the same set up, one for each group of employees. I was using this one as an example to get the formulas working the way we want them to, then I will have to update the others. :|

    Thanks again!

  6. #6
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    For the average hrs/day on the weekly sheets, you can insert a new column and use the following formula (e.g. in X5 of the new column on the APRIL 30 sheet):

    =U5/COUNTIFS($C5:$T5,"<>"&"",$C$4:$T$4,"SOLD")

    Fill it down and you'll have your avg. per day for that week.

    To adjust the number of weeks, just tweak the formulas to your liking. The formula for the 3 month total on the summary sheet is:

    =IFERROR(SUM(IFERROR(LEFT(OFFSET($M3,0,MATCH(TODAY(),$M$1:$AAD$1,1)-1,1,-13),SEARCH("@",OFFSET($M3,0,MATCH(TODAY(),$M$1:$AAD$1,1)-1,1,-13))-1)+0,0)),"")

    Note the two instances of the number "-13"? That's telling the formula to look 13 weeks back. The total for 6 months will have -26 in those two spots, etc. If you want to add an extra week and look 14 weeks back, just change both "-13"s to "-14". Similarly, the daily average formula includes one instance of "-13" or "-26" or whatever. Make the same change there to adjust the number of weeks considered by the formula.

    As to making the same changes to several workbooks at once... I don't know that there is a reliable short cut. If the formats were all identical, a macro could be written to apply the changes to multiple workbooks, but even the one workbook I've seen isn't consistent from sheet to sheet - they don't all have the same top and bottom row of data. Generally, you can select multiple sheets at once by holding SHIFT and selecting the first and last sheets you want to group. That will allow you to fix the formulas on just one of the weekly sheets and have it apply to all of the sheets. That was my method, though as I mentioned they aren't quite aligned. It would probably be faster to do each workbook individually - grouping the sheets and making the changes - than to write a macro that accounts for all of the various possible discrepancies.

  7. #7
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    I tried to apply the average hrs/day formula to the May 1-May 6 spreadsheet but I'm getting a DIV/0 error.

    Thank you for confirming how to adjust the number of weeks. That's what I did before but I wasn't 100% sure if that was correct.

    Can you test one average to see if the averages are being calculated correctly now? I tried but maybe my math is off: "I checked Ernesto's 3 mo ave as an example. For 13 weeks from the week of Feb 27th through the week of May 22nd (the last week filled in), I get 155.3 hours in 51 days which averages out to 3.04 hrs/day, but the 3mo ave on the Summary spreadsheet shows 2.48 hrs/day and 71.90 hrs worked."

    Thanks for the tips on updating the other files!
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    Ah, you're right about the Daily Average formula. For May 1 - May 6, it should be the following in X6, filled down:

    =(E6+H6+K6+N6+Q6+T6)/COUNTIFS($C6:$T6,"<>"&"",$C$5:$T$5,"SOLD")

    Generally, it should be a sum of the 6 daily "SOLD" values divided by a COUNTIFS of the entries that are both non-blank and in the "SOLD" column. You should be able to group the weekly sheets and do most of them together, but the obstacle you'll face is that not all of your sheets have the SOLD header on the same row, so you may have to do the sheets with headers in row 5 together, then do the sheets with headers in row 4.

    Looking at Ernesto's previous 13 weeks prior to today would start with the week of April 10-15 through the week of July3-8, for a total of 71.9 across 29 days, providing the average of 2.48. Each formula's timing is centered on TODAY, not the last date of non-zero values, so it will always look back 13 weeks from the current date. If you want more flexibility, you could create a changeable TARGET DATE cell in, say... B1, then change the TODAY() parts of the formulas to $B$1. That would allow you to look 4, 13, 26, or 52 weeks back from whatever date is in B1. Perhaps that approach would work better if the data won't always be updated expediently? Using the new approach, you could enter May 29th as the target date and get the 13 prior weeks, returning the 155.3 hrs. for Ernesto in 51 days from your initial search. Check the attachment to see if it's more to your liking:
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    I don't need to worry about adding the Daily Ave Sold column going backwards. I added it to the Master spreadsheet so when the macro duplicates it each week it will be there going forward. The managers will appreciate having that quick view for the week.

    "Each formula's timing is centered on TODAY, not the last date of non-zero values, so it will always look back 13 weeks from the current date." Thank you for pointing that out. The target date is perfect. That solves the problem. Whether they're updated through last week or haven't been updated for several weeks, they can get the correct average. Brilliant.

    Thank you again for all your help. This will be very appreciated by many people.
    Amy

  10. #10
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    Glad to help, good luck!

  11. #11
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Sigh. Ok, they're requesting one more change. They said there are some days when the employee works all day on a project but none of the time is billable until the next day when they complete the job. So they are filling in 0 sold on those days, which I had expected that would mean they didn't work that day and it wouldn't count in the averaging.

    They want 0 sold days to count in the averaging formulas, but if any text is entered in the sold column for the day, that cell should be excluded without causing a formula error. (Ie they would enter 'school', 's', 'vaca', 'vacation', 'v', 'sick', 'ill', 'off', or a variety of things to note why they didn't work that day, instead of entering a 0, and they don't want it to count against their average.

    Is that possible??

  12. #12
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Deciphering a formula?

    If I'm understanding the objective correctly, try replacing the formula on the weekly sheets that calculates the weekly "SOLD" total (the one that returns e.g. 41.4@6) with the following:

    In W6: =SUMIFS(E6:T6,$E$5:$T$5,"SOLD",$E6:$T6,">0")&"@"&SUMPRODUCT(--($C6:$T6<>""),--($C$5:$T$5="SOLD"),--(ISNUMBER($C6:$T6)))

    Try that out to see if it responds as desired.

  13. #13
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    I think that will do it. I updated the sample sheet and I'm having them test it out. THANK YOU!!!

  14. #14
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103
    Fingers crossed! If it needs more work, i won't we able to get back to it for at least a week, so hopefully someone else can jump in if you need assistance right away.

  15. #15
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    The 4 week daily average and total (columns F & G) on the SUMMARY sheet isn't populating. I have a target date of Dec. 12th (B1 on the SUMMARY sheet) with more than 4 weeks of data.

    I'm sure it's something silly and I'm going to be embarrased I'm overlooking it, but I don't see it.
    Attached Files Attached Files

  16. #16
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Deciphering a formula?

    First, B1 on SUMMARY sheet is blank.

    Second, Headings in N1 onward should match the tab names e.g DEC11-DEC16 OR the tab names should match DATES


    For example, BJ1 has "Dec 10": looking at other formulae, this should be in Excel Date format i.e.10/12/2017 (dd/mm/yyyy)

    formula in F3

    =IFERROR(G3/SUM(IFERROR(RIGHT(OFFSET($M3,0,MATCH($B$1,$M$1:$AAD$1,1)-1,1,-4),1)+0,0)),0)


    this MATCH expects Dates in ascending order: they must be dates not TEXT.


    So I think tab "Dec11-Dec16" should be labelled "Dec10" and Date in B1 should be 10/12/2107.


    (Bit rusty looking at this again!)
    Last edited by JohnTopley; 12-17-2017 at 02:49 AM.

  17. #17
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Hi John!!

    The Infiniti hour tracker sheet I uploaded had a date filled in in B1. I'm not sure why that isn't showing when you downloaded the file. Let me know if you still can't see it with this new version.

    I've taken out the old dates that we're not going to fill in, and think I have the tab names matching the dates now for column N forward. (It's not case sensitive is it?)

    I took out the -4 offset in the formula in F3 (for the 4 week average), since we have the target date feature now and shouldn't need the offset anymore. I was hoping that might fix it since I was told you can't have a negative offset, but it didn't make a difference.
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Deciphering a formula?

    I don't understand the current formulae which use LEFT/RIGHT/SEARCH functions.
    Try

    in F3

    =IFERROR(G3/SUM(IFERROR(OFFSET($M3,0,MATCH($B$1,$M$1:$WK$1,1)-1,1),0)),0)

    in G3

    =IFERROR(SUM(OFFSET($M3,0,MATCH($B$1,$M$1:$WK$1,1)-1,1,-4)),0)

    See attached.
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Is the 'right' function is for the offset? I don't see 'left' or 'search' in the formulas. We can drop that since we added the 'target date' feature. Before I had a problem because the workbook automatically adds a new tab at the beginning of the week. Since the days hadn't been worked yet, it was averaging in the current week (with no hours worked), and the past 3 weeks with data for the 4 week average. We offset it so each average formula on the Summary sheet would look back one week further and return the correct average.

    We also set it up so any cell left blank or with text would not be included in the average. Only days with a number filled in would be counted. We didn't want to bring the averages down by including days not worked (holidays, vacation, training, sick, usual day off, etc). That's important.

  20. #20
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Deciphering a formula?

    I don't see 'left' or 'search' in the formulas
    Look at formulae in row 4: I only "corrected" the 2 highlighted formulae.

  21. #21
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Oh, I see it in the total hours column. Not sure what that was supposed to do.

  22. #22
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Deciphering a formula?

    Do the formulae in #18 do the job?

  23. #23
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Sorry, I took a few days off for Christmas. I hope you had a nice holiday if you celebrate.

    Unfortunately no. I set the target date to 12/10: the total hours is correct but the daily average is wrong. It's showing 3.76 hrs/day ave. However, there were 21 days worked during those 4 weeks, so the daily average should be 8.51 (178.7/21). The formula should only include days if there is a number in the SOLD column indicating that the employee worked).

  24. #24
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Deciphering a formula?

    In order to maintain similarity to the appearance of the original spreadsheet this solution employs rather complex (oh what a tangled web...when we start by working for appearance vs. functionality) formulas.
    The formula for the 'DAYS' column (X) on each of the weekly sheets is: =COUNTIFS(C6:T6,"<>"&"",C$5:T$5,"SOLD")
    The formula for columns N:U on the 'Master' sheet is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The array entered formula* for the '4 week daily average' column is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The array entered formula* for the '4 week total formula is similar.
    *Array entered formulas are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  25. #25
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Thank you JeteMc. That's progress!

    The averages are correct now based on the last full week completed, but it doesn't seem to be based off of the target date in B1. For example, when I change the date from 12/10 to 12/13, none of the averages change. It would be nice to see the average based on a chosen date.

    What's important is the function. (I'm not sure what appearance you were referring to?) The goal is to return the daily average of hours sold over certain periods (4 weeks, 3 mos, 6 mos, and 1 year), excluding days with empty SOLD cells or with text entered in the cell (days not worked may be left blank or the reason may be noted- ie holiday, sick, training, etc). We don't want to reduce the average by including days they didn't work.

    (As a side note, I think the offsets were added to correct the time period being looked at before the target date feature was added. The formula was including the current week, which is automatically added to the spreadsheet at the beginning of the week, but is blank because it hasn't happened yet. That was throwing the averages off because it was returning a 4 week average based on only 2 or 3 weeks of data (including the current blank week and last week, which may or may not have been filled in already), and returning a low 4 week average. The target date was added to solve this problem. If all data is entered through yesterday, you can set the target date to yesterday. If data hasn't been updated for weeks, you can set the target date to the last date updated.)

    Thank you again for your help and Happy New Year!!

  26. #26
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Deciphering a formula?

    Sheet 1 shows what I think of when setting up a functional spreadsheet. As you may see by changing the date in I2, the totals and averages can be calculated to the day.
    Let us know if you have any questions.

  27. #27
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    I see what you mean. Is there a way to make the averages and totals on the SUMMARY tab calculate according to the target date like you did on Sheet 1? You can take out anything in the formula that may not be needed. Thanks again!

  28. #28
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Deciphering a formula?

    As I dislike disappointing people, I waited in hopes that someone could help get the AVERAGE and TOTAL values from the weekly sheets in the manner that you want. What I have done in this latest attachment is paste the actual data from the weekly sheets into columns C:E of sheet 1. Form that point fairly straight forward formulas may be used to yield the averages and totals for the previous 4 weeks, 3 months, 6 months and year. A sample of the aforementioned formulas would be (for previous 4 week average):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (For previous 6 month total):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  29. #29
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Thank you JeteMc! CAntosh set up the target date and I just realized you have to change the date by a week or more, not 3 days like I was trying to do. Everything is working now. I am SO happy. This has been a long project and I could never have done it without everyone on this forum. I hope everyone has a [I]wonderful[I] 2018!

  30. #30
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    JeteMc can you just double check that I copied and modified the array formulas for the 3mo, 6mo, and 1yr averages and totals correctly on the SUMMARY sheet? Thanks!
    Attached Files Attached Files
    Last edited by AmyV1; 01-06-2018 at 02:33 PM.

  31. #31
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Deciphering a formula?

    Yes, they all look to be correct. There will need to be 13 weeks of data input before the 3 month totals and averages show a value other than zero (Feb12 - Feb17).
    This being attributed to the width (-13) argument of the OFFSET functions in the formula.
    Same general principal for the 6 month (26 weeks of data) and year (52 weeks). You could put in some test data and make sure, or just wait until that time rolls around.
    Let us know if you have any questions.

  32. #32
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    I had changed the offsets on the SUMMARY tab to -4, -13, -26, and -52 so I thought it should calculate correct averages for the last 4 weeks, 3mo, 6mo, and 1yr, as long as the target date is set to the end of the most recent week with data entered, even if the most recent week's sheet isn't filled in yet? Did I miss something?
    Last edited by AmyV1; 01-07-2018 at 03:40 PM.

  33. #33
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Deciphering a formula?

    When I put in 1/23/18 as the target date it correctly calculates the last four weeks. If I then select cell F3 and utilize the Evaluate Formula feature (Formulas tab) that it runs the values for the four weeks as I would expect although there isn't any daily data in the DEC18-DEC23 tab. The values for previous 13 weeks, 26 weeks and 52 weeks, respectively, should start to calculate once there are 13 weeks, 26 weeks and 52 weeks of tabs.
    Let us know if you have any questions.

  34. #34
    Registered User
    Join Date
    01-11-2017
    Location
    Chicago, IL
    MS-Off Ver
    2010
    Posts
    80

    Re: Deciphering a formula?

    Sorry, I just realized I misunderstood your reply earlier. Thanks again!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Help deciphering formula
    By bdouglas1011 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-21-2014, 05:01 PM
  2. Deciphering a formula
    By mwatt05 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-02-2014, 02:47 PM
  3. [SOLVED] Help Deciphering/Modifying Formula using NETWORKDAYS
    By abbeycrombie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-17-2013, 11:28 AM
  4. [SOLVED] Help Deciphering formula?
    By bbecht01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-14-2013, 10:30 PM
  5. Deciphering a Formula
    By Winstonwolf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-29-2012, 04:05 PM
  6. Deciphering a formula
    By MarginofBuffett in forum Excel General
    Replies: 1
    Last Post: 11-15-2010, 04:05 AM
  7. Newbie needs help deciphering formula.
    By Grimzby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-16-2006, 11:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1