Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wayne Cameron
 
Posts: n/a
Default I wish to make a formula that adds dollars in 1 column if a date .

I wish to make a formula that adds dollars in 1 column if a date range is
satisfied in a second column. This is the formula I came up with but it
doesn't return the correct answer. Can any one help me with a correction?
--
D. W. Cameron
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default I wish to make a formula that adds dollars in 1 column if a date .

=SUMPRODUCT(--(A2:A20=--"2005-10-01"),--(A2:A20<=--"2005-10-30"),B2:B20)

where the dates are in A, amounts in B

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Wayne Cameron" wrote in message
...
I wish to make a formula that adds dollars in 1 column if a date range is
satisfied in a second column. This is the formula I came up with but it
doesn't return the correct answer. Can any one help me with a correction?
--
D. W. Cameron



  #3   Report Post  
Anne Troy
 
Posts: n/a
Default I wish to make a formula that adds dollars in 1 column if a date .

I don't see your formula, Wayne, but something like this?

=If(a2$G$1,b2+1,a2)
That will add 1 to the value in B2 if the date in A2 is greater than a date
in G1 (you can change the date in G1 or pur =NOW() to make G1 have today's
date in it). If the date in G1 is before today, then the value comes over
without the extra $1.
This may help:
http://www.officearticles.com/excel/...soft_excel.htm
************
Anne Troy
www.OfficeArticles.com

"Wayne Cameron" wrote in message
...
I wish to make a formula that adds dollars in 1 column if a date range is
satisfied in a second column. This is the formula I came up with but it
doesn't return the correct answer. Can any one help me with a correction?
--
D. W. Cameron



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
Make a formula that adds every 4th cell in a column indefinately? Ben Mehling Excel Worksheet Functions 3 September 13th 05 12:43 PM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Auto Skipping and protected cells Dave Peterson Excel Discussion (Misc queries) 6 January 27th 05 11:35 PM
how do i make a cell date sensitive to execute a formula or input. ebuzz13 Excel Discussion (Misc queries) 2 January 20th 05 08:33 PM


All times are GMT +1. The time now is 02:20 AM.

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"