Home

Vlookup help With three indirect drop downs

%3CLINGO-SUB%20id%3D%22lingo-sub-919760%22%20slang%3D%22en-US%22%3EVlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-919760%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20create%20a%20report%20using%20vlookup%20with%20three%20dropdowns%20to%20filter%20that%20dated%20data.%26nbsp%3B%20One%20would%20be%20the%20customer%20name%2C%26nbsp%3B%20second%20would%20be%20the%20date%20and%20final%20would%20be%20project%20no.%26nbsp%3B%20%26nbsp%3BSo%20if%20a%20Customer%20is%20selected%20from%20the%20drop%20down%2C%20and%2010%2F13%2F2019%20and%2075686%20are%20chosen%20for%20the%20project%23%20the%20report%20would%20populate%20with%20the%20selected%20criteria.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20date%20was%20changed%20to%2010%2F25%2F2019%20the%20report%20would%20change%20to%20that%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20youtubed%20the%20heck%20out%20of%20my%20scenerio%20and%20cannot%20get%20the%20drop%20downs%20to%20sync%20Help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-919760%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%20Indirect%20Dropdown%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-919819%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-919819%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429342%22%20target%3D%22_blank%22%3E%40KAB525%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20a%20certain%20Date%2C%20Project%20Name%20and%20Customer%20Name%2C%20do%20you%20have%20one%20unique%20row%20of%20data%20on%20your%20data%20source%3F%3C%2FP%3E%3CP%3ETry%20searching%20on%20Youtube%20by%20%22VLOOKUP%20with%20multiple%20criteria.%22%20There%20are%20many%20solutions%20available.%20The%20one%20that%20fits%20your%20case%20will%20depend%20on%20how%20you%20have%20your%20data%20laid%20out%20and%20what%20you%20need%20to%20extract.%20You%20may%20need%20to%20use%20some%20techniques%20that%20do%20not%20involve%20the%20VLOOKUP%20formula.%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20found%20something%20that%20solves%20your%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-919829%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-919829%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429342%22%20target%3D%22_blank%22%3E%40KAB525%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIF%20there%20is%20a%20possibility%20of%20more%20than%20one%20records%20as%20per%20the%20criteria%20you%20select%2C%20look%20for%20Advanced%20Filter.%3C%2FP%3E%3CP%3EIt%20needs%20some%20setup%20to%20make%20it%20work%20but%20once%20properly%20setup%20can%20be%20automated%20as%20well%20so%20that%20you%20change%20the%20criteria%20and%20it%20would%20return%20the%20different%20set%20of%20records.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20need%20help%20to%20achieve%20that%2C%20please%20upload%20a%20sample%20file%20and%20I%20will%20help%20to%20set%20it%20up%20for%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnother%20option%20other%20than%20Advanced%20Filter%20and%20the%20formulas%20is%2C%20you%20can%20convert%20your%20data%20into%20an%20Excel%20Table%20and%20then%20insert%20three%20slicers%20for%20Customer%20Name%2C%20Date%20and%20Project%23%20and%20then%20you%20can%20select%20the%20criteria%20from%20slicers%20and%20the%20data%20in%20your%20table%20will%20be%20filtered%20in%20place%20and%20will%20show%20you%20the%20records%20that%20meet%20the%20criteria%20selected%20and%20I%20hope%20this%20would%20be%20the%20easiest%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920133%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920133%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394231%22%20target%3D%22_blank%22%3E%40Subodh_Tiwari_sktneer%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20template%20I%20am%20working%20with.%26nbsp%3B%20On%20Report%20tab%20I%20want%20to%20be%20able%20to%201)%20select%20customer%20then%202)%20select%20date%20and%20then%203)%20the%20Project%23.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20report%20auto-completes%20with%20the%20information%20retrieved%20from%20the%20vlookup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20get%20the%20customer%20vlookup%20to%20work%20but%20not%20the%20second%20and%20third%20criteria.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920157%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920157%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429342%22%20target%3D%22_blank%22%3E%40KAB525%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20want%20to%20populate%20C3%3AM3%20only%20if%20all%20the%20three%20criteria%20are%20selected%20from%20B1%3AB3%3F%3C%2FP%3E%3CP%3EIf%20so%2C%20please%20find%20the%20attached%20with%20all%20the%20formulas%20in%20the%20range%20C3%3AM3%20so%20that%20once%20all%20the%20criteria%20i.e.%20Customer%2C%20Report%20Date%20and%20Project%20are%20selected%20from%20B1%3AB3%20respectively%2C%20the%20C3%3AM3%20will%20be%20populated%20with%20the%20relevant%20record%20else%20they%20will%20be%20blank.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20inserted%20the%20dynamic%20named%20ranges%20for%20all%20the%20fields%20on%20the%20Data%20tab%20and%20I%20have%20also%20tweaked%20the%20formulas%20used%20in%20the%20Report%20area.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20this%20is%20what%20you%20were%20trying%20to%20achieve.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920364%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920364%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394231%22%20target%3D%22_blank%22%3E%40Subodh_Tiwari_sktneer%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYES!!!!%26nbsp%3B%20Thank%20you%20kind%20stranger%20-%20that%20is%20exactly%20what%20I%20wanted%20to%20achieve.%26nbsp%3B%20Thank%20you%20so%20much%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20certainly%20be%20back%20%3D%20)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920374%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920374%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429580%22%20target%3D%22_blank%22%3E%40kab5251%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20happy%20that%20you%20got%20your%20answer.%20Please%20make%20sure%20to%20mark%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394231%22%20target%3D%22_blank%22%3E%40Subodh_Tiwari_sktneer%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%20's%20post%20as%20the%20best%20answer%20to%20your%20question.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMay%20you%20all%20have%20a%20wonderful%20day!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920948%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920948%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429342%22%20target%3D%22_blank%22%3E%40KAB525%3C%2FA%3E%26nbsp%3B%26nbsp%3B%20Here's%20an%20altogether%20different%20solution%20to%20your%20problem%2C%20one%20using%20the%20seldom%20used%20(but%20quite%20powerful)%20database%20functions%20within%20Excel.%20There's%20a%20whole%20set%20of%20functions%20that%20begin%20with%20the%20letter%20D%2C%20such%20things%20as%20DSUM%2C%20DAVERAGE%2C%20DMIN%2C%20DMAX.....%20this%20uses%20only%20the%20very%20simple%20DGET%20to%20retrieve%20the%20data%20elements%20you%20want%20from%20your%20database%20.%20You%20asked%20for%20three%20criteria%2C%20so%20this%20is%20set%20up%20with%20those%20three%20possible%2C%20but%20so%20long%20as%20you%20have%20a%20unique%20Customer%20name%20(i.e.%2C%20only%20used%20once)%20or%20unique%20Project%20Number%2C%20you%20really%20need%20enter%20only%20that%20one%20field.%20But%20if%20you%20have%20two%20rows%20for%20the%20same%20customer%2C%20then%20you'll%20need%20to%20differentiate%20it%20by%20using%20a%20project%20number.%20There's%20a%20text%20box%20on%20the%20sheet%20that%20gives%20a%20little%20more%20complete%20explanation%2C%20but%20feel%20free%20to%20write%20back%20if%20you%20have%20questions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20a%20spreadsheet%20like%20this%2C%20with%20many%20many%20rows%2C%20to%20create%20invoices%20for%20consulting%2C%20with%20separate%20rows%20(a%20variable%20number%20of%20them%20in%20any%20given%20invoice)%20for%20different%20types%20of%20consulting%2C%20and%20with%20DSUM%20to%20total%20hours%20by%20category.......%20and%20then%20factor%20in%20a%20per%20hour%20billing%20rate%20to%20arrive%20at%20a%20final%20invoice.%20It%20works%20like%20a%20charm.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-925771%22%20slang%3D%22en-US%22%3ERe%3A%20Vlookup%20help%20With%20three%20indirect%20drop%20downs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-925771%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F429580%22%20target%3D%22_blank%22%3E%40kab5251%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EYES!!!!%26nbsp%3B%20Thank%20you%20kind%20stranger%20-%20that%20is%20exactly%20what%20I%20wanted%20to%20achieve.%26nbsp%3B%20Thank%20you%20so%20much%3C%2FP%3E%3CP%3EI%20will%20certainly%20be%20back%20%3D%20)%26nbsp%3B%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EYou're%20welcome!%20Glad%20I%20could%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E
KAB525
New Contributor

I am trying to create a report using vlookup with three dropdowns to filter that dated data.  One would be the customer name,  second would be the date and final would be project no.   So if a Customer is selected from the drop down, and 10/13/2019 and 75686 are chosen for the project# the report would populate with the selected criteria.

 

If the date was changed to 10/25/2019 the report would change to that data.

 

I have youtubed the heck out of my scenerio and cannot get the drop downs to sync Help!

8 Replies

@KAB525 

For a certain Date, Project Name and Customer Name, do you have one unique row of data on your data source?

Try searching on Youtube by "VLOOKUP with multiple criteria." There are many solutions available. The one that fits your case will depend on how you have your data laid out and what you need to extract. You may need to use some techniques that do not involve the VLOOKUP formula. 

Let me know if you found something that solves your problem.

@KAB525 

IF there is a possibility of more than one records as per the criteria you select, look for Advanced Filter.

It needs some setup to make it work but once properly setup can be automated as well so that you change the criteria and it would return the different set of records.

 

If you need help to achieve that, please upload a sample file and I will help to set it up for you.

 

Another option other than Advanced Filter and the formulas is, you can convert your data into an Excel Table and then insert three slicers for Customer Name, Date and Project# and then you can select the criteria from slicers and the data in your table will be filtered in place and will show you the records that meet the criteria selected and I hope this would be the easiest for you.

@Subodh_Tiwari_sktneer 

 

Here is the template I am working with.  On Report tab I want to be able to 1) select customer then 2) select date and then 3) the Project#.

 

The report auto-completes with the information retrieved from the vlookup.

 

I can get the customer vlookup to work but not the second and third criteria.

 

Any help would be appreciated

@KAB525 

Do you want to populate C3:M3 only if all the three criteria are selected from B1:B3?

If so, please find the attached with all the formulas in the range C3:M3 so that once all the criteria i.e. Customer, Report Date and Project are selected from B1:B3 respectively, the C3:M3 will be populated with the relevant record else they will be blank.

 

I have inserted the dynamic named ranges for all the fields on the Data tab and I have also tweaked the formulas used in the Report area.

 

Let me know if this is what you were trying to achieve.

 

 

@Subodh_Tiwari_sktneer  

 

YES!!!!  Thank you kind stranger - that is exactly what I wanted to achieve.  Thank you so much

 

I will certainly be back = ) 

 

 

@kab5251 

I am happy that you got your answer. Please make sure to mark @Subodh_Tiwari_sktneer  's post as the best answer to your question.

May you all have a wonderful day!

@KAB525   Here's an altogether different solution to your problem, one using the seldom used (but quite powerful) database functions within Excel. There's a whole set of functions that begin with the letter D, such things as DSUM, DAVERAGE, DMIN, DMAX..... this uses only the very simple DGET to retrieve the data elements you want from your database . You asked for three criteria, so this is set up with those three possible, but so long as you have a unique Customer name (i.e., only used once) or unique Project Number, you really need enter only that one field. But if you have two rows for the same customer, then you'll need to differentiate it by using a project number. There's a text box on the sheet that gives a little more complete explanation, but feel free to write back if you have questions.

 

I use a spreadsheet like this, with many many rows, to create invoices for consulting, with separate rows (a variable number of them in any given invoice) for different types of consulting, and with DSUM to total hours by category....... and then factor in a per hour billing rate to arrive at a final invoice. It works like a charm.

 


@kab5251 wrote:

YES!!!!  Thank you kind stranger - that is exactly what I wanted to achieve.  Thank you so much

I will certainly be back = ) 


You're welcome! Glad I could help.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies