#1   Report Post  
qflyer
 
Posts: n/a
Default SUMIF Alternative?


Hey folks,

I'm a pilot and to remain "current" I must fly 6 instrument approaches
within the past 180 days. I have my logbook on a spreadsheet and
column A lists the dates of every flight, and column F lists any
instrument approaches flown on each flight. I'd like to sum the values
in column F if the date is greater than TODAY()-180. The formula would
look like =SUMIF(A50:A3000,"TODAY()-180",F50:F3000).

The SUMIF formula won't compute anything with a TODAY() in it, so I
have to manually enter in the date I'd like to look after
(=SUMIF(A50:A3000,"12/20/2004",F50:F3000)). How can I SUM the number
of approaches flown within the past 180 days without using a SUMIF?

Thanks a lot,
Scott


--
qflyer
------------------------------------------------------------------------
qflyer's Profile: http://www.excelforum.com/member.php...o&userid=24448
View this thread: http://www.excelforum.com/showthread...hreadid=380454

  #2   Report Post  
JMB
 
Posts: n/a
Default

You just need to make some minor changes. The Today()-180 needs to be
outside the quotes with an & in front of it.

=SUMIF(A50:A3000,""&TODAY()-180,F50:F3000).



"qflyer" wrote:


Hey folks,

I'm a pilot and to remain "current" I must fly 6 instrument approaches
within the past 180 days. I have my logbook on a spreadsheet and
column A lists the dates of every flight, and column F lists any
instrument approaches flown on each flight. I'd like to sum the values
in column F if the date is greater than TODAY()-180. The formula would
look like =SUMIF(A50:A3000,"TODAY()-180",F50:F3000).

The SUMIF formula won't compute anything with a TODAY() in it, so I
have to manually enter in the date I'd like to look after
(=SUMIF(A50:A3000,"12/20/2004",F50:F3000)). How can I SUM the number
of approaches flown within the past 180 days without using a SUMIF?

Thanks a lot,
Scott


--
qflyer
------------------------------------------------------------------------
qflyer's Profile: http://www.excelforum.com/member.php...o&userid=24448
View this thread: http://www.excelforum.com/showthread...hreadid=380454


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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Dynamic sumif function Jimbola Excel Worksheet Functions 5 May 4th 05 01:10 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM


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