Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
OkieViking
 
Posts: n/a
Default Summarize data with multiple conditions

I have a dataset with basically 3 columns of data of interest. 2 columns
contain conditions (location and month), and the 3rd column contains a
numerical value (hrs). The worksheet has a header row, and the data starts
right below (no blanks). I want to build an equation to sum the hrs for a
specific month and place. The equation below works as long as I know how many
rows of data I have:

=SUM(IF((B5:B25="Northwind")*(C5:C25="Western"),F5 :F25))

Unfortunately, Data will be added on a daily basis, so I don't know how many
rows are in the range. If I just select the column it gives me an error
message. Is there a trick that will allow me to accomplish this without
having to modify the equation routinely? Not all the users of the
spreadsheet are Excel savvy.

Thanks
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You could simply use a larger range like

B5:B65535

or better

B5:B5000

jsut use something that never will be filled

or you can use a dynamic range

http://www.contextures.com/xlNames01.html#Dynamic


Regards,

Peo Sjoblom


"OkieViking" wrote:

I have a dataset with basically 3 columns of data of interest. 2 columns
contain conditions (location and month), and the 3rd column contains a
numerical value (hrs). The worksheet has a header row, and the data starts
right below (no blanks). I want to build an equation to sum the hrs for a
specific month and place. The equation below works as long as I know how many
rows of data I have:

=SUM(IF((B5:B25="Northwind")*(C5:C25="Western"),F5 :F25))

Unfortunately, Data will be added on a daily basis, so I don't know how many
rows are in the range. If I just select the column it gives me an error
message. Is there a trick that will allow me to accomplish this without
having to modify the equation routinely? Not all the users of the
spreadsheet are Excel savvy.

Thanks

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
multiple scatter graphes how to plot 3 sets of data for x y on th. frances Charts and Charting in Excel 3 May 2nd 23 11:42 AM
Multiple rows of data on a single axis (charting) ramseysgirl Charts and Charting in Excel 8 December 29th 04 06:00 PM
multiple or changing colours in a data table on an excel chart fo. Kerri Buxton Charts and Charting in Excel 2 December 23rd 04 07:39 PM
How do I avoid saving multiple data files for versioning purposes. [email protected] Excel Discussion (Misc queries) 1 December 13th 04 12:57 PM
How do I pull in multiple data sets at once? Doug Excel Discussion (Misc queries) 0 December 6th 04 12:37 AM


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