Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RODRODROD
 
Posts: n/a
Default From x date To x date you have earned x$ (dates are not the same)

COLUMN "A" HAS DATES IN IS AND COLUMN "E" HAS POINTS FOR THAT DATE.
A E
6/11/05 80
6/05/05 100
6/11/05 95
6/05/05 73
6/11/05 230 "I WANT TO PUT ANYWHERE ON THE SPREADSHEET (FROM
_____ TO _______ YOU X POINTS) EXP. FROM 6/11/05 TO 6/11/05 YOU HAVE 405
POINTS) HELP
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

1. Don't use all caps, it is considered rude (shouting) and it is harder to
read

Try

=SUMIF(A2:A100,"="&DATE(6,11,5),B2:B100)

adapt the cell ranges to fit accordingly

--
Regards,

Peo Sjoblom

(No private emails please)


"RODRODROD" wrote in message
...
COLUMN "A" HAS DATES IN IS AND COLUMN "E" HAS POINTS FOR THAT DATE.
A E
6/11/05 80
6/05/05 100
6/11/05 95
6/05/05 73
6/11/05 230 "I WANT TO PUT ANYWHERE ON THE SPREADSHEET (FROM
_____ TO _______ YOU X POINTS) EXP. FROM 6/11/05 TO 6/11/05 YOU HAVE 405
POINTS) HELP


  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you really meant from to you might want either

=SUMPRODUCT(--(A2:A100=DATE(6,5,5)),--(A2:A100<=DATE(6,11,5)),B2:B100)

or


=SUMIF(A2:A100,"="&DATE(6,5,5),B2:B100)-
SUMIF(A2:A100,""&DATE(6,11,5),B2:B100)


that would give you from to


--
Regards,

Peo Sjoblom

(No private emails please)


"Peo Sjoblom" wrote in message
...
1. Don't use all caps, it is considered rude (shouting) and it is harder
to read

Try

=SUMIF(A2:A100,"="&DATE(6,11,5),B2:B100)

adapt the cell ranges to fit accordingly

--
Regards,

Peo Sjoblom

(No private emails please)


"RODRODROD" wrote in message
...
COLUMN "A" HAS DATES IN IS AND COLUMN "E" HAS POINTS FOR THAT DATE.
A E
6/11/05 80
6/05/05 100
6/11/05 95
6/05/05 73
6/11/05 230 "I WANT TO PUT ANYWHERE ON THE SPREADSHEET (FROM
_____ TO _______ YOU X POINTS) EXP. FROM 6/11/05 TO 6/11/05 YOU HAVE
405
POINTS) HELP



  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Oops! Change the DATE part to

DATE(5,6,5) and DATE(5,6,11)

--
Regards,

Peo Sjoblom

(No private emails please)


"Peo Sjoblom" wrote in message
...
If you really meant from to you might want either

=SUMPRODUCT(--(A2:A100=DATE(6,5,5)),--(A2:A100<=DATE(6,11,5)),B2:B100)

or


=SUMIF(A2:A100,"="&DATE(6,5,5),B2:B100)-
SUMIF(A2:A100,""&DATE(6,11,5),B2:B100)


that would give you from to


--
Regards,

Peo Sjoblom

(No private emails please)


"Peo Sjoblom" wrote in message
...
1. Don't use all caps, it is considered rude (shouting) and it is harder
to read

Try

=SUMIF(A2:A100,"="&DATE(6,11,5),B2:B100)

adapt the cell ranges to fit accordingly

--
Regards,

Peo Sjoblom

(No private emails please)


"RODRODROD" wrote in message
...
COLUMN "A" HAS DATES IN IS AND COLUMN "E" HAS POINTS FOR THAT DATE.
A E
6/11/05 80
6/05/05 100
6/11/05 95
6/05/05 73
6/11/05 230 "I WANT TO PUT ANYWHERE ON THE SPREADSHEET (FROM
_____ TO _______ YOU X POINTS) EXP. FROM 6/11/05 TO 6/11/05 YOU HAVE
405
POINTS) HELP




  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 11 Jun 2005 19:03:40 -0700, "Peo Sjoblom" wrote:

Oops! Change the DATE part to

DATE(5,6,5) and DATE(5,6,11)


The OP did not specify the century; but I should point out that your formula
gives a date of 1905-June-05 on my machine. And entering his posted dates into
my worksheet would give a year of 2005.

The DATE worksheet function:

If year is between 0 (zero) (4 for the 1904 date system) and 1899 (inclusive),
Excel adds that value to 1900 to calculate the year. For example, DATE(108,1,2)
returns January 2, 2008 (1900+108).



--ron


  #6   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

LOL! I guess I am too tired today()

--
Regards,

Peo Sjoblom

(No private emails please)


"Ron Rosenfeld" wrote in message
...
On Sat, 11 Jun 2005 19:03:40 -0700, "Peo Sjoblom"
wrote:

Oops! Change the DATE part to

DATE(5,6,5) and DATE(5,6,11)


The OP did not specify the century; but I should point out that your
formula
gives a date of 1905-June-05 on my machine. And entering his posted dates
into
my worksheet would give a year of 2005.

The DATE worksheet function:

If year is between 0 (zero) (4 for the 1904 date system) and 1899
(inclusive),
Excel adds that value to 1900 to calculate the year. For example,
DATE(108,1,2)
returns January 2, 2008 (1900+108).



--ron


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
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM
Finding Dates in a date range Marcus Excel Discussion (Misc queries) 1 April 5th 05 01:51 AM
Trying to create repeating dates and then sort column by date lizabright Excel Worksheet Functions 2 February 11th 05 12:33 AM
Using a col of Dates by day I want to determine a wk ending date. Ken Espo Excel Worksheet Functions 4 February 3rd 05 11:03 PM
Using a col of Dates by day I want to determine a wk ending date. Ken Espo Excel Worksheet Functions 1 February 3rd 05 08:09 PM


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