Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 10-26-2005, 22:04   #1 (permalink)
jayd77
Civilians

 
Default IF(COUNTIF(Thursday,"John Doe")>1,"error"," ")


I am trying to count the number of times an employee's name appears i
Thursday's employee schedule to make sure an employee was not actuall
scheduled twice in the same day. IF(COUNTIF(Thursday,"Joh
Doe")>1,"error"," ")

My formula works fine if I am looking up just last names but when I us
a first and last name due to multiple employees with the same las
name(ie John Doe, Allen Doe, Rick Doe) my formula does not show a
error if an employee is working twice in the same day.

Any help would be appreciate

--
jayd7
-----------------------------------------------------------------------
jayd77's Profile: http://www.excelforum.com/member.php...fo&userid=1904
View this thread: http://www.excelforum.com/showthread.php?threadid=47965

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 10-26-2005, 22:04   #2 (permalink)
Roger Govier
Civilians

 
Default Re: IF(COUNTIF(Thursday,"John Doe")>1,"error"," ")

Hi

Your formula works fine for me. I get the error for any duplicate occurrence
of John Doe with or without any prefix or suffix.

Regards

Roger Govier


jayd77 wrote:
> I am allowing for information before and after the employee's name.
> 6am John Doe
> Rick Doe 9a-9p
>
> IF(COUNTIF(Thursday,"*"&"John Doe"&"*")>1,"error"," ")
>
>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2005, 22:04   #3 (permalink)
jayd77
Civilians

 
Default Re: IF(COUNTIF(Thursday,"John Doe")>1,"error"," ")


I think I have been sitting in front of the computer for too long. I had
a Ted Myers and a Rick Meyers. I was typing Rick Meyers as Rick Myers.

Thanks for the help!


--
jayd77
------------------------------------------------------------------------
jayd77's Profile: http://www.excelforum.com/member.php...o&userid=19048
View this thread: http://www.excelforum.com/showthread...hreadid=479652

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
Mike "windbag" Joy and Chris "ESPN failure" Myers please read racecarted Auto Racing 168 09-12-2005 04:00
=COUNTIF(B6,{">0","<5"}) has error 0-0 Wai Wai ^-^ Microsoft Applications 3 09-07-2005 20:00
"Kill Bush Tshirts" ---When "Freedom of Speech" goes too far--A nation polarized cb88 Point/Counterpoint 18 04-19-2005 23:54
"Galactic Hope Conquest: Panzers in Space" and "Barbie in Pacific" 100payer Gaming club 0 08-05-2004 01:45


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 18:35.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.57051 seconds with 19 queries