LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Counting text problem - formula works initially

Hi!

I'll start off saying that I use excel just for the basics and don't have a
strong background in it. Here is my problem. I use a spreadsheet to put our
Dept schedule on and I need it to count the number of people for each part of
the shift, so we know that we have appropriate coverage.

So far, I have 3 rows counting the following
Row 1 - counts the night shift person staying 1st 1/2 of days
Row 2 - counts actual Day shift staff
Row 3 - counts the PM shift person coming in for 2nd 1/2 of days

I use the following text for each person, depending on shift and length of
shift (I work in Health Care)

N 10 Stays till 0900 on the day shift
D Day shift staff (0630 - 1530)
D 12 Stays till 1900
S 12 Comes in at 1030 on the day shift
S PM shift staff (1430 - 2300)
N 12 Comes in at 1830 on the PM shift
N Night shift staff (2230 0 0700)


The formulas I have are as follows i.e. 1st column
=COUNTIF(B7:B61,"*N10*")
=COUNTIF(B7:B61,"*D*")
=COUNTIF(B7:B61,"*S 12*")

This works just fine. It is not till I go down to row 20, starting to list
the PM shift. I use the same formulas as above , replacing the "*" with D 12,
S and N 12. At this point, it won't recognize ANYTHING in the columns!!!

My ranges/columns for counting are B7:B61 to AQ7:AQ61

What am I doing wrong???????

 
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
Odd problem with formula counting Yes and No Meenie Excel Worksheet Functions 5 June 26th 09 09:40 PM
Initially creating a chart jbarj Charts and Charting in Excel 1 June 17th 09 05:11 AM
problem initially selecting a cell labrat64 Excel Discussion (Misc queries) 2 April 18th 07 08:54 PM
Formula that works like text-to-column linglc Excel Worksheet Functions 6 March 9th 07 12:20 AM


All times are GMT +1. The time now is 07:10 PM.

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"