Hi guys,
In a workbook i have pages Data and Sheet1, in Sheet1!E:E i will sometimes have the text N/A
the below code goes into a cell and shows the result, instead of showing N/A is there a way of making the result say NONE instead?
the concat and randbetween combines a prefix that is needed when the E:E contains something other than N/A, (which currently works perfectly as is)
but if the E:E has N/A i'd like it to just say NONE instead of "prefix N/A"
(the below also allows me to type in a manual option into E19 which i need to stay)
I'm not sure if the above is possible, but thanks for any help
In a workbook i have pages Data and Sheet1, in Sheet1!E:E i will sometimes have the text N/A
the below code goes into a cell and shows the result, instead of showing N/A is there a way of making the result say NONE instead?
the concat and randbetween combines a prefix that is needed when the E:E contains something other than N/A, (which currently works perfectly as is)
but if the E:E has N/A i'd like it to just say NONE instead of "prefix N/A"
(the below also allows me to type in a manual option into E19 which i need to stay)
Excel Formula:
=CONCAT(INDEX(Data!E2:E7,RANDBETWEEN(1,ROWS(Data!E2:E7))))&IF(E19<>"",E19,LET(m,MATCH(C3,Sheet1!D:D,0),d,INDEX(Sheet1!E:E,m),IF(d<>"",d)))
I'm not sure if the above is possible, but thanks for any help