I'm wondering if there was a formula to compare up to the first "_" substring and find the count of the number of unique values and to ignore any blank values. I couldn't figure out it attempting to use it with FREQ, LEN, MATCH but failed miserably. I'm not an expert on functions in excel so any help or guide would be appreciated!
A1_fdsafa
A2_asdfa
A2_sfda
A3_fdsa
A3_fdsa
A3_asssf
A123_fdsa
Should output: 4