Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Sum if or Count if with dates or any other formula that would work

I am wanting to use that data below to give me the totals in B that are 0 to
10 days based off of A and the date on the computer. I want to put this in
C1. Also I am wanting to use a formula to give totals in B that are 11 to 20
days based off of a and from the date on the computer. I want to put this in
C2.


A B C
1 3/23/08 26.48
2 4/20/08 0.00
3 4/16/08 2.48
4 3/18/08 46.81
5 3/10/08 0.00
6 4/12/08 42.00

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Sum if or Count if with dates or any other formula that would work

=SUMPRODUCT(--($A$1:$A$6TODAY()-10),$B$1:$B$6)

and

=SUMPRODUCT(--($A$1:$A$6TODAY()-20),$B$1:$B$6)-C1

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Jeremy" wrote in message
...
I am wanting to use that data below to give me the totals in B that are 0
to
10 days based off of A and the date on the computer. I want to put this in
C1. Also I am wanting to use a formula to give totals in B that are 11 to
20
days based off of a and from the date on the computer. I want to put this
in
C2.


A B C
1 3/23/08 26.48
2 4/20/08 0.00
3 4/16/08 2.48
4 3/18/08 46.81
5 3/10/08 0.00
6 4/12/08 42.00



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 to count cells between dates. Vegs Excel Worksheet Functions 4 June 12th 06 06:56 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
Formula that will count between dates ranges jbsand1001 Excel Worksheet Functions 4 April 1st 05 11:41 PM
Formula that will count between dates ranges jbsand1001 Excel Worksheet Functions 0 March 7th 05 06:41 PM


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