Ask Experts Questions for FREE Help!
Answer   ||    Advanced Search

Ask your question or search...
International Sites: Nederlandse experts vragen
User Name 
Password 
Join   Forgot password? 

Home > Computers & Technology > Software > Spreadsheets   »   Formula entry for division of columns in multiple rows

Question
 
 
#1  
Old Nov 2, 2009, 01:53 PM
ccnhman
New Member
ccnhman is offline
 
Join Date: Nov 2009
Posts: 2
ccnhman See this member's comment history on his/her Profile page.
Formula entry for division of columns in multiple rows

I'm relative new to Excel having just used it as a lined sheet of paper for listing things.

I'm trying to develop an Excel spreadsheet for tracking my car's mileage. Thus far I'm using a basic sheet with 4 columns - designated A=date, B=Miles travelled, C= Gallons used, and D= the computed MPG when B is divided by C.

Is there anyway to enter a formula that will do that to each row automatically, without me having to enter for column D, each row, the formula "=b2/c2" and "b3/c3", and "b4/c4", and so on........? Thus far, all I can figure out is that I have to type in the formula for each row.

Also, I'd like to have a side display that keeps an easily-viewed running tally of two values, the lowest MPG and highest MPG values.

Does anyone know how this can be done relatively easily?

Attached Files
File Type: xls Car Mileage.xls (31.5 KB, 2 views)
Reply With Quote
 
     

Answers
 
 
Old Nov 2, 2009, 02:23 PM   #2  
Ultra Member
Perito is offline
 
Perito's Avatar
 
Join Date: Feb 2009
Location: USA
Posts: 2,893
Perito See this member's comment history on his/her Profile page.Perito See this member's comment history on his/her Profile page.
If you select a cell, and hold the mouse over the bottom right corner of the cell, the cursor changes to a black "+". Depress the left mouse button and drag that formula into adjacent cells. You can drag it completely down a column, for example. When you release the mouse button, the formula will be copied to each cell, but the references will advance as you wish.

If you wish a fixed cell in a formula, highlight the fixed cell in the formlua and hit the F4 key. For example, let's say you highlightec a "B2". The "B2" will change to "$B$2" (fixed cell). Hit F4 again, it will change to "B$2" (fixed column), then to "$B2" (fixed row), and finally back to "B2".

For the column at the side, you'll have to generate sums of the gasoline used and the miles traveled and use that in a formula. There is a summation formula "=Sum(A1.A255)".
  Reply With Quote
 
     
 
 
Old Nov 2, 2009, 07:00 PM   #3  
New Member
ccnhman is offline
 
Join Date: Nov 2009
Posts: 2
ccnhman See this member's comment history on his/her Profile page.
Thanks Perito, The highlighting and dragging worked! Appreciate it very much.

I'm not understanding the "fixed cell" thing. What would the "fixed" cell or column be used for? Could it be somewhere in a range of cells and not disrupt the counting of the cells?

Also, the formula for the side display, I understand the "=" and "SUM" entries, but I'm not sure I understand the rest. Is the "(" ")" (parenthesis symbols) always required in formula entries, and, is that separation by the period symbol the way to express a range of rows; i.e., "A1" then a "." (period), then the ending limit "A255"? I think I remember seeing a colon ":" between column/row identifications somewhere? Are the colons used for something?

Thanks so much for your help.
  Reply With Quote
 
     
 
 
Old Nov 2, 2009, 08:25 PM   #4  
Software Expert
JBeaucaire is offline
 
JBeaucaire's Avatar
 
Join Date: Jan 2008
Location: (Call me JB) Bakersfield, CA
Posts: 4,700
JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.
Pay to call JBeaucaire for advice ($.75/min)
Call JBeaucaire via Skype™
The quotes are just his way of stressing cell references here in the forum. You only use quotes in Excel formulas to indicate the text in between is text.

Go here and start reading:

Excel Tutorial

Microsoft Excel Tutorial 2003/2002

Introduction to Excel 2003
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Ask your question or search...



Similar Threads
Transpose rows into columns in a excel spreadsheet
(3 replies)
Inserting Multiple Columns in Excel
(11 replies)
To insert columns/Rows between different columns/Rows
(0 replies)
Multiple Entry Student Visa-
(0 replies)
Inserting multiple columns on Excel
(2 replies)

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread

Advanced Search

Bookmarks





Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 04:46 AM.