Hey Bob,
I could not get MID to work. I did, however, get RIGHT to work -
almost. I was missing the 100* the number to convert it to an
integer, that was a big help - Thanks.
Here's the code I came up with -
For the 10,000,000;s place located at D1:
=IF((RIGHT(100*Sheet1!$C$1,10)-RIGHT(100*Sheet1!$C$1,9))/100000000=0,"",(RIGHT(100*Sheet1!$C$1,10)-RIGHT(100*Sheet1!$C$1,9))/100000000)
For the 1,000,000's place located at E1:
=IF(AND(D1="",(RIGHT(100*Sheet1!$C$1,9)-RIGHT(100*Sheet1!$C$1,8))/100000000=0),"",(RIGHT(100*Sheet1!$C$1,9)-RIGHT(100*Sheet1!$C$1,8))/100000000)
For the 100,000's place located at F1:
=IF(AND(D1="",E1="",(RIGHT(100*Sheet1!$C$1,8)-RIGHT(100*Sheet1!$C$1,7))/10000000=0),"",(RIGHT(100*Sheet1!$C$1,8)-RIGHT(100*Sheet1!$C$1,7))/10000000)
For the 10,000's place located at G1:
=IF(AND(D1="",E1="",F1="",(RIGHT(100*Sheet1!$C$1,7)-RIGHT(100*Sheet1!$C$1,6))/1000000=0),"",(RIGHT(100*Sheet1!$C$1,7)-RIGHT(100*Sheet1!$C$1,6))/1000000)
For the 1,000's place located at H1:
=IF(AND(D1="",E1="",F1="",G1="",(RIGHT(100*Sheet1!$C$1,6)-RIGHT(100*Sheet1!$C$1,5))/100000=0),"",(RIGHT(100*Sheet1!$C$1,6)-RIGHT(100*Sheet1!$C$1,5))/100000)
For the 100's place located at I1:
=IF(AND(D1="",E1="",F1="",G1="",H1="",(RIGHT(100*Sheet1!$C$1,5)-RIGHT(100*Sheet1!$C$1,4))/10000=0),"",(RIGHT(100*Sheet1!$C$1,5)-RIGHT(100*Sheet1!$C$1,4))/10000)
For the 10's place located at J1:
=IF(AND(D1="",E1="",F1="",G1="",H1="",I1="",(RIGHT(100*Sheet1!$C$1,4)-RIGHT(100*Sheet1!$C$1,3))/1000=0),"",(RIGHT(100*Sheet1!$C$1,4)-RIGHT(100*Sheet1!$C$1,3))/1000)
For the 1's place located at K1:
=IF(AND(D1="",E1="",F1="",G1="",H1="",I1="",J1="",(RIGHT(100*Sheet1!$C$1,3)-RIGHT(100*Sheet1!$C$1,2))/100=0),"",(RIGHT(100*Sheet1!$C$1,3)-RIGHT(100*Sheet1!$C$1,2))/100)
For the 1/10's place located at L1:
=IF(AND(D1="",E1="",F1="",G1="",H1="",I1="",J1="",K1="",(RIGHT(100*Sheet1!$C$1,2)-RIGHT(100*Sheet1!$C$1,1))/10=0),"",(RIGHT(100*Sheet1!$C$1,2)-RIGHT(100*Sheet1!$C$1,1))/10)
For the 1/100s place located at M1:
=IF(AND(D1="",E1="",F1="",G1="",H1="",I1="",J1="",K1="",L1="",RIGHT(100*Sheet1!$C$1,)=0),"",RIGHT(100*Sheet1!$C$1,1))
It works with 2 decimal places. When I tried to use it on a cell
formatted for 2 decimal places but having more, I discovered that the
formatting does not go through the link!
Does anyone know how to convert a number with an unknown number of
places to the right of the decimal to exactly 2 places?
Any help would be appreciated.
-Minitman