Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lazurus for excel
 
Posts: n/a
Default Help in creating a formula

Hi,

Here is my scenario, I am attempting to export data from another program
into excel (financial data) that changes daily making my cell location for
totals change is there a formula that can combat that??? to eliminate data
entry time!!! :P
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Place your totals into table header, and calculate them using dynamic
ranges. An example:

Your data are on sheet MyData in range A5:E5 and down. In range A4:E4 are
column headers. Rows 1:3 are empty. Column A contains some identifier (Name
or Date etc.) and is never is empty, whenever there are any data in row.
Columns C:E contain numeric data, you need to sum.

Into B2 you enter text "Total:"
Define named ranges like
Range1=OFFSET(MyData!$C$5,COUNTIF(MyData!$A:$A,"< ")-1,1)
Range2=OFFSET(MyData!$D$5,COUNTIF(MyData!$A:$A,"< ")-1,1)
Range3=OFFSET(MyData!$E$5,COUNTIF(MyData!$A:$A,"< ")-1,1)

Into C2 enter the formula:
=SUM(Range1)
D2=SUM(Range2)
E2=SUM(Range3)

You can improve it, replacing the SUM function with SUBTOTAL, like:
C2=SUBTOTAL(9,Range1)
Now, when you filter some data using autofilter feature, totals for filtered
rows is displayed at header.

As bonus, you can set header, along with totals, to be always visible, using
Freeze Panes feature


Arvi Laanemets


"Lazurus for excel" <Lazurus for wrote in
message ...
Hi,

Here is my scenario, I am attempting to export data from another program
into excel (financial data) that changes daily making my cell location for
totals change is there a formula that can combat that??? to eliminate data
entry time!!! :P



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
Creating an EXCEL COUNTIF formula for a range of values Pat Walsh Excel Discussion (Misc queries) 5 January 21st 05 02:57 PM
Creating Formula using check boxes Anthony Slater Excel Discussion (Misc queries) 3 January 4th 05 03:03 PM
HELP creating what should be easy formula! dmeals Excel Worksheet Functions 1 January 3rd 05 12:21 AM
HELP creating formula! dmeals Excel Worksheet Functions 0 January 2nd 05 11:39 PM
Help creating a formula, pulling from a set of static numbers. James Excel Worksheet Functions 1 December 20th 04 06:39 AM


All times are GMT +1. The time now is 05:15 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"