Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2007

Tip: Looking for answers? Try searching our database.

Excel VBA Help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dav135 - 23 Jan 2007 16:41 GMT
Hi, I have a spreadsheet with 2 tabs, named 'Summary' and 'Data'.  The
data tab contains information on web enquiries, this includes Date, and
Enquiry Type.

On the summary tab, I am trying to create a formula which simply
summarises this week by week. This is set up as follows:
Col A                         Col B           Col C
                                30.12.06       06.01.07           <--
I have set this up as the formula will need to have a start and end
date.
                                05.01.07       12.01.07           <--
This is the end date for the Week Ending period.
General Enquiry

To figure out the overall total for each enquiry type is simple, I use
a countif statement looking at the enquiry type on the data tab and set
the criteria to that what's in column A.  The problem im having, is
knowing how to set an extra criteria (ie the countif must only count
the item from the data tab if the enquiry type matches, as well as
ensuring that it only counts entries referring to that particular week
- this is why I have a Start Date and End Date above for each
particular week).  Is there a way to do this?

Hope that makes sense, any help would be greatly appreciated!!

Thanks
Excelibur - 23 Jan 2007 17:52 GMT
I don't really understand the question, but it seems you need array
formulas to use a countif or sumif with multiple criteria.

If that is indeed what you need, try a search for array formulas or
multiple criteria and you should find the answer.  Otherwise, rephrase
the question, and I might be able to help :-)

Oh, and please, post with meaningful titles... if you post in
excel.programming, most likely you'll need help with Excel VBA :/

On 23 jan, 17:41, "dav135" <mart...@manufacturinginstitute.co.uk>
wrote:
> Hi, I have a spreadsheet with 2 tabs, named 'Summary' and 'Data'.  The
> data tab contains information on web enquiries, this includes Date, and
[quoted text clipped - 22 lines]
>
> Thanks
dav135 - 23 Jan 2007 18:38 GMT
Apologies!  It may make a lot more sense if you open up a new
spreadsheet and type the following...

Data tab:
A1 = "General Query"
B1 = "02/01/07"
A2 = "General Query"
B2 = "03/01/07"
A3 = "General Query"
B3 = "07/01/07"

Summary Tab
B1 = "30/12/06"
B2 = "05/01/07"
A3 = "General Query"
A4 = "Conference Query"

What I now need to do, is create a formula for cells B3 and B4 which
calculates the number of General and Conference queries and places them
in cells B3 and B4 on the Summary tab.  In this example, cell B3 would
state '2' as there were 2 general queries between 30/12/06 - 05/01/07.
Cell B4 would be '0' as there were no Conference queries between these
dates.

Does that help?  Thanks and apologies once again!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.