+ Reply to Thread
Results 1 to 14 of 14

Excel VLOOKUP or DMAX Challenge

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Excel VLOOKUP or DMAX Challenge

    I have been trying the have a report of equipment that tells me when was the last time it worked and how many hours it worked
    This is the sample data.

    Date Equipment Available to Work Hours Worked
    7/14/14 ART. 330-01 YES
    7/14/14 ART. 330-05 YES
    7/14/14 ART.460E -08 YES 20.5
    7/13/14 ART. 330-01 YES 2.0
    7/13/14 ART. 330-05 YES
    7/13/14 ART.460E -08 YES 14.5
    7/12/14 ART. 330-01 YES 20.0
    7/12/14 ART. 330-05 YES
    7/12/14 ART.460E -08 YES 20.0
    7/11/14 ART. 330-01 YES 16.0
    7/11/14 ART. 330-05 YES 10.0
    7/11/14 ART.460E -08 YES 16.0

    I am looking to generate this summary report

    Summary
    Equipment Last Day Worked Total Hours Worked
    ART. 330-01 7/13/14 2.00
    ART. 330-05 7/11/14 10.0
    ART.460E -08 7/14/14 20.5

    Thanks a lot for your help.

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Excel VLOOKUP or DMAX Challenge

    try..
    a definite solution..
    I have used array formula so use ctrl + shift + enter to enter the formula..



    Don't forget to click *
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Excel VLOOKUP or DMAX Challenge

    Building on Vikas_Gautam's file and formula try this in K3
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It's an array formula still so confirm it with Ctrl + Shift + Enter.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Excel VLOOKUP or DMAX Challenge

    this is why you should really supply the sample file

    i used Large as well but SUMIFS for calculating hours

    but focused on available to work
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Excel VLOOKUP or DMAX Challenge

    Quote Originally Posted by humdingaling View Post
    focused on available to work
    OP states they want to know when it last worked, not when it was last available for work.

  6. #6
    Registered User
    Join Date
    07-16-2014
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel VLOOKUP or DMAX Challenge

    Using humdingaling solution.
    Thanks for responding but unfortunatelly the output is not correct. E.G. Equipment ART.460E-8 last day worked is 7/14/2014 output says 7/12/14 and fro ART.330-05 date is incorrect. Besides that the hours worked for last day does not correspond neither ART.460E-8 should be 20.5 instead of 20, ART.330-01 should be 2 instead of 0.

    Hopping you can help me again.

    Thanks

  7. #7
    Registered User
    Join Date
    07-16-2014
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel VLOOKUP or DMAX Challenge

    Using Vikas_Gautam & gak67 solution.
    Output is not correct all last used dates shows wrong dates and some of the hours worked for the last day do not correspond neither.
    Thanks a lot for your help hopping you can find a solution.

  8. #8
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Excel VLOOKUP or DMAX Challenge

    Please see attached, does this work

    Equipment v2.xlsx
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

  9. #9
    Registered User
    Join Date
    07-17-2014
    Location
    Kampala
    MS-Off Ver
    2007
    Posts
    1

    Re: Excel VLOOKUP or DMAX Challenge

    I have two different sets of Data i.e Payments & Returns on different sheets and i want to sort out those who filed returns & paid, those who filed & did not pay and those who paid and did not filed the return. How can i do it using Excel 2007?

  10. #10
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Excel VLOOKUP or DMAX Challenge

    Quote Originally Posted by Angobi View Post
    I have two different sets of Data i.e Payments & Returns on different sheets and i want to sort out those who filed returns & paid, those who filed & did not pay and those who paid and did not filed the return. How can i do it using Excel 2007?
    Hi and welcome, you need to start your own thread for your above query

    Thanks

  11. #11
    Registered User
    Join Date
    07-16-2014
    Location
    Mexico
    MS-Off Ver
    2010
    Posts
    4

    Re: Excel VLOOKUP or DMAX Challenge

    It worked thanks a lot !!!!!

  12. #12
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Excel VLOOKUP or DMAX Challenge

    A bit of correction..
    with absolute solution..






    Don't forget to click *
    Attached Files Attached Files

  13. #13
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Excel VLOOKUP or DMAX Challenge

    Quote Originally Posted by Vikas_Gautam View Post
    A bit of correction..
    with absolute solution..
    Hi Vikas,

    With your formula for ART.460E -08 it returns 13/07/2014 and 14.5, The answer should be 14/07/2014 and 20.5

  14. #14
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Excel VLOOKUP or DMAX Challenge

    Quote Originally Posted by fmc031 View Post
    It worked thanks a lot !!!!!
    Glad to help, thanks for your feedback

+ 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] Vlookup and If Statements Challenge
    By mrr2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2012, 01:04 PM
  2. Excel 2007 : Vlookup challenge
    By ngaisteve1 in forum Excel General
    Replies: 11
    Last Post: 04-23-2012, 04:11 AM
  3. [SOLVED] VLOOKUP Challenge
    By FSUMBA97 in forum Excel General
    Replies: 5
    Last Post: 07-25-2011, 02:43 PM
  4. Help with VLOOKUP + DMAX
    By DarCady in forum Excel General
    Replies: 2
    Last Post: 04-02-2010, 11:10 PM
  5. VLookUp Challenge
    By wmgrubb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2007, 06:28 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