Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Counting selected entries

I have a spreadsheet set up like a basic monthly
calandar. Each day (Mon - Sat) is represented by one cell
(e.g., week 1 would be cells B2 - G2; week 2 is B3 - G3,
with five possible weeks per month). The user is
restricted in each cell to selecting from a list a code
numbered 1 - 16 (each number 1 through 16 is a code
selected for that day)...

How can I list and add-up after each month the number of
times any/each number (1 through 16) was selected that
month? How can I I do the same and include previous month
totals?

(Once I do this, i should be able to link those numbers to
a separate workbook to maintain year-to-date totals, etc.,
right?)

All help is really appreciated! Thanks,

Adam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Counting selected entries

=countif($B$2:$G$6,1)
will count the number of cells in B2:G6 which contain 1.

=Countif($B$2:$G$11,1)



will count two months of data for value 1.

=Countif($B:$G,1)
will count the whole years data

Is it more complicated than that.

Regards,
Tom Ogilvy



"Adam" wrote in message
...
I have a spreadsheet set up like a basic monthly
calandar. Each day (Mon - Sat) is represented by one cell
(e.g., week 1 would be cells B2 - G2; week 2 is B3 - G3,
with five possible weeks per month). The user is
restricted in each cell to selecting from a list a code
numbered 1 - 16 (each number 1 through 16 is a code
selected for that day)...

How can I list and add-up after each month the number of
times any/each number (1 through 16) was selected that
month? How can I I do the same and include previous month
totals?

(Once I do this, i should be able to link those numbers to
a separate workbook to maintain year-to-date totals, etc.,
right?)

All help is really appreciated! Thanks,

Adam



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
counting entries mits Excel Worksheet Functions 4 August 18th 09 02:11 PM
Creating a drop down list with a multitude of entries selected run2live Excel Worksheet Functions 1 January 26th 09 08:59 AM
Counting entries Dos Equis Excel Worksheet Functions 4 November 20th 06 03:24 AM
How to display selected table entries from another worksheet? Wheel Excel Worksheet Functions 0 October 4th 05 03:19 AM
Counting Entries Jimbo Excel Worksheet Functions 6 April 29th 05 08:27 PM


All times are GMT +1. The time now is 08:13 AM.

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

About Us

"It's about Microsoft Excel"