[Dba-office] Excel Formatting question

Susan Harkins ssharkins at gmail.com
Tue Sep 19 06:24:35 CDT 2017


Can you send me the sheet, or a sheet with a bit of data in it to play with?


Susan H. 

-----Original Message-----
From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf
Of John Bartow
Sent: Monday, September 18, 2017 10:32 PM
To: DBA Office (dba-office at databaseadvisors.com)
<dba-office at databaseadvisors.com>
Subject: [Dba-office] Excel Formatting question

I'm using this formula:
=INT(F3) & "'-" & 12*MOD(F3,1) &""""
To make this (F3): 100.79166666666700
Look like this: 100'-9.50000000000006"

So I add Round()
=INT(F9) & "'-" & ROUND((12*MOD(F9,1)),2) &""""
to get it to look like this: 100'-9.5"

The numbers after the decimal point will be limited to 2 places (because of
the data)

How can I get it to always add the 0 after the 5 so that the resulting
column figures align?
_______________________________________________
Dba-office mailing list
Dba-office at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-office



More information about the Dba-office mailing list