Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default conditional formulas based on a time period

I need to be able to track data on a rolling 12 month cycle. For instance,
how much money has been brought in from exactly 1 year ago from todays date?,
Tomorrow, same question. My date is in Column B and the data that needs added
together is in Column G. If the date in Column B is within the last 364 days
from the current date I need the numbers in the corresponding Column G to add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default conditional formulas based on a time period

=SUMPRODUCT(--(B2:B200=TODAY()-364),--(B2:B200<=TODAY()),G2:G200)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Lisa" wrote in message
...
I need to be able to track data on a rolling 12 month cycle. For instance,
how much money has been brought in from exactly 1 year ago from todays
date?,
Tomorrow, same question. My date is in Column B and the data that needs
added
together is in Column G. If the date in Column B is within the last 364
days
from the current date I need the numbers in the corresponding Column G to
add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default conditional formulas based on a time period

Try this:

=SUMIF(B:B,"="&TODAY()-364,G:G)

Biff

"Lisa" wrote in message
...
I need to be able to track data on a rolling 12 month cycle. For instance,
how much money has been brought in from exactly 1 year ago from todays
date?,
Tomorrow, same question. My date is in Column B and the data that needs
added
together is in Column G. If the date in Column B is within the last 364
days
from the current date I need the numbers in the corresponding Column G to
add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default conditional formulas based on a time period

It works perfectly. Thank you!!

"Bob Phillips" wrote:

=SUMPRODUCT(--(B2:B200=TODAY()-364),--(B2:B200<=TODAY()),G2:G200)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Lisa" wrote in message
...
I need to be able to track data on a rolling 12 month cycle. For instance,
how much money has been brought in from exactly 1 year ago from todays
date?,
Tomorrow, same question. My date is in Column B and the data that needs
added
together is in Column G. If the date in Column B is within the last 364
days
from the current date I need the numbers in the corresponding Column G to
add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 328
Default conditional formulas based on a time period

This formula worked perfectly too. Thank You!!

"T. Valko" wrote:

Try this:

=SUMIF(B:B,"="&TODAY()-364,G:G)

Biff

"Lisa" wrote in message
...
I need to be able to track data on a rolling 12 month cycle. For instance,
how much money has been brought in from exactly 1 year ago from todays
date?,
Tomorrow, same question. My date is in Column B and the data that needs
added
together is in Column G. If the date in Column B is within the last 364
days
from the current date I need the numbers in the corresponding Column G to
add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default conditional formulas based on a time period

You're welcome!

Biff

"Lisa" wrote in message
...
This formula worked perfectly too. Thank You!!

"T. Valko" wrote:

Try this:

=SUMIF(B:B,"="&TODAY()-364,G:G)

Biff

"Lisa" wrote in message
...
I need to be able to track data on a rolling 12 month cycle. For
instance,
how much money has been brought in from exactly 1 year ago from todays
date?,
Tomorrow, same question. My date is in Column B and the data that needs
added
together is in Column G. If the date in Column B is within the last 364
days
from the current date I need the numbers in the corresponding Column G
to
add
together and give me a sum at a glance. Can anyone tell me if this is
possible and how to write the formula to get the info that I need?
Thanks






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
Gantt chart - fill show progress of tasks over task time period??? JohnHamer1977 Excel Discussion (Misc queries) 3 August 29th 06 05:41 AM
CONDITIONAL FORMATTING BASED ON RESULTS IN A CELL jpreman Excel Worksheet Functions 3 June 26th 06 04:00 PM
formula to determine time range overlap? William DeLeo Excel Discussion (Misc queries) 0 June 6th 06 08:26 PM
conditional formating cells i Excel based on other cells values Elias Petursson Excel Worksheet Functions 3 May 23rd 06 06:45 PM
how can i use colors in conditional formulas if i want the result. kshaheen Excel Discussion (Misc queries) 1 March 22nd 05 10:09 AM


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