So I'm using the VBA function posted here: http://chandoo.org/wp/2013/05/28/excel-risk-map/ and I want to modify the input to the VBA function `=showriskmap' as follows:
The function is
For example I'm using
and since I have multiple tables, I have tried putting a dropdown list of my tables in cell E11 so that when the user clicks and selects a particular table, its corresponding risk matrix is displayed.
I tried using the following formula (E12 contains the value "E11") :
But excel is giving me a #VALUE! error. What am I doing wrong?
The function is
Code:
Public Function showRiskMap(inputRange As Range, searchString As String, dataRange As Range, separator As String)
For example I'm using
Code:
=showriskmap(tblRHDC_Pace[[#All],[SearchString]],"x6",tblRHDC_Pace[[#All],[Display Name On Risk Matrix]],CHAR(10))
I tried using the following formula (E12 contains the value "E11") :
Code:
=showriskmap(CONCATENATE((INDIRECT(E12)),"[[#All],[SearchString]]"),"x6",CONCATENATE((INDIRECT(E12)),"[[#All],[Display Name On Risk Matrix]]",CHAR(10)))
But excel is giving me a #VALUE! error. What am I doing wrong?