#1   Report Post  
Posted to microsoft.public.excel.newusers
Farquhardt
 
Posts: n/a
Default Column Info

Hi -

Please forgive my ignorance but I just don't know anything about Excel. I
have an expense report that I have to file monthly that has to show daily
mileage for both company and personal mileage. I want to automate the
functions as much as I can as an aid to ensuring accuracy. Each day has its
own line and data with totals for the data at the bottom. Here are my
questions:

1) How do I get the current date to automatically load into the appropriate
cell? In other words, when I open this file daily how do I get the current
date to appear in the cell but still retain the option of changing it in case
I forget to update daily.

2) The report asks for beginning and ending odometer readings. I'd like to
be able to just input that data and have the 'daily mileage' show up
automatically. One caveat is that if I have any personal miles for that
particular day, the business mileage should be decreased by that amount. I'd
like to have this in the computation also.

3) In accordance with all of this, the monthly total (on a daily basis)
should be incremented by the daily figures.

Thank you in advance for your assistance. It's greatly appreciated.

Farquhardt

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Column Info

=TODAY() will give you the current computer date but you can't change it to
a fixed date and later expecting it to be the current date again unless you
use a macro that will change to current date everytime you open the
workbook, I'd suggest using 2 cells, one with the current date and one where
you can put any date you want.

If not you can right click the excel icon left of the file menu and select
view code and paste in this

Private Sub Workbook_Open()
Range("A1").Value = Format(Date, "mm/dd/yy")
End Sub

which will do what TODAY() does but you can overwrite it and next time it
is opened it will insert the current date

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Farquhardt" wrote in message
...
Hi -

Please forgive my ignorance but I just don't know anything about Excel. I
have an expense report that I have to file monthly that has to show daily
mileage for both company and personal mileage. I want to automate the
functions as much as I can as an aid to ensuring accuracy. Each day has
its
own line and data with totals for the data at the bottom. Here are my
questions:

1) How do I get the current date to automatically load into the
appropriate
cell? In other words, when I open this file daily how do I get the current
date to appear in the cell but still retain the option of changing it in
case
I forget to update daily.

2) The report asks for beginning and ending odometer readings. I'd like to
be able to just input that data and have the 'daily mileage' show up
automatically. One caveat is that if I have any personal miles for that
particular day, the business mileage should be decreased by that amount.
I'd
like to have this in the computation also.

3) In accordance with all of this, the monthly total (on a daily basis)
should be incremented by the daily figures.

Thank you in advance for your assistance. It's greatly appreciated.

Farquhardt


  #3   Report Post  
Posted to microsoft.public.excel.newusers
Roger Govier
 
Posts: n/a
Default Column Info

Hi Peo

If not you can right click the excel icon left of the file menu

Thanks Peo, I had never realised that this would take you straight to
the ThisWorkbook code module.

--
Regards

Roger Govier


"Peo Sjoblom" wrote in message
...
=TODAY() will give you the current computer date but you can't change
it to a fixed date and later expecting it to be the current date again
unless you use a macro that will change to current date everytime you
open the workbook, I'd suggest using 2 cells, one with the current
date and one where you can put any date you want.

If not you can right click the excel icon left of the file menu and
select view code and paste in this

Private Sub Workbook_Open()
Range("A1").Value = Format(Date, "mm/dd/yy")
End Sub

which will do what TODAY() does but you can overwrite it and next
time it is opened it will insert the current date

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Farquhardt" wrote in message
...
Hi -

Please forgive my ignorance but I just don't know anything about
Excel. I
have an expense report that I have to file monthly that has to show
daily
mileage for both company and personal mileage. I want to automate the
functions as much as I can as an aid to ensuring accuracy. Each day
has its
own line and data with totals for the data at the bottom. Here are my
questions:

1) How do I get the current date to automatically load into the
appropriate
cell? In other words, when I open this file daily how do I get the
current
date to appear in the cell but still retain the option of changing it
in case
I forget to update daily.

2) The report asks for beginning and ending odometer readings. I'd
like to
be able to just input that data and have the 'daily mileage' show up
automatically. One caveat is that if I have any personal miles for
that
particular day, the business mileage should be decreased by that
amount. I'd
like to have this in the computation also.

3) In accordance with all of this, the monthly total (on a daily
basis)
should be incremented by the daily figures.

Thank you in advance for your assistance. It's greatly appreciated.

Farquhardt




  #4   Report Post  
Posted to microsoft.public.excel.newusers
paul
 
Posts: n/a
Default Column Info

if you type hold down ctrl and then press ; you will get the current date
which will remain fixed.....you can of course overwrite it at any time
--
paul
remove nospam for email addy!



"Roger Govier" wrote:

Hi Peo

If not you can right click the excel icon left of the file menu

Thanks Peo, I had never realised that this would take you straight to
the ThisWorkbook code module.

--
Regards

Roger Govier


"Peo Sjoblom" wrote in message
...
=TODAY() will give you the current computer date but you can't change
it to a fixed date and later expecting it to be the current date again
unless you use a macro that will change to current date everytime you
open the workbook, I'd suggest using 2 cells, one with the current
date and one where you can put any date you want.

If not you can right click the excel icon left of the file menu and
select view code and paste in this

Private Sub Workbook_Open()
Range("A1").Value = Format(Date, "mm/dd/yy")
End Sub

which will do what TODAY() does but you can overwrite it and next
time it is opened it will insert the current date

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Farquhardt" wrote in message
...
Hi -

Please forgive my ignorance but I just don't know anything about
Excel. I
have an expense report that I have to file monthly that has to show
daily
mileage for both company and personal mileage. I want to automate the
functions as much as I can as an aid to ensuring accuracy. Each day
has its
own line and data with totals for the data at the bottom. Here are my
questions:

1) How do I get the current date to automatically load into the
appropriate
cell? In other words, when I open this file daily how do I get the
current
date to appear in the cell but still retain the option of changing it
in case
I forget to update daily.

2) The report asks for beginning and ending odometer readings. I'd
like to
be able to just input that data and have the 'daily mileage' show up
automatically. One caveat is that if I have any personal miles for
that
particular day, the business mileage should be decreased by that
amount. I'd
like to have this in the computation also.

3) In accordance with all of this, the monthly total (on a daily
basis)
should be incremented by the daily figures.

Thank you in advance for your assistance. It's greatly appreciated.

Farquhardt





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i multiply two columns edgar Excel Worksheet Functions 7 March 2nd 06 03:29 PM
sum of 1 column if info in another = specific text blackstar Excel Discussion (Misc queries) 17 February 4th 06 01:44 PM
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM
Vlookup - name of file to get info from is in Column A DD1 Excel Discussion (Misc queries) 3 August 11th 05 06:55 AM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM


All times are GMT +1. The time now is 10:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"