SOLVED

FORMULA TO GET THE LICENSE OF ACTIVE MAILBOX

%3CLINGO-SUB%20id%3D%22lingo-sub-2011666%22%20slang%3D%22en-US%22%3EFORMULA%20TO%20GET%20THE%20LICENSE%20OF%20ACTIVE%20MAILBOX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011666%22%20slang%3D%22en-US%22%3E%3CP%3Ewhat%20is%20the%20formula%20to%20get%20the%20license%20assigned%20to%20the%20active%20mailbox%20based%20on%20data%20from%20column%20A%20and%20B%3F%20please%20see%20attached%20excel.%20thanks%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%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20602px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F242490i90D08607563491E9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.PNG%22%20alt%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2011666%22%20slang%3D%22en-US%22%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-2011718%22%20slang%3D%22en-US%22%3ERe%3A%20FORMULA%20TO%20GET%20THE%20LICENSE%20OF%20ACTIVE%20MAILBOX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011718%22%20slang%3D%22en-US%22%3EIf%20I%20understand%20correctly%2C%20I%20believe%20this%20will%20work%20for%20you.%3CBR%20%2F%3E%3DINDEX(%24A%242%3A%24A%2424%2CMATCH(C2%2C%24B%242%3A%24B%2424%2C0))%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2011719%22%20slang%3D%22en-US%22%3ERe%3A%20FORMULA%20TO%20GET%20THE%20LICENSE%20OF%20ACTIVE%20MAILBOX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011719%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3Eworked%20like%20charm.%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Super Contributor

what is the formula to get the license assigned to the active mailbox based on data from column A and B? please see attached excel. thanks

 

Capture.PNG

4 Replies
Best Response confirmed by Marvin Oco (Super Contributor)
Solution
If I understand correctly, I believe this will work for you.
=INDEX($A$2:$A$24,MATCH(C2,$B$2:$B$24,0))

@JMB17worked like charm. thanks!

You're quite welcome.

@Marvin Oco 

As a comment, on Excel with dynamic arrays that could be

=XLOOKUP(C2:C13,B2:B24,A2:A24,"")

to return entire range at once. Or, to make it more dynamic

=XLOOKUP(C2:INDEX(C:C,XMATCH(,C:C)-1),
         B2:INDEX(B:B,XMATCH(,A:A)-1),
         B2:INDEX(A:A,XMATCH(,A:A)-1),""
)