From ssharkins at gmail.com Fri Sep 15 06:04:19 2017
From: ssharkins at gmail.com (Susan Harkins)
Date: Fri, 15 Sep 2017 07:04:19 -0400
Subject: [Dba-office] Interesting date input behavior
Message-ID: <001b01d32e12$618b1430$24a13c90$@gmail.com>
If I type the first few letters of the day, the app displays an AutoComplete
screen tip offering the full day. If I press Enter, the app will complete
the day of the week for me. A reader is trying to use this feature and the
app is entering the date, not the day of the week. I've been looking around
for a setting that might control this, but not finding anything.
Anyone know what setting controls this -- is it Windows or Office? It might
be a version issue too. A quick run through spots I thought I might find
something have turned up nothing.
Susan H.
From jbartow at winhaven.net Mon Sep 18 21:31:44 2017
From: jbartow at winhaven.net (John Bartow)
Date: Tue, 19 Sep 2017 02:31:44 +0000
Subject: [Dba-office] Excel Formatting question
Message-ID:
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?
From ssharkins at gmail.com Tue Sep 19 06:24:35 2017
From: ssharkins at gmail.com (Susan Harkins)
Date: Tue, 19 Sep 2017 07:24:35 -0400
Subject: [Dba-office] Excel Formatting question
In-Reply-To:
References:
Message-ID: <006101d33139$dfd791e0$9f86b5a0$@gmail.com>
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)
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
From gustav at cactus.dk Tue Sep 19 06:59:52 2017
From: gustav at cactus.dk (Gustav Brock)
Date: Tue, 19 Sep 2017 11:59:52 +0000
Subject: [Dba-office] Excel Formatting question
Message-ID:
Hi John
You need to format both parts as text, then concatenate:
ThisWorkbook.Worksheets(1).Cells(x, y).Formula = _
"=TEXT(INT(F3),""0\-"")&TEXT(ROUND(12*MOD(F3,1),2),""0.00"")"
10-9.50
/gustav
-----Oprindelig meddelelse-----
Fra: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] P? vegne af John Bartow
Sendt: 19. september 2017 04:32
Til: DBA Office (dba-office at databaseadvisors.com)
Emne: [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?