spectraflame
Well-known Member
- Joined
- Dec 18, 2002
- Messages
- 821
- Office Version
-
- 365
- Platform
-
- Windows
The following formula is in an existing spreadsheet that I need to better understand. I think this formula is searching a specific cell to look for a "/". When it is found, it subtracts the number to the left of the slash from the other number.
=IF(ISERROR(FIND("/",D19)),0,MID(D19,FIND("/",D19)+1,255)-LEFT(D19,FIND("/",D19)-1))
What I do not understand is what 1,255 is and what is for. When I key in 55/100 in cell D19, the result is 45. Just do not understand why 1,255 is necessary.
=IF(ISERROR(FIND("/",D19)),0,MID(D19,FIND("/",D19)+1,255)-LEFT(D19,FIND("/",D19)-1))
What I do not understand is what 1,255 is and what is for. When I key in 55/100 in cell D19, the result is 45. Just do not understand why 1,255 is necessary.