+ Reply to Thread
Results 1 to 5 of 5

Return a weeks of time to achieve a fixed target, best, Worst performed weeks and values.

  1. #1
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Return a weeks of time to achieve a fixed target, best, Worst performed weeks and values.

    Hi,

    required a formula help which is calculate based on data/values contains in Col A & B in cell F3 Weeks to be taken for achieving a target, the target value is showing in Cell D4.

    As well as in cell no F5& G5 required a formula which returns based on col A&B Over all best performed weeks (Top3)and sum the values incurred to same.

    Based on col A&B calculate the Overall worst negative performed weeks return the same in Cell F7 and in G7 return the sum of incurred negative values where are values goes into minus.

    In cell F9 return the weeks wherein no works are performed (Blank cells of Col B)

    sample enclosed.

    Thanks for the help.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Return a weeks of time to achieve a fixed target, best, Worst performed weeks and valu

    Please put some manually calculated results.

    My guess is
    F3
    =XMATCH(D4,MMULT(N(ROW(B3:B18)>=TRANSPOSE(ROW(B3:B18))),N(+B3:B18)),1)

    F5
    =TEXTJOIN("|",,INDEX(FILTER(SORTBY(A3:A18&TEXT(B3:B18," #,0"),B3:B18,-1),SEQUENCE(ROWS(A3:B18))<=3),,1))

    F7
    =TEXTJOIN("|",,INDEX(FILTER(SORTBY(A3:A18&" "&TEXT(B3:B18,"#,0"),B3:B18),SEQUENCE(ROWS(A3:B18))<=3),,1))

    F9
    =TEXTJOIN("|",,FILTER(A3:A18,B3:B18=0))
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Return a weeks of time to achieve a fixed target, best, Worst performed weeks and valu

    Thanks a lot Bo_Ry for your valuable response.


    i herewith enclosed a sample sheet manually entered sample as requested for desired results for your reference.


    Thanks,
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Return a weeks of time to achieve a fixed target, best, Worst performed weeks and valu

    Please try at

    F3 Linear interpolate

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    F5
    =TEXTJOIN("|",,FILTER(SORTBY(A3:A18,B3:B18,-1),SEQUENCE(ROWS(A3:B18))<=3))

    F7
    =TEXTJOIN("|",,FILTER(SORTBY(A3:A18,B3:B18),SEQUENCE(ROWS(A3:B18))<=3))

    G5
    =SUM(FILTER(SORT(B3:B18,,-1),SEQUENCE(ROWS(A3:B18))<=3))

    G7
    =SUM(FILTER(SORT(B3:B18),SEQUENCE(ROWS(A3:B18))<=3))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Re: Return a weeks of time to achieve a fixed target, best, Worst performed weeks and valu

    Perfect,solved

    Thanks a lot Bo_Ry for your formulas and great effort.

+ 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. Charting Date Data with Fiscal Weeks instead of Calendar Weeks
    By Humpjs in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-13-2019, 10:44 AM
  2. Replies: 2
    Last Post: 02-14-2017, 09:33 AM
  3. [SOLVED] Add 12 weeks to date to return week number turn over at 52 weeks
    By nigelog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2017, 05:58 AM
  4. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  5. Fixed Range last 4 weeks moving average
    By matt4003 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2007, 03:26 PM
  6. Calculating Averages based upon weeks not include Bye Weeks
    By Kfetterman1 in forum Excel General
    Replies: 2
    Last Post: 09-27-2006, 11:18 AM
  7. Turn excel weeks into finacial weeks
    By dragonfly in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2005, 10:07 PM

Tags for this Thread

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