LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
vipa2000
 
Posts: n/a
Default counting based ona number of variables.

Priority col 4 Bas. start date Basic fin. date
120873 50098553 2 23/01/2004 26/01/2004
120873 50086461 6 01/12/2004 31/12/2004
120873 50166711 3 16/02/2005 22/02/2005
120873 50153765 3 HUDS 01/03/2005 01/03/2005
120873 50170114 1 07/06/2005 09/03/2005
120873 50172335 1 22/06/2005 23/03/2005

Right, thanks for everbodies help so far, but this one has me really stiched
up.

=COUNT(Sheet1!A:A,"12*")-COUNTIF(Sheet1!D:D,"HUD*")
=SUMPRODUCT(--(Sheet1!C1:C30000=1),--(Sheet1!D1:D30000=""))

i have used both the above bits of code plus others to interrogate the data
to produce a standard report. Data is to be imported into a spreadsheet
monthly and then analysed on a separate worksheet. I now need to focus on
counting the priority (say 3) with a corrsponding null in col 4 but based
only on the month I want to interrogate, say june. For the above data i
should get 2 events. I don't want the dates to be hardcoded as the data will
change. I had wondered about a drop down list with 1-12 corresponding to the
months and a year one and then the code above could be tweaked to look at the
month/year selected by the user and then 'filter' my data accordingly.

i'll be impressed if this gets cracked.
--
Regards vipa
 
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
Creating combo box with different number of variables fullers Excel Worksheet Functions 1 July 4th 05 07:19 PM
chart label reference based on the column number bj Charts and Charting in Excel 0 May 20th 05 07:18 PM
counting based on criteria SOT Excel Worksheet Functions 0 March 9th 05 05:25 PM
Want to return a value based on a whether a number is within a ra. laurieevan Excel Worksheet Functions 3 February 24th 05 11:14 AM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM


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