Using isblank and Concatenate
Help -
I tried to find an answer to this by serching and still can't figure it out. Maybe some one can help me see what I am missing.
I have this set of data:
ay | az | ba | bb | bc | bd | be | bf |
---|---|---|---|---|---|---|---|
Pub 1 | BMI | 100 | 123456 | ||||
Pub 1 | BMI | 50 | 123456 | Pub 2 | ASCAP | 50 | 78965 |
What I need is to concatenate the fields into one that would read like this:
Pub 1, (BMI), 100%, [12345]
Pub 1, (BMI), 50%, [12345] | Pub 2, (ASCAP), 50%, [78965]
SO i need to check if Cell BC is blank and if so, not add anything else, if there is info, I need to add the pipe and the info.
This is my formula:
IF(ISBLANK(BC2),CONCATENATE(AY2,","," (",AZ2,"), ",BA2,"%, [",BB2,"]"),CONCATENATE(AY2,","," (",AZ2,"), ",BA2,"%, [",BB2,"] | ",BC2,", (",BD2,"), [",BF2,"]"))
But I still get all the extra brackets and such even if BC is blank.
Thanks for any help.
Cheers
kc