LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Wally Steadman
 
Posts: n/a
Default Countif Problem

Greetings all,
I have a spreadsheet with two worksheets. First worksheet is a weekly
calendar type layout example below:
Range B2 through f8 is a named range called workweek

B C D
E F
Monday Tuesday Wednesday
Thursday Friday
2 8:00 A1 B1 B2
A2 A1, A2
3 8:15 A2 A1 B2
A2, A3 A1
4 8:30
5 8:45
6 9:00
7 9:15
8 9:30


Second table is all the codes like A1 and B1
Next to each code I did an =countif(sheet1!workweek, "A1")
where each code is based on the code it represents.

So my answer block would look like below

A1 3
A2 2
A3
B1 1
B2 2

noticing how it only counted A1 3 times but there are actually 4 A1 entries.
I am trying to figure out how to get it to look at the entire cell and if it
contains an A1 then count that as well. So in example above, on Friday at
8:00 it should count 1 for the A1 and 1 for A2, but I am not sure how to get
it to do this. Any help would be appreciated. Thanks so much

Wally Steadman


 
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
importing csv files, problem with date formats jiwolf Excel Worksheet Functions 5 March 7th 06 12:48 AM
CountIf & null values problem chris100 Excel Worksheet Functions 3 December 5th 05 12:36 PM
countif problem WYN Excel Discussion (Misc queries) 4 April 25th 05 04:28 PM
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
problem with countif Cowtoon Excel Worksheet Functions 5 November 10th 04 11:04 PM


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