Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I add numbers in two column based on the date in another?

Hi Please help. Using Excel 2003, I am trying to find a way to determine if a
date changes in a range, total amounts in two columns, by date, by route
otherwise return a blank.
A=Route# B=Date N=Total Hours(of a call) O=Time Between Calls P=Total of N+O
A B N O P
01 16/02/2010 1.25 FALSE
01 16/02/2010 1.17 0.167
01 16/02/2010 0.50 0.083
01 16/02/2010 1.25 0.083 4.503
01 17/02/2010 1.00 FALSE 1.00
I tried this
=SUMIF(B2:B30,"<="&B2,N2:O100)
Thank you
Mysa
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default How do I add numbers in two column based on the date in another?

Hi
No idea what you want. Could you say what you expect your formula to
give you in this example?
regards
Paul

On Mar 10, 2:45*pm, Mysa wrote:
Hi Please help. Using Excel 2003, I am trying to find a way to determine if a
date changes in a range, total amounts in two columns, by date, by route
otherwise return a blank.
A=Route# *B=Date N=Total Hours(of a call) O=Time Between Calls P=Total of N+O
A * * * * *B * * * * * * * * * * * * * *N * * * * O * * * * *P * * * * * *
01 * * *16/02/2010 * * * * * * * 1.25 * * FALSE * *
01 * * *16/02/2010 * * * * * * * 1.17 * * *0.167
01 * * *16/02/2010 * * * * * * * 0.50 * 0.083
01 * * *16/02/2010 * * * * * * * 1.25 * * 0.083 * *4.503
01 * * *17/02/2010 * * * * * * * 1.00 * FALSE * 1..00
I tried this
=SUMIF(B2:B30,"<="&B2,N2:O100)
Thank you
Mysa


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default How do I add numbers in two column based on the date in another?

Hi,

This assumes your data starts in row 2. Put this in P2 and drag down

=IF(B3<B2,SUMPRODUCT($N$2:O2)-SUM($P$1:P1),"")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Mysa" wrote:

Hi Please help. Using Excel 2003, I am trying to find a way to determine if a
date changes in a range, total amounts in two columns, by date, by route
otherwise return a blank.
A=Route# B=Date N=Total Hours(of a call) O=Time Between Calls P=Total of N+O
A B N O P
01 16/02/2010 1.25 FALSE
01 16/02/2010 1.17 0.167
01 16/02/2010 0.50 0.083
01 16/02/2010 1.25 0.083 4.503
01 17/02/2010 1.00 FALSE 1.00
I tried this
=SUMIF(B2:B30,"<="&B2,N2:O100)
Thank you
Mysa

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
Count Unique Values in 1 Column based on Date Range in another Column Brian Excel Worksheet Functions 14 May 17th 09 02:58 PM
Summing data in one column based on date in another column Jon1234 Excel Programming 4 December 31st 08 04:22 PM
Adding numbers based on date Dyanna Excel Worksheet Functions 2 August 27th 08 06:38 PM
Auto Fill Column with Date based on rows in other column JOUIOUI Excel Programming 2 June 6th 06 06:28 PM
Add amounts in a column based on transaction date in another column jonco Excel Programming 0 May 9th 06 12:43 AM


All times are GMT +1. The time now is 02:07 PM.

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"