+ Reply to Thread
Results 1 to 4 of 4

Trying to get the DISTINCT value for a specific Date and Code

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Trying to get the DISTINCT value for a specific Date and Code

    Please see attached.

    Regarding only Tab "TOP 3 Daily Trend"

    I achieved to get my top 3 values for the month (A2:C6). That's good, No help there.

    What I need help on please, based on the top 3, what are my # of defects per day within the date range provided for my Top 1 item, top 2 etc.

    Another nice to have would be the ability to list the dates that are available instead of having the NUMs. The reason why I have those NUM, is when the Month changes and there is date for almost every day I need to have the formula predefined just in case.

    I have highlight in yellow the expected results.

    Expected functionality, on April 1st, the date range should change from March 1 - 31 on the Top 3 and then the defect trend section, all the dates where data exist should be labelled across, and the values and charts should change.

    The chart will be a line chart with Dates on the x axis, # defects per day on the Y and the lines are the Top 3 values.

    Thank you so much.

    Samplev1.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Trying to get the DISTINCT value for a specific Date and Code

    Hi there. see the array formula in the tan coloured cells. Array formulae must be 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. Press F2 on that cell and try again.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Trying to get the DISTINCT value for a specific Date and Code

    Hi. I've adjusted the formula in row 2 a bit, now, too.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Trying to get the DISTINCT value for a specific Date and Code

    Quote Originally Posted by Glenn Kennedy View Post
    Hi. I've adjusted the formula in row 2 a bit, now, too.
    100%. Thank you so much for your fast response. Really appreciate your time working on this!

+ 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. Macro code for today's date + text copied to specific cell
    By ash3angel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-24-2015, 09:35 AM
  2. Replies: 2
    Last Post: 02-18-2014, 12:22 PM
  3. insert code to pull only data that matches a specific date entered in a cell
    By Ben.Cgg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2013, 12:04 PM
  4. Populate Combobox with Distinct data from specific access table field
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2010, 05:53 AM
  5. Replies: 3
    Last Post: 01-04-2007, 10:00 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