Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 56
Default Countif or other formula needed for multiple data/critera results

What I am needing is:
Return the sum of the count from Column G that contains a date of
1/1/2050, and a count for Column H that is equal to today().


Not sure exactly what's required.

If you need two sums, then
(1) the count from Column G that contains a date of 1/1/2050 is
=COUNTIF($G:$G,DATE(2050,1,1))
and
(2) the count for Column H that is equal to today() is
=COUNTIF($H:$H,TODAY())

If you need the total of these two, add the two formulas.

Notice that if you add the two formulas then any row that satisfies both (1) and (2) will be counted twice. If you want to count such rows only once, then this should work:
=COUNTIF($G:$G,DATE(2050,1,1))+
COUNTIF($H:$H,TODAY())-
SUMPRODUCT(--($G:$G=DATE(2050,1,1)),--($H:$H=TODAY()))

Hope this helps getting started.
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
Formula with multiple critera jjohnsonofduluthMN Excel Discussion (Misc queries) 3 April 3rd 09 04:28 PM
help with sumif formula with multiple critera Matt Excel Worksheet Functions 4 October 13th 07 06:56 PM
Multiple Countif results Fez the Blue Excel Worksheet Functions 6 August 8th 06 01:19 PM
How do you make a countif formula with 2 or more critera? Melissa Excel Worksheet Functions 1 September 25th 05 12:21 AM
formula results take up to 2 lines if needed, but keep border smurf Excel Worksheet Functions 0 August 17th 05 08:55 PM


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