+ Reply to Thread
Results 1 to 6 of 6

As per lookup criteria return a values of total consumption of liters per machinery.

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

    As per lookup criteria return a values of total consumption of liters per machinery.

    Hi,

    Required a formula help as based on data set in Cells A7 to N7, to return a total values of consumption of liters per machinery, as per look up period months and quarters, and for the same automatically highlight the result cells to know the about the values originates from which cells with conditional formatting.

    Sample sheet with expected results are attached.


    Thanks,
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: As per lookup criteria return a values of total consumption of liters per machinery.

    Would you be OK with using real dates instead of text months? This will make the calcs much simpler to do.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: As per lookup criteria return a values of total consumption of liters per machinery.

    Please try at
    E13
    =SUM(INDEX(C2:N7,MATCH(E10,A2:A7,),MONTH(1&E11)):INDEX(C2:N7,MATCH(E10,A2:A7,),MONTH(1&E12)))

    H12
    =SUM(INDEX($C$2:$N$7,MATCH($H$10,$A$2:$A$7,),RIGHT(G12)*3-2):INDEX($C$2:$N$7,MATCH($H$10,$A$2:$A$7,),RIGHT(G12)*3))
    Attached Files Attached Files

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: As per lookup criteria return a values of total consumption of liters per machinery.

    E13
    Please Login or Register  to view this content.
    H12
    Please Login or Register  to view this content.
    Drag down
    Quang PT

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

    Re: As per lookup criteria return a values of total consumption of liters per machinery.

    Many thanks all of your for your formula solutions.


    Thanks,

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: As per lookup criteria return a values of total consumption of liters per machinery.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Return total amount values based on multiple criteria
    By MyStix01 in forum Excel General
    Replies: 3
    Last Post: 10-12-2017, 09:05 AM
  2. Lookup return values if meet criteria?
    By lissamel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2015, 10:21 AM
  3. [SOLVED] Left Lookup to Return Multiple Values Given 2 Criteria
    By watchouse in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-11-2015, 08:41 AM
  4. [SOLVED] Lookup Values which meet two or more criteria and return multiple matches horizontally
    By josetmg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2015, 01:16 AM
  5. Replies: 7
    Last Post: 08-04-2013, 03:41 PM
  6. Lookup/ Return and concatenate values based upon multiple criteria
    By steveboise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2013, 10:43 AM
  7. Replies: 3
    Last Post: 11-03-2010, 04:05 AM

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