Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rainy
 
Posts: n/a
Default nesting functions

=SUMIF('N651 DAILY TRIPS'!$A$2:$A$2000,"<="&'BY PAY WEEK'!A2,'N651 DAILY
TRIPS'!$E$2:$E$2000)

The above function works, but I need to modify it. Is there a formula where
you can use something like =&betweena2&b2? I am trying to modify the above
formula to be =to and between 2 different dates, does anyone know a way to do
this? I am also trying to do a count function, with the same ranges as above
but I do not want to count blanks and I need to add two columns together that
meet the same criteria of "<="&'by pay week'!a2.
--
Rainy
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Tue, 31 May 2005 15:58:01 -0700, "Rainy"
wrote:

=SUMIF('N651 DAILY TRIPS'!$A$2:$A$2000,"<="&'BY PAY WEEK'!A2,'N651 DAILY
TRIPS'!$E$2:$E$2000)

The above function works, but I need to modify it. Is there a formula where
you can use something like =&betweena2&b2? I am trying to modify the above
formula to be =to and between 2 different dates, does anyone know a way to do
this? I am also trying to do a count function, with the same ranges as above
but I do not want to count blanks and I need to add two columns together that
meet the same criteria of "<="&'by pay week'!a2.


In general, to use SUMIF to get events that are between two dates, use a
construct of the type:

=SUMIF(range,"=" & start_date, sum_range) -
SUMIF(range, ""& end_date, sum_range).


--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
nesting functions Gary Brown Excel Worksheet Functions 0 May 31st 05 11:32 PM
Default User Defined Functions - How? flycast Excel Discussion (Misc queries) 4 May 26th 05 04:26 AM
Nesting Functions LostNFound Excel Worksheet Functions 4 March 3rd 05 09:59 PM
What is the syntax for nesting functions such as IF AND? Lane CC Laura Excel Worksheet Functions 1 February 11th 05 03:07 AM
nesting 18 x functions Jenny Excel Worksheet Functions 3 December 2nd 04 12:01 PM


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