Cells AE2 thru AH2 have the following characters:
AE2: COO1536578
AF2: AFI58491599
AG2: GHU4582154
AH2: UHT7851596
In AB2, I'd like to write a formula similar to the below, which will choose one of these cells at random and populate it in AB2. I currently have a working formula as follows, which works if the cells are numeric, but now need one for non-numeric:
=IFERROR(INDEX(Sheet1!$AE2:$AH2,1, RANDBETWEEN(1,COUNTIF(Sheet1!$AE2:$AH2,">0"))),0)
AE2: COO1536578
AF2: AFI58491599
AG2: GHU4582154
AH2: UHT7851596
In AB2, I'd like to write a formula similar to the below, which will choose one of these cells at random and populate it in AB2. I currently have a working formula as follows, which works if the cells are numeric, but now need one for non-numeric:
=IFERROR(INDEX(Sheet1!$AE2:$AH2,1, RANDBETWEEN(1,COUNTIF(Sheet1!$AE2:$AH2,">0"))),0)