PC Review


Reply
Thread Tools Rate Thread

how do I specify a date range = date(2010,4,1 thru 30)

 
 
carper1975
Guest
Posts: n/a
 
      8th Mar 2010
I am trying to use a header in a formula. In A1 I have the month and year
(April 2010). I want to bring in a calculation result from a second page
(Daily Log) So I want to know how many guest in the month of April visited.
But it has to look up April from the year list.

I guess this is what I am trying to accomplish Lookup (A1) April (1-30) 2010
from April Stats sheet on Daily log sheet (A column) add guests logged in (D
Column) and result to April Stats B5

I record numbers daily and want to have the totals from one page brought to
another page, but need the data to be found for the month
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      8th Mar 2010
Assuming the source data as described is in the sheet named: Log
real dates in col A, real numbers in col D

In the stats sheet,
just enter any real date for "Apr 2010" in A1, eg: 1-Apr-2010
then in B5, you could use this:
=SUMPRODUCT(--TEXT(Log!A2:A20,"mmmyy")=TEXT(A1,"mmmyy"),Log!D220)
to return the sum of numbers in Log's col D with Apr 2010 dates in Log's col
A. Adapt the ranges to suit. I favour this route when it comes to computing
figs for a certain month/yr as you don't have to specify the actual start to
end dates (it can be "difficult" recalling the last day of month: 30?, 31?
ugh). Success? hit the YES below.
--
Max
Singapore
---
"carper1975" wrote:
> I am trying to use a header in a formula. In A1 I have the month and year
> (April 2010). I want to bring in a calculation result from a second page
> (Daily Log) So I want to know how many guest in the month of April visited.
> But it has to look up April from the year list.
>
> I guess this is what I am trying to accomplish Lookup (A1) April (1-30) 2010
> from April Stats sheet on Daily log sheet (A column) add guests logged in (D
> Column) and result to April Stats B5
>
> I record numbers daily and want to have the totals from one page brought to
> another page, but need the data to be found for the month

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert 24/03/2010 date into 03/24/2010 date format Nitesh Microsoft Excel Programming 3 5th Jun 2010 10:44 AM
How do Count a the number of times a date range appears within a date range!? leelondon Microsoft Excel Discussion 5 4th Oct 2006 12:12 PM
Link date to a table with Date Range (Eff Date and term date) =?Utf-8?B?S2V2aW4gUmVlZA==?= Microsoft Access 1 31st Aug 2006 04:23 PM
copy date based on date -refer to date range mindpeace Microsoft Excel Programming 1 3rd Jun 2006 01:30 PM
Query Date Range Criteria Doesn't Include Last Date in Range Karl Burrows Microsoft Access Queries 6 10th Jun 2005 07:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:47 PM.