SOLVED
Home

Creating a Form

%3CLINGO-SUB%20id%3D%22lingo-sub-832129%22%20slang%3D%22en-US%22%3ECreating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832129%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20workbook%20of%2030%20different%20tabs%20and%20I%20need%20a%20summary%20chart%20on%20a%20separate%20tab%20that%20will%20have%20a%20drop%20down%20list%20with%20the%20names%20of%20each%20tab%20so%20that%20when%20one%20is%20selected%2C%20only%20the%20data%20from%20that%20specific%20tab%20can%20be%20used.%20I%20know%20how%20to%20create%20the%20drop%20down%20list%2C%20I%20just%20don't%20know%20how%20to%20make%20sure%20that%20when%20a%20specific%20tab%20is%20selected%20in%20the%20drop%20down%2C%20the%20data%20that%20is%20being%20used%20is%20from%20the%20correct%20tab.%20The%20summary%20tab%20needs%20to%20have%20fillable%20blank%20spots%20so%20that%20once%20a%20particular%20tab%20is%20selected%20from%20the%20drop%20down%2C%20a%20number%20can%20be%20placed%20in%20the%20fillable%20blank%20spot%20and%20a%20hidden%20formula%2C%20referencing%20math%20that%20is%20being%20done%20on%20the%20specified%20tab%2C%20can%20then%20produce%20a%20result.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20say%20I%20have%20twelve%20tabs%2C%20each%20with%20the%20months%20of%20the%20year%20on%20them%20and%20inside%20those%20tabs%2C%20are%20different%20pieces%20of%20information%20regarding%20amount%20of%20money%20made%2C%20number%20of%20tickets%20sold%2C%20labor%20hours%2C%20etc%2C%20with%20a%20formula%20to%20predict%20how%20good%20the%20month%20is%20with%20one%20of%20those%20variables%20missing%20(i.e.%20how%20many%20labor%20hours%20are%20needed%20to%20produce%20x%20amount%20of%20tickets).%20On%20the%20Summary%20tab%2C%20a%20drop%20down%20list%20is%20needed%20to%20identify%20which%20tab%20the%20data%20needs%20to%20be%20pulled%20from.%20Once%20the%20tab%20is%20selected%2C%20hidden%20formulas%20automatically%20adjust%20to%20the%20data%20on%20that%20particular%20tab%20so%20that%20when%20a%20piece%20of%20information%20is%20entered%2C%20a%20number%20will%20generate%20stating%20what%20can%20be%20expected%20for%20that%20month%20based%20off%20of%20past%20patterns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20racking%20my%20brain%20for%20the%20last%202%20hours%20trying%20to%20figure%20it%20out%20and%20I'm%20getting%20nowhere%20fast.%20Any%20help%20is%20greatly%20appreciated.%20Hopefully%20my%20explanations%20are%20enough%20to%20help%20you%20understand%20what%20I'm%20trying%20to%20accomplish.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-832129%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832236%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832236%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fintroduction-to-microsoft-power-query-for-excel-6e92e2f4-2079-4e1f-bad5-89f6269cd605%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPower%20Query%20%3C%2FA%3Eis%20the%20right%20tool%20fo%20such%20applications%20to%20consolidate%2C%20transform%2C%20summarize%20data%20from%20multiple%20places.%26nbsp%3B%20have%20you%20explored%20this%20yet%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3Eonce%20you%20have%20teh%20data%20consolidated%20%2C%20then%20you%20can%20use%20Pivot%20%2FCharts%20%2C%20which%20by%20default%20provide%20you%20dropdown%20to%20pick%20the%20options%20to%20present%20a%20specific%20tab%20or%20any%20other%20variable.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20there%20may%20be%20other%20methods%2C%20given%20the%20amout%20of%20data%20you%20seem%20to%20have%20and%20need%20to%20transform%2C%26nbsp%3B%20it%20is%20best%20to%20use%20power%20query.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20provide%20a%20sample%20data%20file%20%2C%20you%20will%20get%20a%20better%20and%20specific%20solution%20in%20this%20forum.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832262%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832262%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20agree%20with%20the%20team%20mate%20who%20recommended%20that%20you%20post%20a%20sample%20file.%20Specially%20your%20request%20has%20lots%20of%20details%20and%20community%20members%20would%20recommend%20different%20options%20(Functions%2C%20Power%20Query%2C%20VBA...)%20for%20you%20to%20chose%20what%20works%20best%20according%20to%20your%20preferences%20and%20experience.%3C%2FP%3E%3CP%3EGood%20Luck%3C%2FP%3E%3CP%3ENabil%20Mourad%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832316%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832316%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20not%20explored%20a%20Power%20Query.%20I%20have%20never%20even%20tried%20setting%20up%20a%20power%20query%20%2F%20pivot%20table%20to%20explore%20those%20options.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20some%20sample%20data.%20Basically%2C%20on%20the%20Summary%20tab%20I%20would%20need%20to%20be%20able%20to%20select%20Samples%201-3%2C%20since%20they%20are%20each%20different%20months%2C%20and%20then%20be%20able%20to%20put%20in%20a%20number%20in%20C3%3AC9%20(3-5)%20and%20have%20a%20hidden%20formula%20off%20to%20the%20right%20hand%20side%20somewhere%20(maybe%20in%20Column%20E%20or%20something)%2C%20that%20will%20know%20to%20go%20to%20the%20sheet%20selected%20in%20the%20drop%20down%20and%20multiply%20the%20number%20on%20the%20summary%20tab%20by%20S77%3AS83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832320%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832320%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJust%20to%20clarify%20-%20to%20put%20C3%3AC9%20you%20mean%20exactly%20these%20numbers%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20256px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129528iDBF7D3683C2564FB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eand%20nothing%20more%2C%20you%20don't%20need%20other%20weeks%3F%20And%20what%20is%20(3-5)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832321%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832321%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BNo%2C%20I%20mean%20C3%3AC9%20on%20the%20summary%20tab%20with%203-5%20being%20the%20number%20of%20days%20to%20input%20on%20the%20summary%20tab%20next%20to%20number%20of%20sundays%2C%20mondays%2C%20etc.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832338%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832338%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20let%20select%20some%20tab.%20When%20in%20C3%20of%20summary%20tab%20it'll%20be%20number%20of%20Sundays%20from%20column%20A%20(alternatively%20from%20Column%20B%2C%20doesn't%20matter)%20of%20selected%20tab%20-%20lot%20of%20them.%20In%20D3%20shall%20appear%20magic%203%2C%204%20or%205%20-%20from%20where%20they%20shall%20be%20taken%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20457px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129530i9ECAC49E71B91D7E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832348%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832348%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BNo.%20Say%20tab%201%20is%20January.%20In%20C3%20of%20the%20Summary%20tab%2C%20I%20need%20to%20be%20able%20to%20put%20in%20a%20number%20between%203%20and%205%20(i.e.%20there%20were%204%20Sundays%20in%20January)%20and%20have%20a%20hidden%20formula%20in%20column%20D%20to%20go%20to%20S77%20on%20tab%201%20(January)%20and%20multiple%20it%20by%20the%204%20Sundays%20to%20see%20the%20total%20revenue%20expected%20on%20Sundays%20in%20January.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20also%20needs%20to%20be%20a%20drop%20down%20list%20on%20the%20summary%20tab%20for%20when%20I%20need%20to%20do%20the%20same%20for%20February%2C%20March%2C%20etc.%20and%20have%20it%20so%20that%20the%20hidden%20formula%20in%20column%20D%20of%20the%20summary%20tab%20automatically%20adjusts%20(i.e.%20knows%20to%20go%20to%20January%2C%20February%2C%20etc.%20depending%20on%20what's%20been%20selected%20on%20the%20drop%20down)%20so%20that%20if%20I%20want%20to%20say%20there%20were%20only%203%20Sundays%20in%20February%2C%20I%20just%20select%20February%20from%20the%20drop%20down%2C%20put%203%20into%20C3%2C%20and%20have%20the%20hidden%20formula%20multiply%203%20by%20S77%20of%20the%20February%20tab%20(tab%202)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832386%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832386%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%2C%20thank%20you%20for%20the%20clarification.%20One%20more%20-%20in%20you%20sample%20file%20there%20is%20Jan%202018%2C%20Jan%202019%20and%20Jan%202020%20in%20one%20tab%2C%20which%20year%20to%20take%3F%20Or%20your%20actual%20file%20has%20another%20structure%20and%20in%20January%20tab%20you%20have%20only%20records%20for%20January%202019%3F%20Are%20there%20any%20other%20changes%20in%20actual%20file%20compare%20to%20your%20sample%3F%20At%20least%20it%20looks%20like%20we%20shall%20rename%20Sample%201%20tab%20to%20January%2C%20Sample%202%20tab%20to%20February%2C%20etc.%2C%20and%20remove%20from%20each%20tab%20any%20other%20records.%20For%20which%20years%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832397%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832397%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BThe%20Chart%20from%20O76%3AU83%20is%20only%20analyzing%20data%20from%20January%202019.%20I'm%20dealing%20with%20FY%2018-19%20right%20now%20so%20the%20only%20January%20is%202019.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20just%20a%20sample%20chart%20so%20I%20wasn't%20largely%20concerned%20with%20having%20the%20tabs%20the%20actual%20names%20of%20the%20months.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832398%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832398%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20in%20formulas%20keep%20Sample%201%2C%20etc%20and%20count%20all%20Sundays%2C..%20which%20are%20in%20column%20B%20of%20each%20tab%2C%20you%20will%20adjust%20result%20yourself%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832399%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832399%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BAll%20I%20need%20the%20formula%20to%20reference%20is%20cell%20S77%20on%20the%20sample%20tabs%20(again%2C%20just%20making%20sure%20the%20formula%20adjusts%20to%20the%20tab%20based%20on%20the%20drop%20down.%20(i.e.%20if%20Sample%201%20is%20selected%20from%20the%20drop%20down%2C%20I%20need%20it%20to%20multiply%20by%20S77%20on%20the%20Sample%201%20tab%2C%20not%20by%20S77%20on%20the%20Sample%202%20tab%2C%20etc.).%20I%20can%20adjust%20the%20formulas%20later%20to%20reference%20the%20exact%20cells%20needed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832403%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832403%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%2C%20okay%2C%20when%20in%20Summary%20tab%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20393px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129535iD11B2A459A43328B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Estay%20on%20C2%2C%20on%20ribbon%20Data-%26gt%3BData%20validation%2C%20select%20list%20and%20add%20names%20of%20your%20tabs%20as%20here%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20582px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129536i8AA4661771143907%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ETo%20count%20number%20of%20weekdays%20for%20the%20selected%20sheet%20in%20C3%20formula%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DCOUNTIF(INDIRECT(%22'%22%20%26amp%3B%20%24C%242%20%26amp%3B%20%22'!B%3AB%22)%2C%20%24B3)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20drag%20it%20down.%3C%2FP%3E%0A%3CP%3ETo%20return%20value%20of%20the%20cell%20S77%20in%20selected%20sheet%20in%20D3%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DINDEX(INDIRECT(%22'%22%20%26amp%3B%20%24C%242%20%26amp%3B%20%22'!S%3AS%22)%2C76%2BROW()-ROW(%24B%242))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20drag%20it%20down.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESample%20is%20attached.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832406%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832406%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BThis%20is%20perfect%2C%20thank%20you%20so%20much!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832409%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832409%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-842054%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-842054%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BMe%20again.%20So%20the%20formatting%20of%20the%20chart%20needs%20to%20change%20a%20little%20bit.%20All%20of%20the%20data%20is%20going%20to%20be%20on%20one%20master%20sheet%2C%20but%20it%20will%20have%20multiple%20rows%20to%20choose%20from%20(see%20below)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130567i278CF1D4958BC1EC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%221.png%22%20title%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20what%20the%20summary%20chart%20will%20look%20like.%20I%20put%20in%20references%20(DO2%2C%20CL2%2C%20and%20CO2)%20so%20you%20know%20where%20the%20information%20is%20coming%20from.%20The%20desired%20Revenue%20increase%20needs%20to%20be%20pulled%20from%20cell%20DP2%2C%20but%20it%20can%20change%20in%20that%20it's%20set%20at%2020%2C000%20right%20now%20but%20if%20I%20put%2030%2C000%20in%20cell%20C4%20below%2C%20DP2%20(above)%20should%20automatically%20update%20to%2030%2C000%2C%20which%20would%20then%20update%20the%20amounts%20for%20Additional%20Softline%20(ES2)%2C%20Additional%20Hardline%20(FA2)%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130568iCC7585A110CDF38D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222.png%22%20title%3D%222.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20didn't%20put%20cell%20references%20for%20the%20remainder%20of%20the%20sheet%20since%20I%20figured%20if%20I%20at%20least%20know%20how%20to%20do%20the%20references%20for%20a%20few%20of%20the%20cells%2C%20I%20can%20adapt%20them%20for%20the%20remainder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20already%20have%20the%20drop%20down%20list%20set%20up%2C%20it%20just%20needs%20to%20know%20to%20go%20to%20a%20different%20row%2C%20rather%20than%20a%20different%20tab.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20makes%20sense.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-842389%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-842389%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20could%20be%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DINDEX('Master%20Sheet'!%24DP%3A%24DP%2CMATCH(%24C%241%2C'Master%20Sheet'!%24A%3A%24A%2C0))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-842392%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-842392%22%20slang%3D%22en-US%22%3E%3CP%3EI%20tried%20editing%20the%20formula%20to%20put%20in%20the%20correct%20tab%20name%20and%20am%20getting%20%23N%2FA%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DINDEX('with%20dollar%20amount%20pick'!%24DP%3A%24DP%2CMATCH(%24C%241%2C'with%20dollar%20amount%20pick'!%24A%3A%24A%2C0))%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20what%20I%20adjusted%20the%20formula%20to%20say.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-842403%22%20slang%3D%22en-US%22%3ERe%3A%20Creating%20a%20Form%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-842403%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F295182%22%20target%3D%22_blank%22%3E%40ineedhelp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20check%20formula%20in%20attached%20file%3C%2FP%3E%3C%2FLINGO-BODY%3E
ineedhelp
Occasional Contributor

I have a workbook of 30 different tabs and I need a summary chart on a separate tab that will have a drop down list with the names of each tab so that when one is selected, only the data from that specific tab can be used. I know how to create the drop down list, I just don't know how to make sure that when a specific tab is selected in the drop down, the data that is being used is from the correct tab. The summary tab needs to have fillable blank spots so that once a particular tab is selected from the drop down, a number can be placed in the fillable blank spot and a hidden formula, referencing math that is being done on the specified tab, can then produce a result.

 

For example, say I have twelve tabs, each with the months of the year on them and inside those tabs, are different pieces of information regarding amount of money made, number of tickets sold, labor hours, etc, with a formula to predict how good the month is with one of those variables missing (i.e. how many labor hours are needed to produce x amount of tickets). On the Summary tab, a drop down list is needed to identify which tab the data needs to be pulled from. Once the tab is selected, hidden formulas automatically adjust to the data on that particular tab so that when a piece of information is entered, a number will generate stating what can be expected for that month based off of past patterns.

 

I have been racking my brain for the last 2 hours trying to figure it out and I'm getting nowhere fast. Any help is greatly appreciated. Hopefully my explanations are enough to help you understand what I'm trying to accomplish.

18 Replies

@ineedhelp 

 

Power Query is the right tool fo such applications to consolidate, transform, summarize data from multiple places.  have you explored this yet ? 

once you have teh data consolidated , then you can use Pivot /Charts , which by default provide you dropdown to pick the options to present a specific tab or any other variable. 

 

While there may be other methods, given the amout of data you seem to have and need to transform,  it is best to use power query.   

 

If you provide a sample data file , you will get a better and specific solution in this forum.  

@ineedhelp 

Hi

I agree with the team mate who recommended that you post a sample file. Specially your request has lots of details and community members would recommend different options (Functions, Power Query, VBA...) for you to chose what works best according to your preferences and experience.

Good Luck

Nabil Mourad

I have not explored a Power Query. I have never even tried setting up a power query / pivot table to explore those options.

 

Here is some sample data. Basically, on the Summary tab I would need to be able to select Samples 1-3, since they are each different months, and then be able to put in a number in C3:C9 (3-5) and have a hidden formula off to the right hand side somewhere (maybe in Column E or something), that will know to go to the sheet selected in the drop down and multiply the number on the summary tab by S77:S83

@ineedhelp 

Just to clarify - to put C3:C9 you mean exactly these numbers

image.png

and nothing more, you don't need other weeks? And what is (3-5)?

@Sergei Baklan No, I mean C3:C9 on the summary tab with 3-5 being the number of days to input on the summary tab next to number of sundays, mondays, etc.

@ineedhelp 

 

So, let select some tab. When in C3 of summary tab it'll be number of Sundays from column A (alternatively from Column B, doesn't matter) of selected tab - lot of them. In D3 shall appear magic 3, 4 or 5 - from where they shall be taken?

image.png

 

 

@Sergei Baklan No. Say tab 1 is January. In C3 of the Summary tab, I need to be able to put in a number between 3 and 5 (i.e. there were 4 Sundays in January) and have a hidden formula in column D to go to S77 on tab 1 (January) and multiple it by the 4 Sundays to see the total revenue expected on Sundays in January. 

 

There also needs to be a drop down list on the summary tab for when I need to do the same for February, March, etc. and have it so that the hidden formula in column D of the summary tab automatically adjusts (i.e. knows to go to January, February, etc. depending on what's been selected on the drop down) so that if I want to say there were only 3 Sundays in February, I just select February from the drop down, put 3 into C3, and have the hidden formula multiply 3 by S77 of the February tab (tab 2)

@ineedhelp , thank you for the clarification. One more - in you sample file there is Jan 2018, Jan 2019 and Jan 2020 in one tab, which year to take? Or your actual file has another structure and in January tab you have only records for January 2019? Are there any other changes in actual file compare to your sample? At least it looks like we shall rename Sample 1 tab to January, Sample 2 tab to February, etc., and remove from each tab any other records. For which years?

@Sergei Baklan The Chart from O76:U83 is only analyzing data from January 2019. I'm dealing with FY 18-19 right now so the only January is 2019. 

 

It's just a sample chart so I wasn't largely concerned with having the tabs the actual names of the months. 

@ineedhelp 

So, in formulas keep Sample 1, etc and count all Sundays,.. which are in column B of each tab, you will adjust result yourself?

@Sergei Baklan All I need the formula to reference is cell S77 on the sample tabs (again, just making sure the formula adjusts to the tab based on the drop down. (i.e. if Sample 1 is selected from the drop down, I need it to multiply by S77 on the Sample 1 tab, not by S77 on the Sample 2 tab, etc.). I can adjust the formulas later to reference the exact cells needed.

Solution

@ineedhelp , okay, when in Summary tab

image.png

stay on C2, on ribbon Data->Data validation, select list and add names of your tabs as here

image.png

To count number of weekdays for the selected sheet in C3 formula

=COUNTIF(INDIRECT("'" & $C$2 & "'!B:B"), $B3)

and drag it down.

To return value of the cell S77 in selected sheet in D3 

=INDEX(INDIRECT("'" & $C$2 & "'!S:S"),76+ROW()-ROW($B$2))

and drag it down.

 

Sample is attached.

@Sergei Baklan This is perfect, thank you so much!

@ineedhelp , you are welcome

@Sergei Baklan Me again. So the formatting of the chart needs to change a little bit. All of the data is going to be on one master sheet, but it will have multiple rows to choose from (see below)

 

1.png

 

Here is what the summary chart will look like. I put in references (DO2, CL2, and CO2) so you know where the information is coming from. The desired Revenue increase needs to be pulled from cell DP2, but it can change in that it's set at 20,000 right now but if I put 30,000 in cell C4 below, DP2 (above) should automatically update to 30,000, which would then update the amounts for Additional Softline (ES2), Additional Hardline (FA2), etc.

 

2.png

 

I didn't put cell references for the remainder of the sheet since I figured if I at least know how to do the references for a few of the cells, I can adapt them for the remainder.

 

I already have the drop down list set up, it just needs to know to go to a different row, rather than a different tab.

 

Hope this makes sense.

@ineedhelp 

That could be like

=INDEX('Master Sheet'!$DP:$DP,MATCH($C$1,'Master Sheet'!$A:$A,0))

 

I tried editing the formula to put in the correct tab name and am getting #N/A

 

=INDEX('with dollar amount pick'!$DP:$DP,MATCH($C$1,'with dollar amount pick'!$A:$A,0))

 

This is what I adjusted the formula to say. 

@ineedhelp 

Please check formula in attached file

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