Hello all. Two questions that I thought would be easy, but I am stumped. Sorry, cannot attach a workbook:
1) If I have an array containing zeros and text values like the ones below (alpha characters only), how can I extract a single text value? I don't know where the text will appear, I don't know what the text will be, and it may appear once or multiple times.
{0, 0, ABC, 0, ABC} should return ABC
{DEF, DEF, 0, 0, DEF} should return DEF
Additional question:
My current data set will only allow either ABC or DEF to appear in each array, never both. However, since I am unfamiliar with the data, I don't want to eliminate the possibility that an array could contain both in the future. How would you modify the first formula to return something like "Multiples" in case I run into that issue?
Thank you in advance!
1) If I have an array containing zeros and text values like the ones below (alpha characters only), how can I extract a single text value? I don't know where the text will appear, I don't know what the text will be, and it may appear once or multiple times.
{0, 0, ABC, 0, ABC} should return ABC
{DEF, DEF, 0, 0, DEF} should return DEF
Additional question:
My current data set will only allow either ABC or DEF to appear in each array, never both. However, since I am unfamiliar with the data, I don't want to eliminate the possibility that an array could contain both in the future. How would you modify the first formula to return something like "Multiples" in case I run into that issue?
Thank you in advance!