Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 21
Default Simple calc query

I am new to Excel and have Excel 2007 if that makes any difference.

I am just trying to write my own vehicle logbook for my own vehicle which is
used personally and for work. To denote this I have done the following:

value 1 value2 Notation work column Personal column

The above are different cells. Value 1 is the start mileage. Value2 is the
end mileage. Notation is either P or W. Work Column has the formula
=IF(Ex="P",Dx-Cx,) where the "x" equals the cell number (eg, E6 or whatever)
and of course it goes for rows from A downwards. The end result, so far, is
that if it was a personal use then the value appears in the Personal column
and if a work use then in the work column. The column that the value does
not go in shows a simple 0 which is fine by me. I would prefer it to be
blank but it is OK for now.

My problem is this. I would prefer to have, below the last entry, a 1 line
gap and then a total for each column which is easy enough to do but what I
would like is that when I want to enter a new entry, I can make the autosum
for each column automatically move down one line. As you may guess, the
logbook will last for a full financial year and then when the total year is
over, I just create a new workbook for the next year and of course keep each
excel file for my tax records, printing them out if necessary.

Is it possible to have those total columns move down auto when I enter a new
trip value? If so, how can I do that, please?

Apologies for my newbieness in advance. I never had a use for Excel
knowledge before but I bought Office 2007 and have bumbled and stumbled
around to the point that I have everything I need excepting the auto
advancing totals. It took a good 30 minutes to get this far to my
embarrassment!

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default Simple calc query

To get a blank rather than a zero use =IF(Ex="P",Dx-Cx, "")

Can the Sum be at the top of the table? =SUM(A2:A2002)
I am assuming you will not have more than 2002 entries

OR in XL2007 make the table into a Table (an Excel table not just a block of
data)
Then you can have a totals row
But you will need to right click this row and use Inset every time you want
to add data
Or use CTRL+SHIFT+T with a Table cell selected to toggle the Total row
on/off; but I found I had to rest the total value from COUNT back to SUM
each time

best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Diamontina Cocktail" wrote in message
...
I am new to Excel and have Excel 2007 if that makes any difference.

I am just trying to write my own vehicle logbook for my own vehicle which
is used personally and for work. To denote this I have done the following:

value 1 value2 Notation work column Personal column

The above are different cells. Value 1 is the start mileage. Value2 is the
end mileage. Notation is either P or W. Work Column has the formula
=IF(Ex="P",Dx-Cx,) where the "x" equals the cell number (eg, E6 or
whatever) and of course it goes for rows from A downwards. The end result,
so far, is that if it was a personal use then the value appears in the
Personal column and if a work use then in the work column. The column that
the value does not go in shows a simple 0 which is fine by me. I would
prefer it to be blank but it is OK for now.

My problem is this. I would prefer to have, below the last entry, a 1 line
gap and then a total for each column which is easy enough to do but what I
would like is that when I want to enter a new entry, I can make the
autosum for each column automatically move down one line. As you may
guess, the logbook will last for a full financial year and then when the
total year is over, I just create a new workbook for the next year and of
course keep each excel file for my tax records, printing them out if
necessary.

Is it possible to have those total columns move down auto when I enter a
new trip value? If so, how can I do that, please?

Apologies for my newbieness in advance. I never had a use for Excel
knowledge before but I bought Office 2007 and have bumbled and stumbled
around to the point that I have everything I need excepting the auto
advancing totals. It took a good 30 minutes to get this far to my
embarrassment!

Thanks in advance.



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
Simple MS Query with Data Parameters Not Auto-refreshing [email protected] Excel Discussion (Misc queries) 0 March 14th 07 03:00 PM
My calc key on Excel changes box to "Text" Box and doesn't calc ? jack Charts and Charting in Excel 0 August 8th 06 07:30 PM
Simple IF function query (hopefully) ahaigh Excel Discussion (Misc queries) 3 April 10th 06 12:18 PM
auto calc on, but have to edit (f2) cells to force re-calc..help! Curt Excel Worksheet Functions 3 February 13th 06 06:05 PM
simple query changing set of numbers from positive to negative sammy Excel Discussion (Misc queries) 2 May 1st 05 11:06 PM


All times are GMT +1. The time now is 11:31 AM.

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"