+ Reply to Thread
Results 1 to 9 of 9

Return TEXT values from one table to another by given WEEK and YEAR

  1. #1
    Registered User
    Join Date
    04-01-2015
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    36

    Return TEXT values from one table to another by given WEEK and YEAR

    Hi Excel Gurus,

    I have tryed to work this out for a some time already but no success... I hope someone would have solution

    Ok, so I want that let's say IF I choose week 15 Year 2015, information from table: NewLaunches (in Data Entry Tab) will be feeded to the main Dashboard table "New Brand Additions".

    In this example,according to Data Entry tab information should look like this:
    Dashboard.jpg
    DataEntry.jpg
    Enrichment Reporting Schedule NEW v1.5.xlsx

    This is the last piece I need to solve in this endless jigsaw...

  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,369

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    See attached. I had to remove your merged Cells (never use when needed for formulae!).
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-01-2015
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    36

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    Speechless.... This is absolutely amazing! Cheers for that! No words to describe my thankfulness!

  4. #4
    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,369

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    FYI: it might be better if the WEEK number cell was simply a number rather than the current format of "WEEK nn". You could add the text "WEEK" in an adjoining cell.

    I used the RIGHT function to get the number from the text: test it with a week < 10 to check it works OK.

  5. #5
    Registered User
    Join Date
    04-01-2015
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    36

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    Hi John,

    I'm bit worried to mess it up other formulas if I change Week Number to a number. Unless we are talking about different things...

    Also I have added all valid info to the sheet and it seems that new brand additions are not showing up information correctly.. Weeks 13, 14, 18, 22, 23, 24 are not apprearing in the table, only Weeks 15 and 17 showing up..

    Enrichment Reporting Schedule NEW v1.6.xlsx

  6. #6
    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,369

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    See attached with extended ranges.
    Attached Files Attached Files

  7. #7
    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,369

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    Adjust formula as data starts at row 8 not 11 (my mistake)


    =IFERROR(INDEX('Data Entry'!$M$8:$M$100,SMALL(IF((YEAR('Data Entry'!$K$8:$K$100)=YearNumber)*('Data Entry'!$P$8:$P$100=RIGHT(Dashboard!$C$6,2)+0)*('Data Entry'!$L$8:$L$100=Dashboard!D$34),ROW('Data Entry'!$M$8:$M$100)-7,""),ROWS($A$1:$A1))),"")

    Enter with CTRL+SHIFT+ENTER

  8. #8
    Registered User
    Join Date
    04-01-2015
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    36

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    John, it works as a charm!!! Absolute gentlemen! Thanks for all of this!

  9. #9
    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,369

    Re: Return TEXT values from one table to another by given WEEK and YEAR

    I would clear out the unwanted data in columns K to Q in "Data Entry" as they will cause error conditions

+ 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. Replies: 28
    Last Post: 07-17-2015, 07:32 AM
  2. [SOLVED] Macro that displays all the weeks between Start Week and End Week (ends in next year)
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2014, 05:38 AM
  3. [SOLVED] Find last 12 values based on week number/year
    By pytheus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 05:14 AM
  4. [SOLVED] Trying to return the week number of dates in a fiscal year
    By NedFlanders in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2013, 09:16 PM
  5. Return value of the last week of the month based on the year and month
    By stevekho2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-14-2013, 11:04 AM
  6. [SOLVED] Pivot Table (vlookup 2 column text values, return 1 value)
    By Al in forum Excel General
    Replies: 1
    Last Post: 11-29-2005, 09:20 PM
  7. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 AM

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