Need Help Removing a Decimal Point in a Formula
On Tue, 17 May 2011 04:43:04 GMT, Nicole Garaty wrote:
Hi Guys
I hope you can now help me. I have a complex formular for the File Name of a document that is made up of 4 parts.
=CONCATENATE(D8,"-",(LOOKUP(E8,lookUp!$A$3:$B$10)),"-",F8,"-",(SUBSTITUTE(G8,".","")))
G8 is the revision of a document and I want it to display without the decimal.
eg, 0.5 - 05
1.1 - 11
2.0 - 20
The above work for all numbers except the whole numbers, ie. 1.0, 2.0. For these numbers the formula only displays 1 or 2.
eg. revision - 0.2
Displays SA99-ADS-PPL-0000202-02
revision - 1.2
Displays SA99-PSP-REP-0000036-12
revision - 1.0
Displays SA99-PSP-PLN-0000413-1
Please HELP!!!!!
Nicole
I think if you replace:
(SUBSTITUTE(G8,".",""))
with
TEXT(G8*10,"00")
you will get the result you are looking for.
|