SOLVED

Formula help :)

%3CLINGO-SUB%20id%3D%22lingo-sub-1566817%22%20slang%3D%22de-DE%22%3ESubject%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566817%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EHere%20is%20a%20small%20example%20with%20conditional%20formatting.%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22%22%3EIt%20is%20easiest%20for%20the%20user%20to%20see%20everything%20at%20a%20glance.%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20find%20this%20helpful%2C%20please%20mark%20it%20as%20%22Best%20Answer%22%20and%20as%20Like%20(click%20thumbs%20up)%2C%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1566836%22%20slang%3D%22en-US%22%3EBetreff%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566836%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722750%22%20target%3D%22_blank%22%3E%40Nikolino%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EIt%20was%20not%20excactly%20what%20I%20was%20looking%20for.%20I%20am%20more%20interested%20in%20a%20formular%20making%20the%20listing%20with%20no%20errors%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EBest%20wishes%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1566848%22%20slang%3D%22de-DE%22%3ESubject%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566848%22%20slang%3D%22de-DE%22%3Ein%20formula%20for%20each%20row%20%3CBR%20%2F%3E%20%3DIF(MATCH(A13%2C%24B2%3A%24N2%2C0)%3DROW()%2C%22%22%2C%22double%22)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1566857%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566857%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3BPerhaps%20you%20only%20need%20to%20see%20that%20there%20are%20duplicate%20employee%20codes%20in%20each%20of%20the%207%20time-slots.%20Then%20you%20can%20use%20%22conditional%20formatting%2C%20highlight%20duplicate%20values%22%2C%20for%20each%20of%20the%207%20rows.%20See%20attached.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567042%22%20slang%3D%22en-US%22%3EBetreff%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567042%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%2C%3C%2FP%3E%3CP%3EWould%20you%20mind%20writing%20the%20formula%20directly%20in%20the%20Excel%20sheet%3F%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567083%22%20slang%3D%22de-DE%22%3ESubject%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567083%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EPlease%20take%20a%20look%20at%20this%20proposal%20with%20data%20verification.%3C%2FSPAN%3E%3CBR%20%2F%3E%20%3CSPAN%3Ethe%20first%20row%20(B2%3A%20N2)%20has%20been%20made%20as%20an%20example.%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20find%20this%20helpful%2C%20please%20mark%20it%20as%20%22Best%20Answer%22%20and%20as%20Like%20(click%20thumbs%20up)%2C%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567356%22%20slang%3D%22en-US%22%3EBetreff%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567356%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722750%22%20target%3D%22_blank%22%3E%40Nikolino%3C%2FA%3E%26nbsp%3B%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EThank%20you%20very%20much%2C%20however%2C%20I%20don't%20read%20your%20suggestion%20in%20the%20attached%20file%3F%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20you%20mind%20attaching%20it%20again%2C%20using%20another%20filename%3F%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20for%20your%20kind%20willingness.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567591%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567591%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20on%20Excel%20with%20dynamic%20arrays%20that%20could%20be%20done%20with%20helper%20ranges%20which%20could%20be%20created%20at%20any%20place%20of%20your%20workbook%20(better%20in%20separate%20sheet)%3C%2FP%3E%0A%3CP%3EHere%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20786px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210424i839D33110F4CC533%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Estarting%20from%20B12%20make%20headers%20for%20the%20time%20as%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DTRANSPOSE(%24A%242%3A%24A%248)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EIn%20B13%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSORT(FILTER(%24A%2413%3A%24A%2432%2CCOUNTIF(INDEX(%24B%242%3A%24N%248%2CMATCH(B%2412%2C%24A%242%3A%24A%248%2C0)%2C0)%2C%24A%2413%3A%24A%2432)%3D0))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E(it%20shows%20names%20are%20not%20assigned%20for%20that%20time)%20and%20drag%20it%20to%20the%20right.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelect%20your%20entire%20range%20and%20add%20data%20validation%20to%20all%20cells%20as%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20640px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210427iD6EB8469C2E97E9F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFormula%20is%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(%24B%2413%3A%24H%2413%2C0%2CROW()-ROW(%24A%241))%23%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20the%20second%20question%20I%20didn't%20catch%2C%20could%20you%20please%20illustrate%20in%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1567734%22%20slang%3D%22de-DE%22%3ESubject%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1567734%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EPlease%20see%20the%20information%20in%20the%20worksheet%3C%2FSPAN%3E%3C%2FSPAN%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1568518%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1568518%22%20slang%3D%22en-US%22%3E%3CP%3EDear%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%2C%3C%2FP%3E%3CP%3EThank%20you%20-%20very%20helpful!!%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20illustrate%20the%20matter%20related%20to%20my%20second%20question%20-%20please%20see%20attached%20file.%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1568600%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1568600%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%3B%3C%2FP%3E%3CP%3EAnother%20questions%20if%20okay%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20also%20set%20up%20a%20rule%20using%20a%20formular%20so%20that%20only%20certain%20employees%20(from%20the%20list)%20can%20be%20selected%20for%20special%20rooms%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEx%3A%3CBR%20%2F%3EROOM%201%3A%20Only%20AA%3B%20AB%3B%20AC%3B%20AD%3B%20AE%20and%20AJ%20can%20stay%20here%3C%2FP%3E%3CP%3EROOM%202%3A%20Only%20AA%2C%20AC%2C%20AM%2C%20AS%20and%20AR%20can%20stay%20here%3C%2FP%3E%3CP%3Eand%20so%20on....%20%3F%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1570708%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570708%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMaria%2C%3C%2FP%3E%0A%3CP%3ESecond%20question%20-%20I%20see%2C%20thank%20you.%20For%20it%20you%20need%20list%20of%20rooms%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20990px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210631i05568354F91729E5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFormulas%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DFILTER(%24A%2450%3A%24A%2462%2CCOUNTIF(INDEX(%24B%2412%3A%24U%2418%2CMATCH(B%2449%2C%24A%2412%3A%24A%2418%2C0)%2C0)%2C%24A%2450%3A%24A%2462)%3D0)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EData%20validation%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(%24B%2450%3A%24H%2450%2C0%2CROW()-ROW(%24A%2411))%23%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1570847%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570847%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelected%20employees%20per%20room%20-%20so%20far%20have%20no%20proper%20solution%2C%20will%20try%20to%20find%20some%20later.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1571212%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571212%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%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%3CP%3EI%20think%20I%20didn't%20succeed%20in%20explaining%20it%20the%20right%20way.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3ESo%20what%20I%20actually%20wanted%20(regarding%20my%20second%20question)%20is%20only%20a%20change%20in%20the%20way%20the%20data%20will%20be%20visualized%20in%20the%20Excel%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20actually%20I%20only%20want%20to%20be%20able%20to%20pick%20certain%20employees%20and%20put%20them%20into%20a%20certain%20room%20-%20not%20the%20opposite.%3C%2FP%3E%3CP%3EHowever%2C%20in%20addition%20to%20the%20first%20scheme%2C%20I%20would%20also%20like%20a%20scheme%20showing%20which%20rooms%20each%20employee%20should%20stay%20in.%20So%20it's%20probably%20some%20kind%20of%20transpose%20formula%20I%20need%20here%3F%20Unforntunately%2C%20I%20don't%20know%20how%20to%20do%20it.%3C%2FP%3E%3CP%3EDo%20you%20understand%20what%20I%20want%3F%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EBest%20wishes%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS%3A%20Hope%20you%20will%20find%20a%20solution%20to%20my%20third%20question%20aswell%20-%20that%20would%20be%20awesome.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1571430%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571430%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Maria%20-%20sorry%20for%20misunderstanding%2C%20that's%20clear%20now.%20Will%20be%20back.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1571460%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571460%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecond%20question%3A%3C%2FP%3E%0A%3CP%3EVisualization%20like%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20550px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210725i226F43BD32E2F1B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Ein%20B12%20is%20the%20formula%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DXLOOKUP(B%2411%2C%24B2%3A%24N2%2C%24B%241%3A%24N%241%2C%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20drag%20it%20to%20the%20right%20and%20down%20on%20entire%20range.%3C%2FP%3E%0A%3CP%3ETime%20is%20better%20return%20as%20reference%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3D%24A%242%3A%24A%248%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20headers%20with%20names%20as%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DTRANSPOSE(%24A%2424%3A%24A%2443)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EThat's%20not%20a%20good%20idea%20to%20duplicate%20same%20data%20manually%20in%20different%20places.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThird%20question%3A%3C%2FP%3E%0A%3CP%3EStill%20not%20sure%20how%20to%20do%2C%20just%20top%20clarify%20in%20which%20form%20you%20keep%20the%20list%20of%20persons%20allowed%20for%20each%20room.%20That%20could%20be%20a%20matrix%20like%20this%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20431px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210730iB052E65D78D20B76%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1571817%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571817%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThird%20question.%20Solution%20is%20bit%20straightforward%2C%20but%20perhaps%20works%20correctly.%3C%2FP%3E%0A%3CP%3ESo%2C%20in%20Room%20Allowance%20sheet%20we%20keep%20matrix%20like%20this%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20593px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210839i9D6D6A3F65A0460C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThat's%20the%20only%20source%20for%20employee%20and%20room%20names%2C%20in%20all%20other%20places%20we%20reference%20on%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%20is%20Helper%20sheet%20(could%20be%20hided)%20where%20we%20keep%20combinations%20of%20all%20available%20periods%20and%20rooms%20and%20build%20for%20each%20such%20combination%20list%20of%20employees%20allowed%20to%20book%20the%20room.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20732px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210840i1B6F7C5C3C59E596%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3BIn%20C4%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(Booking!%24C%243%3A%24O%243%2C1%2CINT((COLUMN()-COLUMN(%24B%245)-1)%2FCOUNTA(Booking!%24B%244%3A%24B%2410))%2B1)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Edrag%20it%20to%20the%20right%20till%20error%20appears.%3C%2FP%3E%0A%3CP%3EIn%20C5%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(Booking!%24B%244%3A%24B%2410%2CMOD((COLUMN()-COLUMN(%24B%245)-1)%2CCOUNTA(Booking!%24B%244%3A%24B%2410))%2B1%2C1)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20in%20C6%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSORT(FILTER(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20'Rooms%20allowance'!%24B%243%3A%24B%2422%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20(COUNTIF(INDEX(Booking!%24C%244%3A%24O%2410%2CMATCH(C%245%2CBooking!%24B%244%3A%24B%2410%2C0)%2C0)%2C'Rooms%20allowance'!%24B%243%3A%24B%2422)%3D0)*%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20(INDEX('Rooms%20allowance'!%24C%243%3A%24O%2422%2C0%2CXMATCH(C%244%2C'Rooms%20allowance'!%24C%242%3A%24O%242))%3D%22x%22)%0A))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EDrag%20them%20also%20to%20the%20right%20(or%20select%20the%20range%20and%20CTRL%2BR).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EData%20validation%20for%20entire%20booking%20range%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20676px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F210847i28AB5D2EF38083F3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eis%20with%20formula%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(Helper!%24C%246%3A%24CO%246%2C1%2CXMATCH(C%243%26amp%3B%24B4%2CHelper!%24C%244%3A%24CO%244%26amp%3BHelper!%24C%245%3A%24CO%245))%23%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESolution%20is%20very%20depends%20on%20number%20of%20employees%2C%20I%20assumed%20relatively%20small%20one.%3C%2FP%3E%0A%3CP%3EAnother%20variant%20which%20I%20tried%2C%20without%20helper%2C%20doesn't%20work%20since%20data%20validation%20has%20256%20characters%20limit%20on%20formula%20length%20and%20now%20I%20don't%20see%20the%20way%20how%20to%20fit%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593039%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593039%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20SO%20much%20for%20your%20help!!!%20Very%20much%20appreciated.%3C%2FP%3E%3CP%3EHave%20a%20nice%20day%2C%20and%20sorry%20for%20my%20late%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593437%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593437%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%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%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20worked%20a%20bit%20further%20with%20your%20nice%20work.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20I%20would%20really%20like%20if%20I%20could%20use%20your%20%22Helper%22%20pr.%20day%2C%20however%20be%20able%20to%20see%20one%20week%20pr.%20sheet%20(One%20week%20%3D%20Monday%2C%20Tuesday%2C%20Wednesday%2C%20Thursday%2C%20and%20Friday)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEx%3A%20Employer%20%22CATT%22%20should%20be%20allowed%20to%20stay%20with%20%227v%22%20Monday%20morning%20from%208-8.45%20and%208.45-9.30%20and%20with%207x%20Tuesday%20morning%26nbsp%3B8-8.45%20and%208.45-9.30%2C%20and%20so%20on....%20I%20have%20tried%20to%20fix%20the%20formula%20but%20it%20doesn't%20seem%20to%20accept%20my%20changes.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EDo%20you%20understand%20what%20I%20want%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1600020%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1600020%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Maria%2C%3C%2FP%3E%0A%3CP%3EThat's%20bit%20different%20task.%20As%20a%20starting%20point%20allowance%20shall%20be%20defined%20somehow%2C%20not%20sure%20how%20to%20do%20that%20better.%20Perhaps%20deformalized%20table%20as%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECATT%20Mon%208-8.45%207v%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECATT%20Mon%208.45-9.30%207v%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECATT%20Mon%209.30-10.15%206c%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECATT%20Tue%208.45-9.30%207v%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eetc%2C%20but%20it%20will%20be%20quite%20long%20list%20which%20hard%20to%20maintain.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnother%20variant%20create%20table%20for%20each%20person%20with%20time%20vs%20room.%20Or%20like%2C%20have%20no%20proper%20solution%20right%20now.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%22%20should%20be%20allowed%20to%20stay%20with%20%227v%22%20Monday%20morning%20from%208-8.45%20and%208.45-9.30%20and%20with%207x%20Tuesday%20morning%26nbsp%3B8-8.45%20and%208.45-9.30%2C%20and%20so%20on....%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613688%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613688%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%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%3CP%3EThank%20you%20very%20much%20for%20your%20reply%3C%2FP%3E%3CP%3EHow%20should%20I%20make%20the%20formulas%3F%20That%20is%20the%20difficult%20thing%20for%20me.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EHope%20you%20can%20help%20me.%3C%2FP%3E%3CP%3EVery%20best%20wishes%2C%3C%2FP%3E%3CP%3EMaria%20S.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613744%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613744%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Maria%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20not%20about%20the%20formulas%20so%20far.%20That's%20about%20how%20to%20structure%20the%20information%20in%20recognizable%20for%20Excel%20way%20about%20which%20person%20on%20which%20day%20and%20time%20is%20allowed%20to%20book%20this%20or%20that%20room.%20Perhaps%20you%20already%20have%20such%20list%2Ftable%2C%20it%20could%20be%20taken%20as%20the%20starting%20point%20and%20adjusted%20if%20necessary%20to%20make%20more%20suitable%20for%20the%20analysis.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1613756%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1613756%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%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%3CP%3EI%20tried%20to%20adjust%20it%2C%20but%20unfortunately%20it%20doesn't%20seem%20to%20work%2C%20so%20the%20formulas%20might%20be%20fixed%20-%20I%20just%20don't%20get%20it.%3C%2FP%3E%3CP%3EPlease%2C%20if%20you%20have%20the%20time%2C%20could%20I%20ask%20you%20to%20take%20a%20look%20at%20my%20Excel%20document%2C%20where%20I%20tried%20to%20copy%20paste%20your%20formula%2C%20however%20it%20does%20not%20work%20properly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1614501%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1614501%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Maria%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20updated%20file%20which%20exactly%20table%20shall%20be%20filled%20and%20what%20is%20the%20data%20source.%20In%20addition%20you%20have%26nbsp%3BVisning%20uge%2033%20and%20Overview%20sheets%2C%20is%20that%20something%20from%20them%20shall%20be%20used%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1616374%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1616374%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20again%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%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20forget%20about%20%22Visning%20uge%2033%22%20and%20%22Overview%22.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EI%20would%20like%20to%20fill%20the%20table%20in%20the%20sheet%20called%20%22Week%2038%22%20and%20the%20data%20source%20is%20%22Classes%22%3C%2FP%3E%3CP%3EBest%20regards%2C%26nbsp%3B%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620806%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620806%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Maria%2C%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20delay%2C%20was%20quite%20busy%20these%20days.%3C%2FP%3E%0A%3CP%3EFormulas%3A%20I%20changed%20Helper%20layout%2C%20now%20it%20looks%26nbsp%3B%20as%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20576px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F215375i38D0FB660A827839%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20assume%20we%20exactly%20the%20same%20names%20and%20rooms%20for%20each%20day%20of%20the%20week%20as%20defined%20in%20Classes%2C%20and%20same%20time%20frames%20for%20each%20day.%26nbsp%3BFor%20possible%20modifications%20if%20Classes%20will%20be%20different%20for%20days%20of%20the%20week%2C%20as%20well%20as%20times%2C%20such%20layout%20will%20be%20more%20suitable.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERanges%20with%20room%2C%20times%20and%20booking%20are%20named%2C%20you%20may%20check%20exact%20names%20in%20Name%20Manager.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFormulas%20for%20data%20validation%20drop-down%20are%20at%20the%20right%20in%20Week%2038%2C%20they%20could%20be%20removed.%20Perhaps%20some%20other%20changes%20I%20forgot%20to%20mention%2C%20please%20check%20the%20file.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621545%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621545%22%20slang%3D%22en-US%22%3E%3CP%3EHi%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%3CP%3EThank%20you%20very%20much%20for%20your%20reply.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EIt%20looks%20like%20I%20can%20book%20the%20employee%20more%20times%20than%20one%20at%20the%20same%20time%20slot.%3CBR%20%2F%3ESee%20Tuesday%20%22TUDA%22.%20I%20would%20really%20like%20that%20if%20I%20choose%20TUDA%20for%206x%2C%20it%20should%20not%20be%20possible%20also%20to%20choose%20TUDA%20for%206y%20and%208z%20at%20the%20same%20time%20that%20day.%20You%20see%3F%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMaria%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621792%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621792%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20are%20right%2C%20forgot%20about%20this.%20I%20expanded%20Helper%20on%20all%20days%2C%20no%20booking%20is%20checked%20independently%20for%20each%20day.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1622134%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1622134%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20very%20much%2C%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%3CP%3EI%20really%20appreciate%20your%20help!!%3C%2FP%3E%3CP%3EVery%20best%20regards%2C%3C%2FP%3E%3CP%3EMaria%20Solh%C3%B8j%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1622647%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1622647%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749911%22%20target%3D%22_blank%22%3E%40mariasolhoej%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome.%20Hope%20it%20works%20this%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1566801%22%20slang%3D%22en-US%22%3EFormula%20help%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1566801%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everybody%2C%3C%2FP%3E%3CP%3EI%20am%20new%20here%2C%20and%20I%20really%20hope%20that%20you%20will%20be%20able%20to%20help%20me%20on%20this%20(Please%20find%20the%20excel%20file%20attached)%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20make%20a%20formular%20that%20ensures%20that%20no%20employees%20are%20listed%20twice%20(or%20more)%20in%20each%20row%3F%3C%2FP%3E%3CP%3EAnd%26nbsp%3Bhow%20do%20I%20-%20still%20%22automatically%22%20make%20en%20additional%20scheme%20showing%20the%20employees'%20names%20in%20the%20first%20row%20instead%20of%20the%20rooms%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20wishes%2C%3C%2FP%3E%3CP%3EMaria%20S.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1566801%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Hi everybody,

I am new here, and I really hope that you will be able to help me on this (Please find the excel file attached):

 

How do I make a formular that ensures that no employees are listed twice (or more) in each row?

And how do I - still "automatically" make en additional scheme showing the employees' names in the first row instead of the rooms? 

 

Thank you very much in advance.

 

Best wishes,

Maria S.

29 Replies
Highlighted

@mariasolhoej 

 

Here is a small example with conditional formatting.
It is easiest for the user to see everything at a glance.

 

If you find this helpful, please mark it as "Best Answer" and as Like (click thumbs up), it will be beneficial to more Community members reading here.

 

Nikolino

I know I don't know anything (Socrates)

Highlighted

Hi @Nikolino 

Thanks for your reply.

It was not excactly what I was looking for. I am more interested in a formular making the listing with no errors

Best wishes,

Maria

Highlighted
in formula for each row
=IF(MATCH(A13,$B2:$N2,0)=ROW(),"","double")
Highlighted

Hi again,

Would you mind writing the formula directly in the Excel sheet?

 

Highlighted

@mariasolhoej 

 

Please take a look at this proposal with data verification.
the first row (B2: N2) has been made as an example.

 

If you find this helpful, please mark it as "Best Answer" and as Like (click thumbs up), it will be beneficial to more Community members reading here.

 

Nikolino

I know I don't know anything (Socrates)

Highlighted

Hi again, @Nikolino 

Thank you very much, however, I don't read your suggestion in the attached file? 

Would you mind attaching it again, using another filename?

Thank you very much for your kind willingness.

Best regards,

Maria

Highlighted

@mariasolhoej 

If you are on Excel with dynamic arrays that could be done with helper ranges which could be created at any place of your workbook (better in separate sheet)

Here

image.png

starting from B12 make headers for the time as

=TRANSPOSE($A$2:$A$8)

In B13

=SORT(FILTER($A$13:$A$32,COUNTIF(INDEX($B$2:$N$8,MATCH(B$12,$A$2:$A$8,0),0),$A$13:$A$32)=0))

(it shows names are not assigned for that time) and drag it to the right.

 

Select your entire range and add data validation to all cells as

image.png

Formula is

=INDEX($B$13:$H$13,0,ROW()-ROW($A$1))#

 

As for the second question I didn't catch, could you please illustrate in file.

Highlighted

@mariasolhoej 

 

Please see the information in the worksheet.

Highlighted

Dear @Sergei Baklan ,

Thank you - very helpful!!

I have tried to illustrate the matter related to my second question - please see attached file. 

Best regards,

Maria

Highlighted

@Sergei Baklan 

Another questions if okay:

 

Could you also set up a rule using a formular so that only certain employees (from the list) can be selected for special rooms:

 

Ex:
ROOM 1: Only AA; AB; AC; AD; AE and AJ can stay here

ROOM 2: Only AA, AC, AM, AS and AR can stay here

and so on.... ?

Best regards,

Maria

 

Highlighted

@mariasolhoej 

Maria,

Second question - I see, thank you. For it you need list of rooms

image.png

Formulas like

=FILTER($A$50:$A$62,COUNTIF(INDEX($B$12:$U$18,MATCH(B$49,$A$12:$A$18,0),0),$A$50:$A$62)=0)

Data validation

=INDEX($B$50:$H$50,0,ROW()-ROW($A$11))#
Highlighted

@mariasolhoej 

Selected employees per room - so far have no proper solution, will try to find some later.

Highlighted

Hi again @Sergei Baklan 

I think I didn't succeed in explaining it the right way.

So what I actually wanted (regarding my second question) is only a change in the way the data will be visualized in the Excel file.

 

So, actually I only want to be able to pick certain employees and put them into a certain room - not the opposite.

However, in addition to the first scheme, I would also like a scheme showing which rooms each employee should stay in. So it's probably some kind of transpose formula I need here? Unforntunately, I don't know how to do it.

Do you understand what I want?

Best wishes,

Maria

 

PS: Hope you will find a solution to my third question aswell - that would be awesome.

 

Highlighted

@mariasolhoej 

Hi Maria - sorry for misunderstanding, that's clear now. Will be back.

Highlighted

@mariasolhoej 

Second question:

Visualization like

image.png

in B12 is the formula

=XLOOKUP(B$11,$B2:$N2,$B$1:$N$1,"")

and drag it to the right and down on entire range.

Time is better return as reference

=$A$2:$A$8

and headers with names as

=TRANSPOSE($A$24:$A$43)

That's not a good idea to duplicate same data manually in different places.

 

Third question:

Still not sure how to do, just top clarify in which form you keep the list of persons allowed for each room. That could be a matrix like this

image.png

Highlighted
Best Response confirmed by mariasolhoej (Occasional Contributor)
Solution

@mariasolhoej 

Third question. Solution is bit straightforward, but perhaps works correctly.

So, in Room Allowance sheet we keep matrix like this

image.png

That's the only source for employee and room names, in all other places we reference on it.

 

Next is Helper sheet (could be hided) where we keep combinations of all available periods and rooms and build for each such combination list of employees allowed to book the room.

image.png

 In C4

=INDEX(Booking!$C$3:$O$3,1,INT((COLUMN()-COLUMN($B$5)-1)/COUNTA(Booking!$B$4:$B$10))+1)

drag it to the right till error appears.

In C5

=INDEX(Booking!$B$4:$B$10,MOD((COLUMN()-COLUMN($B$5)-1),COUNTA(Booking!$B$4:$B$10))+1,1)

and in C6

=SORT(FILTER(
              'Rooms allowance'!$B$3:$B$22,
              (COUNTIF(INDEX(Booking!$C$4:$O$10,MATCH(C$5,Booking!$B$4:$B$10,0),0),'Rooms allowance'!$B$3:$B$22)=0)*
              (INDEX('Rooms allowance'!$C$3:$O$22,0,XMATCH(C$4,'Rooms allowance'!$C$2:$O$2))="x")
))

Drag them also to the right (or select the range and CTRL+R).

 

Data validation for entire booking range

image.png

is with formula

=INDEX(Helper!$C$6:$CO$6,1,XMATCH(C$3&$B4,Helper!$C$4:$CO$4&Helper!$C$5:$CO$5))#

 

Solution is very depends on number of employees, I assumed relatively small one.

Another variant which I tried, without helper, doesn't work since data validation has 256 characters limit on formula length and now I don't see the way how to fit it.

Highlighted

Thank you SO much for your help!!! Very much appreciated.

Have a nice day, and sorry for my late response.

 

Best regards,

Maria

Highlighted

Hi again @Sergei Baklan 

 

So, I worked a bit further with your nice work.

 

Now, I would really like if I could use your "Helper" pr. day, however be able to see one week pr. sheet (One week = Monday, Tuesday, Wednesday, Thursday, and Friday) 

 

Ex: Employer "CATT" should be allowed to stay with "7v" Monday morning from 8-8.45 and 8.45-9.30 and with 7x Tuesday morning 8-8.45 and 8.45-9.30, and so on.... I have tried to fix the formula but it doesn't seem to accept my changes.

Do you understand what I want?

 

Best regards,

Maria

 

Highlighted

@mariasolhoej 

Hi Maria,

That's bit different task. As a starting point allowance shall be defined somehow, not sure how to do that better. Perhaps deformalized table as

CATT Mon 8-8.45 7v

CATT Mon 8.45-9.30 7v

CATT Mon 9.30-10.15 6c

CATT Tue 8.45-9.30 7v

etc, but it will be quite long list which hard to maintain.

 

Another variant create table for each person with time vs room. Or like, have no proper solution right now.

 

 

 

" should be allowed to stay with "7v" Monday morning from 8-8.45 and 8.45-9.30 and with 7x Tuesday morning 8-8.45 and 8.45-9.30, and so on....