LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Summing on year and text conditions

I have a worksheet with date a bottle of wine is drunk (formatted as
yyyy-mm-dd) and another column indicating whether the wine was Red or White
(White exists as White, or White - Sweet Dessert, so the string "Whit*"
captures all White).

I want a count of total reds, whites, and overall total bottles consumed by
year but do not see how to get this yet. For graphing purposes I would like
these three totals to appear as rows under column headings corresponding to
each year and beginning 2007 and going out to 2040. The base worksheet is
automatically refreshed from an internet based source, so it would be nice to
have a formula that works today and throughout the future.

In case the above is not clear, imagine I have:

Consumed Type
2007-06-23 White
2007-09-17 Red
2008-01-17 Red
2008-11-18 Red

I would want this to give

2007 2008 2009
Total Red 1 2 0 (or empty cell, etc)
Total White 1 0
Total 2 2


Thanks,

Dave M


 
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
Summing a range with conditions rb Excel Worksheet Functions 2 March 27th 06 12:07 AM
Summing a range with conditions bpeltzer Excel Worksheet Functions 1 March 26th 06 11:44 PM
Summing if several conditions apply [email protected] Excel Worksheet Functions 3 December 1st 05 04:52 PM
Summing on multiple conditions Stacy Excel Worksheet Functions 1 September 15th 05 08:24 PM
Meeting two conditions before summing Andeb Excel Worksheet Functions 1 June 24th 05 10:33 AM


All times are GMT +1. The time now is 01:32 AM.

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"