Hi there,
I am trying to do a VLOOKUP in my Table that will return a formula instead of the value. Or I am very open to any other recommendation that could resolve my problem.
Here is what I have. Consider that I am using Tables as my actual tables are much bigger than what I have here and lines will be added to it monthly.
I have my Table1 which has all of the user information and Criteria that are given to me.
My Table2 contains the Formal that should be used depending on the Role and Complexity the user needs to be evaluated on.
I managed to create a UID_Formula column in my Table1 hoping it would simplify my lookup but still nothing.
First Table is like this:
Formula for UID column: {=INDEX(Table2[UID],MATCH(Table1[[#This Row],[Role]],IF(Table2[Complexity]=Table1[[#This Row],[Complexity]],Table2[Role]),0))}
Formula for Formula column: =VLOOKUP(Table1[[#This Row],[UID_Formula]],Table2[[UID]:],2,FALSE) My Table2 has the referenced Formula [HTML] [RANGE=cls:xl2bb-100][XR][XH=cs:5]Excel 2007[/XH][/XR][XR][XH][/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][/XR][XR][XH]10[/XH][XD=h:l]Role[/XD][XD=h:l]Complexity[/XD][XD=h:l]UID[/XD][XD=h:l]Formula[/XD][/XR][XR][XH]11[/XH][XD=h:l]Manager[/XD][XD=h:l]High[/XD][XD=h:r]1[/XD][XD=h:r|cls:fx][FORMULA==SUMPRODUCT((Table1[[#This Row],[Criteria1]]<>"yes")+(Table1[[#This Row],[Criteria3]]<>"yes")+(Table1[[#This Row],[Criteria2]]<>"yes"))/3]#VALUE![/XD][/XR][XR][XH]12[/XH][XD=h:l]Manager[/XD][XD=h:l]Low[/XD][XD=h:r]2[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH]13[/XH][XD=h:l]User[/XD][XD=h:l]High[/XD][XD=h:r]3[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH]14[/XH][XD=h:l]User[/XD][XD=h:l]Low[/XD][XD=h:r]4[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH=cs:5][/XH][/XR][/RANGE]
[/HTML]
I am trying to do a VLOOKUP in my Table that will return a formula instead of the value. Or I am very open to any other recommendation that could resolve my problem.
Here is what I have. Consider that I am using Tables as my actual tables are much bigger than what I have here and lines will be added to it monthly.
I have my Table1 which has all of the user information and Criteria that are given to me.
My Table2 contains the Formal that should be used depending on the Role and Complexity the user needs to be evaluated on.
I managed to create a UID_Formula column in my Table1 hoping it would simplify my lookup but still nothing.
First Table is like this:
HTML:
[RANGE=cls:xl2bb-100][XR][XH=cs:9]Excel 2007[/XH][/XR][XR][XH][/XH][XH]A[/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][XH]F[/XH][XH]G[/XH][XH]H[/XH][/XR][XR][XH]1[/XH][XD=h:l]User[/XD][XD=h:l]Criteria1[/XD][XD=h:l]Criteria2[/XD][XD=h:l]Criteria3[/XD][XD=h:l]Complexity[/XD][XD=h:l]Role[/XD][XD=h:l]UID_Formula[/XD][XD=h:l]Formula[/XD][/XR][XR][XH]2[/XH][XD=h:l]Joe[/XD][XD=h:l]yes[/XD][XD=h:l]yes[/XD][XD=h:l]no[/XD][XD=h:l]High[/XD][XD=h:l]Manager[/XD][XD=h:r]1[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH]3[/XH][XD=h:l]Jack[/XD][XD=h:l]no[/XD][XD=h:l]yes[/XD][XD=h:l]yes[/XD][XD=h:l]Low[/XD][XD=h:l]User[/XD][XD=h:r]4[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH]4[/XH][XD=h:l]Tim[/XD][XD=h:l]yes[/XD][XD=h:l]yes[/XD][XD=h:l]yes[/XD][XD=h:l]Low[/XD][XD=h:l]Manager[/XD][XD=h:r]2[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH]5[/XH][XD=h:l]Bob[/XD][XD=h:l]no[/XD][XD=h:l]no[/XD][XD=h:l]no[/XD][XD=h:l]High[/XD][XD=h:l]User[/XD][XD=h:r]3[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH]6[/XH][XD=h:l]Nick[/XD][XD=h:l]yes[/XD][XD=h:l]no[/XD][XD=h:l]yes[/XD][XD=h:l]Low[/XD][XD=h:l]User[/XD][XD=h:r]4[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH]7[/XH][XD=h:l]Helen[/XD][XD=h:l]no[/XD][XD=h:l]yes[/XD][XD=h:l]no[/XD][XD=h:l]High[/XD][XD=h:l]Manager[/XD][XD=h:r]1[/XD][XD=h:r]#VALUE![/XD][/XR][XR][XH=cs:9][RANGE][XR][XD]Sheet1[/XD][XH][/XH][/XR][/RANGE][/XH][/XR][/RANGE]
Formula for UID column: {=INDEX(Table2[UID],MATCH(Table1[[#This Row],[Role]],IF(Table2[Complexity]=Table1[[#This Row],[Complexity]],Table2[Role]),0))}
Formula for Formula column: =VLOOKUP(Table1[[#This Row],[UID_Formula]],Table2[[UID]:],2,FALSE) My Table2 has the referenced Formula [HTML] [RANGE=cls:xl2bb-100][XR][XH=cs:5]Excel 2007[/XH][/XR][XR][XH][/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][/XR][XR][XH]10[/XH][XD=h:l]Role[/XD][XD=h:l]Complexity[/XD][XD=h:l]UID[/XD][XD=h:l]Formula[/XD][/XR][XR][XH]11[/XH][XD=h:l]Manager[/XD][XD=h:l]High[/XD][XD=h:r]1[/XD][XD=h:r|cls:fx][FORMULA==SUMPRODUCT((Table1[[#This Row],[Criteria1]]<>"yes")+(Table1[[#This Row],[Criteria3]]<>"yes")+(Table1[[#This Row],[Criteria2]]<>"yes"))/3]#VALUE![/XD][/XR][XR][XH]12[/XH][XD=h:l]Manager[/XD][XD=h:l]Low[/XD][XD=h:r]2[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH]13[/XH][XD=h:l]User[/XD][XD=h:l]High[/XD][XD=h:r]3[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH]14[/XH][XD=h:l]User[/XD][XD=h:l]Low[/XD][XD=h:r]4[/XD][XD=h:r|cls:fx]#VALUE![/XD][/XR][XR][XH=cs:5]
#VALUE!
Cell Formulas | ||
---|---|---|
Range | Formula | |
E11 | =SUMPRODUCT((Table1[[#This Row],[Criteria1]]<>"yes")+(Table1[[#This Row],[Criteria3]]<>"yes")+(Table1[[#This Row],[Criteria2]]<>"yes"))/3 | |
E12 | =SUMPRODUCT((Table1[[#This Row],[Criteria1]]<>"yes")+(Table1[[#This Row],[Criteria3]]<>"yes"))/2 | |
E13 | =SUMPRODUCT((Table1[[#This Row],[Criteria3]]<>"yes")+(Table1[[#This Row],[Criteria2]]<>"yes"))/2 | |
E14 | =SUMPRODUCT((Table1[[#This Row],[Criteria1]]<>"yes")+(Table1[[#This Row],[Criteria2]]<>"yes"))/2 |