+ Reply to Thread
Results 1 to 9 of 9

LOOKUPSwith Multiple Criteria

  1. #1
    Registered User
    Join Date
    11-27-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    6

    Question LOOKUPSwith Multiple Criteria

    I am attaching an excel sheet which have multiple formulae. I need help with one in the column K. In this column the formula takes into account "DE". I want to add another criteria, in a way it should also takes into account the criteria "Audit". Can someone please help me here.

    Thanks
    Daniyal
    Attached Files Attached Files
    Last edited by DaniyalJasnaik; 12-09-2019 at 10:37 AM.

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Excel formulae and functions

    you can use a combination of AND() and OR() for that

    formula used in K6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    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,460

    Re: Excel formulae and functions

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I will do it for you this time.)
    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.

  4. #4
    Registered User
    Join Date
    11-27-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    6

    Question Re: LOOKUPSwith Multipke Criteria

    Hi Roel Jongman,

    The formula is working without error but the result I want is not getting displayed. I am attaching a png file in which for "Audit" part when I select completed the actual production time is shown 0:00:00
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    11-27-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    6

    Re: Excel formulae and functions

    Hi I have changed the title

  6. #6
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: LOOKUPSwith Multiple Criteria

    Ah I missed something...

    the "DE" in the sumifs must be changed to cellreference C6

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

  7. #7
    Registered User
    Join Date
    11-27-2019
    Location
    india
    MS-Off Ver
    2010
    Posts
    6

    Re: LOOKUPSwith Multiple Criteria

    This actually worked, but when I tried adding new information from row no 16 it again shows 00:00:00. I have attached png file for the same
    Attached Images Attached Images

  8. #8
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: LOOKUPSwith Multiple Criteria

    I cannot debug from a screenshot with data I don't have.. please upload the file not the screenshot..

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: LOOKUPSwith Multiple Criteria

    May be you have to give whole column as range instead of chosen range

    Try

    =IF(AND(OR(C2="DE",C2="Audit"),J2="Completed"),SUMIFS(I:I,M:M,M2,C:C,C2,E:E,E2),"")
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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: 3
    Last Post: 01-10-2019, 09:34 AM
  2. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  3. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  4. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  5. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  6. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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