LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default Results based on multiple criteria

Hi Daniel,

That worked. Thanks for your help

Craig

"Daniel.C" wrote:

Hi Craig,
The result should not be in column B :
=SUM(B:B)
If you want the result for a date (I assume, it is in D1 :
=SUMIF(C1:C10,"<="&D1,B1:B10)
If you want the same result for "winter only" :
=SUMIF(A1:A10,"winter only",B1:B10)
and for "winter only" and a date in D1 :
=SUMPRODUCT((A1:A10="winter only")*(C1:C10<=D1),B1:B10)
Regards.
Hi Daniel,

This is an example from our spreadsheet

Regime Length (m) Date
SUMMER & WINTER 45 16-Aug-08
SUMMER & WINTER 22 16-Aug-08
WINTER ONLY 28 15-Sep-08
SUMMER & WINTER 12 24-Sep-08

Meters cut to date _____

What i want to do is calculate the total meters cut each time a date is
entered into Column C. For instance on 16-Aug-08 the 'Meters cut to date' box
would show 67. On 15-Sep-08 the total would be 95. The idea is to create a
running total as each hedge is cut.
We used to measure the number of locations cut but that didn't give an
accurate picture as some hedges were 2 metres long whereas some could be 50
metres long. By measuring the distance cut it would give us a better picture
of how we are progressing.
Ideally we would like to count winter hedges only as not all hedges will be
cut twice a year but this may be more difficult. At the moment we would be
happy with just the distance cut.

Thanks in advance.



"Daniel.C" wrote:

Can you post a sample data with the result you are expecting ?
Regards.
Daniel

I have a simple 3 column spreadsheet for recording the date a particular
hedge is cut. Column A shows the cutting regime which is either 'Summer &
Winter' or 'Winter Only'. Column B shows the length of the hedge and Column
C shows the date it was cut.
What i would like to do is count the meters cut as the date is entered into
Column C so it gives a 'live' figure. By doing this we can advise customers
when we'll be working in their area because we'll know if we're behind or
ahead of schedule.

Thanks








 
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
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Multiple criteria with multiple results in one cell RS Excel Worksheet Functions 4 March 2nd 07 11:05 PM
Multiple results from multiple criteria using IF function David Platt Excel Discussion (Misc queries) 2 January 15th 07 10:19 AM
Search cells based on criteria and display results in a single col G Bonham Excel Discussion (Misc queries) 5 January 12th 07 03:19 PM
Returning Results Based on Two Criteria [email protected] Excel Worksheet Functions 7 October 23rd 05 02:53 PM


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