C
Crazyhorse
I have a crosstab which has a issuer_name for the row. The column headers
are 7 different funds.
Each issuer has a price for each fund. A issuer can be in all 7 funds or
maybe 1 fund or 3 funds. That part is good.
If the price is in 4 of the 7 funds and all of the 4 prices are the same in
all the funds then I would want a "GOOD" in a new column.
But if the price is wrong in one of the 4 funds then I would want a "BAD".
Remember there are still 3 null values and that is fine because the issuer
is not in that fund. This is where I need the nulls to be canceled out or not
read.
I was thinking a complexed IIF statement but I think I will have to write a
custom function for this.
Thanks in advance.
are 7 different funds.
Each issuer has a price for each fund. A issuer can be in all 7 funds or
maybe 1 fund or 3 funds. That part is good.
If the price is in 4 of the 7 funds and all of the 4 prices are the same in
all the funds then I would want a "GOOD" in a new column.
But if the price is wrong in one of the 4 funds then I would want a "BAD".
Remember there are still 3 null values and that is fine because the issuer
is not in that fund. This is where I need the nulls to be canceled out or not
read.
I was thinking a complexed IIF statement but I think I will have to write a
custom function for this.
Thanks in advance.