Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kingsobes
 
Posts: n/a
Default Move equations from line to line automatically

I need to create a excel template to import information into a MRP system.
Specificelly for cabinet doors Pricing is done by the square foot so I need
to keep trac of the total price. The problem is the order can be as little as
one door or it can be thousands of doors. I would like to see
HEIGHT WIDTH STYLE QUANTITY SQ FT PRICE

TOTAL
So that the total would always appear below the last door entered. I am
using Office 2003.Is this possible?
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

You can do it either of two ways: the easy way, or the slightly harder way.

The easy way is to move your TOTAL to above the header values, with a formula like
=SUM(H3:H3000)
where column H has your prices, starting in row 3. Then it doesn't matter how many you get.

The slightly harder way is to write a macro to put in the SUM at the bottom: you can incorporate
this into your data import routine, or run it manually. Something like this:

Sub PutSum()
Range("H65536").End(xlUp)(2).Formula = _
"=SUM(H3:H" & Range("H65536").End(xlUp).Row & ")"
End Sub

HTH,
Bernie
MS Excel MVP


"Kingsobes" wrote in message
...
I need to create a excel template to import information into a MRP system.
Specificelly for cabinet doors Pricing is done by the square foot so I need
to keep trac of the total price. The problem is the order can be as little as
one door or it can be thousands of doors. I would like to see
HEIGHT WIDTH STYLE QUANTITY SQ FT PRICE

TOTAL
So that the total would always appear below the last door entered. I am
using Office 2003.Is this possible?



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
Paste and automatically move cells Paul (ESI) Excel Discussion (Misc queries) 4 June 30th 05 02:31 PM
Excel: is it possible to move column contents into a line Ginger Excel Discussion (Misc queries) 2 June 16th 05 06:59 PM
Let Excel shade every 3 line automatically BAase Excel Discussion (Misc queries) 11 May 23rd 05 03:49 AM
After scanning a barcode how can I automatically move to the next. tbledsoe Excel Discussion (Misc queries) 1 December 4th 04 08:18 PM
How do i move the filters from the columns on line one to the col. dstevo2 Excel Worksheet Functions 1 November 24th 04 08:55 PM


All times are GMT +1. The time now is 04:01 PM.

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

About Us

"It's about Microsoft Excel"