SOLVED
Home

VLOOKUP and INDIRECT Formula assistance needed

%3CLINGO-SUB%20id%3D%22lingo-sub-1079967%22%20slang%3D%22en-US%22%3EVLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079967%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20TWO%20issues.%3CBR%20%2F%3E%3CBR%20%2F%3E%231%20For%20some%20reason%20My%20VLOOKUP%20and%20INDIRECT%20combination%20formula%20for%20the%20chart%20is%20not%20retrieving%20the%20data%20and%20rather%20just%20the%20IFERROR.%20I%20converted%20all%20the%20numbers%20correctly%2C%20at%20least%20I%20believe%20I%20did.%3CBR%20%2F%3E%3CBR%20%2F%3E%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%2F163044i6B99EE8E1518A20D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_2.png%22%20title%3D%22clipboard_image_2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%232%20I%20have%20a%20dropdown%20selection%20titled%20%22ALL%22%20which%20I%20want%20to%20retrieve%20the%20SUM'd%20up%20information%20across%20all%20three%20tabs%20when%20selected.%20Is%20this%20possible%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%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%2F163045iEBDB4DE34FF5C479%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_3.png%22%20title%3D%22clipboard_image_3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20in%20SAM%20HILL%20TANRANTION%20is%20going%20on%3F!%3F!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1079967%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECharting%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-1079978%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079978%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1)%20Use%20lookup%20column%20as%20left%20most%2C%20other%20words%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DIFERROR(VLOOKUP(%24E10%2CINDIRECT(%22'%22%26amp%3B%24D%246%26amp%3B%22'!%24B%241%3A%24f%2411%22)%2C2%2CFALSE)%2C%22Day%20Not%20Worked%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E2)%20It's%20possible%20but%20the%20question%20is%20do%20you%20have%20always%20these%203%20sheets%20or%20they%20could%20be%20changed.%20The%20idea%20for%20ALL%20is%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fexceljet.net%2Fformula%2F3d-sumif-for-multiple-worksheets%22%20target%3D%22_blank%22%20rel%3D%22nofollow%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%3Ehttps%3A%2F%2Fexceljet.net%2Fformula%2F3d-sumif-for-multiple-worksheets%3C%2FA%3E.%20Not%20exactly%20your%20case%2C%20just%20direction.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1079997%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079997%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20correcting%20my%20silly%20mistake%20on%20the%20VLOOKUP%2C%20i%20knew%20that!%20Haha...%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20REAL%20question%20than%20is%20how%20do%20i%20associate%20that%20Ability%20for%20the%20%22ALL%22%20in%20my%20drop%20down%20list%2C%20i%20saw%20your%20link%20and%20understand%20the%20formula%20but%20could%20you%20walk%20me%20through%20it%20a%20little%20more%3F%20Think%2C%20%22Excel%20Formulas%20for%20Dummies%22%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20not%20sure%20how%20i'd%20keep%20it%20in%20that%20same%20drop%20down%20list...%20I'm%20providing%20the%20updated%20sample%20worksheet.%3CBR%20%2F%3E%3CBR%20%2F%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%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1080411%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1080411%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirst%2C%20name%20list%20of%20the%20sheets%20as%20%3CSTRONG%3Esheets%3C%2FSTRONG%3E%20(or%20whatever%20name%20your%20prefer)%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20211px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F163047i0626797DF440FF2F%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%3ESecond%2C%20correct%20column%20number%20in%20your%20latest%20version%20of%20VLOOKUP()%2C%20it%20shall%20be%20on%20one%20more%20in%20each%20formula.%3C%2FP%3E%0A%3CP%3EThird%2C%20make%20branches%20for%20the%20selection%20from%20drop-down%20list%2C%20one%20for%20ALL%20and%20another%20one%20for%20any%20other%20name%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EIF(%24D%246%3D%22All%22%2C%3CSUM%20on%3D%22%22%20all%3D%22%22%20sheets%3D%22%22%3E%2C%20VLOOKUP%20as%20before)%3C%2FSUM%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3ENext%2C%20adjust%20for%20your%20ranges%20formula%20from%20the%20link%20and%20combine%20all%20together.%20In%20F10%20it'll%20be%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DIFERROR(%0A%20%20%20IF(%24D%246%3D%22All%22%2C%0A%20%20%20%20%20%20SUMPRODUCT(%0A%20%20%20%20%20%20%20%20%20SUMIF(%0A%20%20%20%20%20%20%20%20%20%20%20%20INDIRECT(%22'%22%26amp%3Bsheets%26amp%3B%22'!%22%26amp%3B%22%24B%242%3A%24B%2410%22)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%24E10%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20INDIRECT(%22'%22%26amp%3Bsheets%26amp%3B%22'!%22%26amp%3B%22%24C%242%3A%24C%2410%22)%0A%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20VLOOKUP(%0A%20%20%20%20%20%20%20%20%20%24E10%2C%0A%20%20%20%20%20%20%20%20%20INDIRECT(%22'%22%26amp%3B%24D%246%26amp%3B%22'!%24B%241%3A%24f%2411%22)%2C2%2CFALSE%0A%20%20%20%20%20%20)%0A%20%20%20)%2C%0A%20%20%20%22Day%20Not%20Worked%22%0A)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3Bsimilar%20for%20next%20columns%20and%20drag%20first%20row%20to%20the%20bottom.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20I'd%20suggest%20to%20take%20day%20of%20the%20week%20from%20the%20date%20to%20avoid%20extra%20errors%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20417px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F163048iE7F939E699F3A430%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%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1080417%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1080417%22%20slang%3D%22en-US%22%3E%3CP%3EI%20walked%20through%20all%20your%20steps%20from%20scratch%20and%20did%20them%20all%20on%20my%20own%20to%20ensure%20I%20understood.%20However%2C%20i'm%20stuck%20on%20one%20thing%2C%20i%20cannot%20get%20my%20versions%20%22ALL%22%20to%20work.%20...%20a%20little%20help%3F%20I've%20attached%20it.%20%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%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1080556%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1080556%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESince%20you%20renamed%20%3CSTRONG%3Esheets%3C%2FSTRONG%3E%20on%20%3CSTRONG%3EList%3C%2FSTRONG%3E%20you%20shall%20update%20formulas%20accordingly.%20Other%20words%20all%20parts%20where%20%3CSTRONG%3Esheets%3C%2FSTRONG%3E%20appears%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E...INDIRECT(%22'%22%26amp%3Bsheets%26amp%3B%22'!%22%26amp%3B%22%24B%242%3A%24B%2410%22)...%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eshall%20be%20changed%20on%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EINDIRECT(%22'%22%26amp%3BList%26amp%3B%22'!%22%26amp%3B%22%24B%242%3A%24B%2410%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081097%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081097%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you!%26nbsp%3B%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%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20has%20corrected%20the%20sample%20and%20I%20now%20believe%20I%20understand%20the%20calculation.%20Unfortunately%2C%20in%20my%20actual%20document%20when%20I%20select%20%22ALL%22%20Excel%20takes%20some%20time%20to%20execute%20its%20calculation%20as%20it%20is%20across%2025%20sheets%20and%2010k%20rows%2C%20but%20when%20it%20finally%20completes%20everything%20comes%20out%20in%20error%20and%20no%20data%20is%20given...%3CBR%20%2F%3E%3CBR%20%2F%3EI%20must%20now%20troubleshoot%20to%20figure%20out%20why%20that%20would%20be.%20All%20of%20my%20other%20drop%20down%20selections%20work...%20hmm%2C%20any%20idea%20why%20that%20would%20be%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081127%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081127%22%20slang%3D%22en-US%22%3E%3CP%3ENice!%20So%20that%20worked%20for%20the%20Sample%20I%20created%20and%20we%20worked%20through.%20However%2C%20my%20actual%20document%20which%20i'm%20providing%20an%20abbreviated%20version%20of%20is%20not%20remedying%20with%20those%20same%20fixes.%20Can%20you%20take%20a%20look%3F%20%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%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081146%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081146%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E3%20points%3C%2FP%3E%0A%3CP%3E1)%20Named%20range%20%3CSTRONG%3ESheets%3C%2FSTRONG%3E%20shall%20not%20include%20ALL%2C%20it%20is%20A6%3AA8%3C%2FP%3E%0A%3CP%3E2)%20Data%20validation%20list%20shall%20include%20All%2C%20thus%20it'll%20be%20not%20%3CSTRONG%3ESheets%3C%2FSTRONG%3E%20but%20A6%3AA9%3C%2FP%3E%0A%3CP%3E3)%20In%20the%20formula%20you%20have%20misprint%2C%20it's%20in%20red%3A%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3DIFERROR(IF(%24C%243%3D%22ALL%22%2CSUMPRODUCT(SUMIF(INDIRECT(%22'%22%26amp%3BSheets%26amp%3B%22'!%22%26amp%3B%22%24A%2423%3A%24A%24350%22)%2C%24D7%2CINDIRECT(%22'%22%26amp%3BSheets%26amp%3B%22'!%22%26amp%3B%22%24%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EH%2423%3A%24H%3A%24350%3C%2FSTRONG%3E%3C%2FFONT%3E%22)))%2CVLOOKUP(%24D7%2CINDIRECT(%22'%22%26amp%3B%24C%243%26amp%3B%22'!%24A%2423%3A%24N%24350%22)%2C14%2CFALSE))%2C%22Day%20Not%20Worked%22)%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20above%20is%20corrected%20in%20attached%20file%2C%20please%20check%20attached.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20email%20I've%20seen%20your%20post%20which%20was%20removed%20-%20yes%2C%20the%20performance%20is%20an%20issue%20with%20INDIRECT()%20and%20especially%20with%20combination%20SUMPRODUCT().%20If%20that%20becomes%20critical%20the%20approach%20is%20to%20be%20revised%20-%20another%20data%20structuring%2C%20perhaps%20Power%20Query%20or%20VBA.%20I%20have%20no%20concrete%20suggestions%20right%20now%2C%20but%20I%20don't%20think%20the%20performance%20could%20be%20significantly%20improved%20with%20formulas%20only.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081150%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081150%22%20slang%3D%22en-US%22%3E%3CP%3EFantastic!%20That%20fixed%20the%20minor%20errors%20so%20now%20it%20is%20pulling%20data.%20However%2C%20I%20checked%20the%20data%20your%20version%20is%20pulling%2C%20and%20it%20is%20not%20correct%20in%20that%20all%20columns%20are%20pulling%20the%20same%20number%20so%20something%20might%20be%20wrong%20with%20the%20formula%3F...%20i.e.%20Outbound%2C%20Inbound%20are%20pulling%20the%20same%20numbers.%26nbsp%3B%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%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081203%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081203%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%2C%20I%20didn't%20check%20the%20rest%20of%20formulas.%20In%20second%20INDIRECT()%20ranges%20shall%20be%20adjusted%20to%20proper%20columns.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20more%20point.%20If%20calculate%20Total%20as%20Inbound%2BOutbound%20it%20will%20be%20different%20from%20the%20value%20if%20sum%20directly.%20I%20guess%20that's%20due%20to%20rounding%20of%20source%20data.%20You%20may%20check%20sums%20at%20the%20bottom%20of%20Jannifer%20sheet%20and%20column%20V%20in%20Dashboard.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081236%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081236%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20so%20much!!!%26nbsp%3B%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%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1081249%22%20slang%3D%22en-US%22%3ERe%3A%20VLOOKUP%20and%20INDIRECT%20Formula%20assistance%20needed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1081249%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F494154%22%20target%3D%22_blank%22%3E%40shade206%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
shade206
Contributor

I have TWO issues.

#1 For some reason My VLOOKUP and INDIRECT combination formula for the chart is not retrieving the data and rather just the IFERROR. I converted all the numbers correctly, at least I believe I did.

clipboard_image_2.png

 

#2 I have a dropdown selection titled "ALL" which I want to retrieve the SUM'd up information across all three tabs when selected. Is this possible? 

clipboard_image_3.png

 

What in SAM HILL TANRANTION is going on?!?!

11 Replies
Highlighted

@shade206 

1) Use lookup column as left most, other words

=IFERROR(VLOOKUP($E10,INDIRECT("'"&$D$6&"'!$B$1:$f$11"),2,FALSE),"Day Not Worked")

2) It's possible but the question is do you have always these 3 sheets or they could be changed. The idea for ALL is here https://exceljet.net/formula/3d-sumif-for-multiple-worksheets. Not exactly your case, just direction.

Highlighted

Thank you for correcting my silly mistake on the VLOOKUP, i knew that! Haha...

The REAL question than is how do i associate that Ability for the "ALL" in my drop down list, i saw your link and understand the formula but could you walk me through it a little more? Think, "Excel Formulas for Dummies"  

I'm not sure how i'd keep it in that same drop down list... I'm providing the updated sample worksheet.

@Sergei Baklan 

Highlighted
Solution

@shade206 

First, name list of the sheets as sheets (or whatever name your prefer)

image.png

Second, correct column number in your latest version of VLOOKUP(), it shall be on one more in each formula.

Third, make branches for the selection from drop-down list, one for ALL and another one for any other name

IF($D$6="All",<sum on all sheets>, VLOOKUP as before)

Next, adjust for your ranges formula from the link and combine all together. In F10 it'll be

=IFERROR(
   IF($D$6="All",
      SUMPRODUCT(
         SUMIF(
            INDIRECT("'"&sheets&"'!"&"$B$2:$B$10"),
            $E10,
            INDIRECT("'"&sheets&"'!"&"$C$2:$C$10")
         )
      ),
      VLOOKUP(
         $E10,
         INDIRECT("'"&$D$6&"'!$B$1:$f$11"),2,FALSE
      )
   ),
   "Day Not Worked"
)

 similar for next columns and drag first row to the bottom.

 

Additionally, I'd suggest to take day of the week from the date to avoid extra errors

image.png 

Highlighted

I walked through all your steps from scratch and did them all on my own to ensure I understood. However, i'm stuck on one thing, i cannot get my versions "ALL" to work. ... a little help? I've attached it. @Sergei Baklan 

Highlighted

@shade206 

Since you renamed sheets on List you shall update formulas accordingly. Other words all parts where sheets appears like

...INDIRECT("'"&sheets&"'!"&"$B$2:$B$10")...

shall be changed on

INDIRECT("'"&List&"'!"&"$B$2:$B$10")

 

Highlighted

Nice! So that worked for the Sample I created and we worked through. However, my actual document which i'm providing an abbreviated version of is not remedying with those same fixes. Can you take a look? @Sergei Baklan 

Highlighted

@shade206 

Hi,

3 points

1) Named range Sheets shall not include ALL, it is A6:A8

2) Data validation list shall include All, thus it'll be not Sheets but A6:A9

3) In the formula you have misprint, it's in red:

=IFERROR(IF($C$3="ALL",SUMPRODUCT(SUMIF(INDIRECT("'"&Sheets&"'!"&"$A$23:$A$350"),$D7,INDIRECT("'"&Sheets&"'!"&"$H$23:$H:$350"))),VLOOKUP($D7,INDIRECT("'"&$C$3&"'!$A$23:$N$350"),14,FALSE)),"Day Not Worked")

 

All above is corrected in attached file, please check attached.

 

In email I've seen your post which was removed - yes, the performance is an issue with INDIRECT() and especially with combination SUMPRODUCT(). If that becomes critical the approach is to be revised - another data structuring, perhaps Power Query or VBA. I have no concrete suggestions right now, but I don't think the performance could be significantly improved with formulas only.

Highlighted

Fantastic! That fixed the minor errors so now it is pulling data. However, I checked the data your version is pulling, and it is not correct in that all columns are pulling the same number so something might be wrong with the formula?... i.e. Outbound, Inbound are pulling the same numbers. @Sergei Baklan 

Highlighted

@shade206 

Sorry, I didn't check the rest of formulas. In second INDIRECT() ranges shall be adjusted to proper columns.

 

One more point. If calculate Total as Inbound+Outbound it will be different from the value if sum directly. I guess that's due to rounding of source data. You may check sums at the bottom of Jannifer sheet and column V in Dashboard.

Highlighted

Thank you so much!!! @Sergei Baklan 

Highlighted

@shade206 , you are welcome

Related Conversations
pull data based on dropdown list
bbombb in Excel on
1 Replies
Leap year formula
Hattsoff in Excel on
4 Replies
Vlookup formula - partial text search
fredericomarquez in Excel on
2 Replies