A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Running total based upon current date



 
 
Thread Tools Display Modes
  #1  
Old April 10th, 2010, 02:05 PM posted to microsoft.public.excel.worksheet.functions
ucastores
external usenet poster
 
Posts: 18
Default Running total based upon current date

I have cells with dollar values from formulas and i am trying to place the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the Date
command properly, but i can't figure out how to do it. can anyone help me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it? What
i want is if the date is today or inthe past to add the dollar values in the
cells, but not the ones that are in the future.
  #2  
Old April 10th, 2010, 02:09 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Running total based upon current date

Hi,

Change the ranges to suit

=SUMPRODUCT((A1:A20"")*(A1:A20=TODAY())*(B1:B20 ))

--
Mike

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


"ucastores" wrote:

I have cells with dollar values from formulas and i am trying to place the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the Date
command properly, but i can't figure out how to do it. can anyone help me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it? What
i want is if the date is today or inthe past to add the dollar values in the
cells, but not the ones that are in the future.

  #3  
Old April 10th, 2010, 02:24 PM posted to microsoft.public.excel.worksheet.functions
ucastores
external usenet poster
 
Posts: 18
Default Running total based upon current date

Mike, being the usual slow thinking person i can sometimes be, i think a left
an important bit of info out. ... can i send you a copy that work sheet?
The columns are titled with the months of the year and those that are in the
future i don't want included but the ones that have passed i do.

"Mike H" wrote:

Hi,

Change the ranges to suit

=SUMPRODUCT((A1:A20"")*(A1:A20=TODAY())*(B1:B20 ))

--
Mike

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


"ucastores" wrote:

I have cells with dollar values from formulas and i am trying to place the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the Date
command properly, but i can't figure out how to do it. can anyone help me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it? What
i want is if the date is today or inthe past to add the dollar values in the
cells, but not the ones that are in the future.

  #4  
Old April 10th, 2010, 02:31 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Running total based upon current date

Hi,

With the obvious changes

M dot L dot hughes at virginmedia dot com
--
Mike

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


"ucastores" wrote:

Mike, being the usual slow thinking person i can sometimes be, i think a left
an important bit of info out. ... can i send you a copy that work sheet?
The columns are titled with the months of the year and those that are in the
future i don't want included but the ones that have passed i do.

"Mike H" wrote:

Hi,

Change the ranges to suit

=SUMPRODUCT((A1:A20"")*(A1:A20=TODAY())*(B1:B20 ))

--
Mike

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


"ucastores" wrote:

I have cells with dollar values from formulas and i am trying to place the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the Date
command properly, but i can't figure out how to do it. can anyone help me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it? What
i want is if the date is today or inthe past to add the dollar values in the
cells, but not the ones that are in the future.

  #5  
Old April 10th, 2010, 02:35 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default Running total based upon current date

If mike is not avail

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ucastores" wrote in message
...
Mike, being the usual slow thinking person i can sometimes be, i think a
left
an important bit of info out. ... can i send you a copy that work sheet?
The columns are titled with the months of the year and those that are in
the
future i don't want included but the ones that have passed i do.

"Mike H" wrote:

Hi,

Change the ranges to suit

=SUMPRODUCT((A1:A20"")*(A1:A20=TODAY())*(B1:B20 ))

--
Mike

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


"ucastores" wrote:

I have cells with dollar values from formulas and i am trying to place
the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the
Date
command properly, but i can't figure out how to do it. can anyone help
me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it?
What
i want is if the date is today or inthe past to add the dollar values
in the
cells, but not the ones that are in the future.


  #6  
Old April 10th, 2010, 04:48 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default Running total based upon current date

To get the sum for 2011 for the 1st one for both rows. If this is what you
want?
=SUM(A8:OFFSET(A8,1,MONTH(TODAY())))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
If mike is not avail

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ucastores" wrote in message
...
Mike, being the usual slow thinking person i can sometimes be, i think a
left
an important bit of info out. ... can i send you a copy that work
sheet?
The columns are titled with the months of the year and those that are in
the
future i don't want included but the ones that have passed i do.

"Mike H" wrote:

Hi,

Change the ranges to suit

=SUMPRODUCT((A1:A20"")*(A1:A20=TODAY())*(B1:B20 ))

--
Mike

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


"ucastores" wrote:

I have cells with dollar values from formulas and i am trying to place
the
total of all those values in another cell based upon the current date
backwards. An IF gives me a #name result. I know i am not using the
Date
command properly, but i can't figure out how to do it. can anyone
help me?
I used =IF(Date=TODAY, sum(. ... Or is there a better way to do it?
What
i want is if the date is today or inthe past to add the dollar values
in the
cells, but not the ones that are in the future.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.