+ Reply to Thread
Results 1 to 18 of 18

Expected output based on 3 dropdowns

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Expected output based on 3 dropdowns

    Dear Experts,

    Please find here attached workbook, where i do expect the output in from Cell C10 to Column G in Status Tab. I have created 3 filters to get expected output. The first filter is for tab name, the second one is for Ownership and the third one is for Status.

    The most important part is if we select "All" from the first filter for Tab Selection then the expected output will cover from both the tabs or else will be based on tab selection names.

    I hope i have clarified well my expectations. Request you to please do help me on the same and please do revert back in case of any further clarification, if required.

    Thank you for your valuable support and precious phase.

    Regards,

    Neilesh
    Attached Files Attached Files

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

    Re: Expected output based on 3 dropdowns

    First recommendation is you combine data into one tab as extracting from multiple sheets is complex.

    And why use combo boxes instead of Data Validation?

    And can we have "ALL" ownership but selected "Status" e.g "ALL" & "RNR"
    Last edited by JohnTopley; 05-16-2021 at 11:42 AM.

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Hi John,

    Thank you for recommendation, but the problem is combining data into one tab is not possible because both tabs data are different and in real time both headers are also bit different. Yes data validation can be used if the expected outcomes remains same with Data Validation.

    Request you please do help me. Thank you once again for valuable support.

    Regards,

    Neilesh

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

    Re: Expected output based on 3 dropdowns

    In your sample file both tabs are the same with regard to "headers" and content. If this is not the real situation please post a fil that is representative of your real situation.

    And how different many tabs are there?

    And can we have "ALL" ownership but selected "Status" e.g "ALL" & "RNR" ?

  5. #5
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Yes Definitely John, We can have "ALL" Ownership but selected "Status" either for ALL or RNR based on dropdown selection.

    The main criteria is the first one based on the first criteria selection rest other two will give the output and based on first and second criteria selection third dropdown will provide the output.

    Regards,

    Neilesh

  6. #6
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Hi John,

    I have verified both the tabs and both the tabs headers are same and accordingly the data can be merged below the data from first tab. Request to you please do help me if it is not possible without merging two different tabs data then please proceed with data merge in a tab.

    Regards,

    Neilesh

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

    Re: Expected output based on 3 dropdowns

    I am not sure I can provide a formula solution as selecting based on "ALL" - both for tabs (if not merged) and criteria is complicated.

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,615

    Re: Expected output based on 3 dropdowns

    With some guess formulas are given in the file. Pl check file.
    Formulas are dragged down.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  9. #9
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Hi John,

    Both tabs headers are same so the data can be merged for both the tabs.

    Regards,

    Neilesh

  10. #10
    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,339

    Re: Expected output based on 3 dropdowns

    I mis-understood what was required!!! "Simple" counts apparently!

  11. #11
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Hi kvsrinivasamurthy,

    Thank you for valuable support but when i am trying to filter as "ALL" with first tab then it is giving error. As mentioned both the tabs data can be merged. So would like to request you if possible with merging the data from rest other two tabs and get the expected output.

    Regards,

    Neilesh

  12. #12
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Dear Experts,

    Please find here attached upgraded workbook where I have merged the data. Is it possible now to get the expected output based on three filters. The count for Status will be as "Complete" and Approved as "Yes".

    Thank you for your valuable support and precious phase. Request you to please do revert back in case of any further clarification, if required.

    Regards,

    Neilesh
    Attached Files Attached Files
    Last edited by Neilesh Kumar; 05-16-2021 at 01:32 PM.

  13. #13
    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,339

    Re: Expected output based on 3 dropdowns

    Confused: you can select status but Status count is ONLY on "Completed" ?

  14. #14
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Yes John, The status count will be based on Selection from third dropdown. Like if we select as "Complete" then the count of Complete and if select RNR then count of RNR for Ownership and reconciler.

    I hope i have clarified expected outcome. Please do revert back for further clarification, if required.

    Thank you for valuable support.

    Regards,

    Neilesh

  15. #15
    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,339

    Re: Expected output based on 3 dropdowns

    See the attached which does NOT deal with a complexity of the "ALL" situations.

    in C1

    =IFERROR(INDEX(AU!$D$2:$D$7,AGGREGATE(15,6,1/(AU!$D$2:$D$7=$C$4)/(AU!$G$2:$G$7=Status!$C$6)*ROW($A$1:$A$6),ROWS($1:1))),"")

    in D10

    =IFERROR(INDEX(AU!$F$2:$F$7,AGGREGATE(15,6,1/(AU!$D$2:$D$7=Status!$C$4)/(AU!$G$2:$G$7=Status!$C$6)*ROW($A$1:$A$6),ROWS($1:1))),"")

    in E10

    =IF( $C10="","",COUNTIFS(AU!$D$2:$D$20,$C$4,AU!$F$2:$F$20,$D10,AU!$G$2:$G$20,$C$6))

    in F10

    =IF( $C10="","",COUNTIFS(AU!$D$2:$D$20,$C$4,AU!$F$2:$F$20,$D10,AU!$G$2:$G$20,$C$6,AU!I2:I20,"Yes"))
    Attached Files Attached Files
    Last edited by JohnTopley; 05-16-2021 at 02:58 PM.

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

    Re: Expected output based on 3 dropdowns

    Please try at
    C10:Dxx

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


    E10
    =IF(C10="","",COUNTIFS(AU!$G$2:$G$99,IF($S$2="All","*",$S$2),AU!$D$2:$D$99,$C10,AU!$F$2:$F$99,$D10))

    F10
    =IF(C10="","",COUNTIFS(AU!$I$2:$I$99,"Yes",AU!$D$2:$D$99,$C10,AU!$F$2:$F$99,$D10))
    Attached Files Attached Files

  17. #17
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Thank you so much Dear Experts for your valuable support.

    Regards,

    Neilesh

  18. #18
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    848

    Re: Expected output based on 3 dropdowns

    Dear Experts,

    Thank you for your valuable support and precious phase.

    Regards,

    Neilesh
    Last edited by Neilesh Kumar; 05-17-2021 at 12:25 PM.

+ 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: 10
    Last Post: 09-09-2019, 03:01 PM
  2. Formula output not as expected.
    By Efeid in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2018, 07:50 AM
  3. [SOLVED] VBA for dropdowns based on another dropdowns
    By abhi_jain80 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-15-2016, 05:14 AM
  4. [SOLVED] Choose Value From Table Based on 3 Dropdowns
    By Mathias25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2015, 05:38 PM
  5. Loop formula to search through range to get expected output
    By raj2989 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2014, 09:15 AM
  6. [SOLVED] look up based on multiple dropdowns
    By nellyc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 07:27 AM
  7. Excel 2007 : Excel 2007 Reverse the Expected Output
    By robinx1578 in forum Excel General
    Replies: 6
    Last Post: 09-19-2009, 07:45 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