Problem:
801a to 8:00 AM
1000p to 10:00 PM
Formula:
=IF(OR(RIGHT(A1)={"a","p"}),(TEXT(LEFT(A1,LEN(A1)-1),"00\:00 ")&RIGHT(A1)&"M")+0,"")
Prepare to be DEVINIZED!!!
The other day I was trying to do some kinda formula that involved needing the column letter. I know, if one types =COLUMN() you will get the column number. BUT WHAT ABOUT THE LETTER? This formula only goes up to column “ZZ,” AKA column "702," but that’s all I needed.
=MID(ADDRESS(ROW(),COLUMN(),4),1,IF(COLUMN()<27,1,2))