There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Archive: Business Applications
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze games gaming gpu graphics hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications > Archive: Business Applications >
Solved: Count IF Knucklebreaker

Reply  
Thread Tools
Serch's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2008
08-Oct-2008, 07:31 PM #1
Solved: Count IF Knucklebreaker
Good day all, first timer here.
I've read several threads on how to use the Countif Function I currently applied it to a worksheet of mine and thought I succeeded until I double checked. I'm trying to compare two columns of data, need to know if the numbers from the second column are found in the first column.I tried to attach my xls example but its way to large. Basically and as exmaple the data in row C1574 is in fact included in row A8459 but the formula still shows "NOT FOUND".
All I can send is a printscreens so you guys can look at my formula.

Need Help !!
Attached Thumbnails
Solved: Count IF Knucklebreaker-example1.jpg   Solved: Count IF Knucklebreaker-example2.jpg  
edhicks's Avatar
Computer Specs
Member with 209 posts.
 
Join Date: Jun 2008
Location: Oklahoma
Experience: Advanced
09-Oct-2008, 12:24 AM #2
Welcome You'll find some great folks and help here
While waiting for the "big boys" to post please consider the following

Some thoughts for you to test

You can remove >0 from formula the count if function is all you need If(countif(range,criteria),"Found","Not Found")
Compare column D and column F formulas on attached file

check your row number, rows are from 1 to 65536 or so

A8459 is not a valid row number I think your comparing cells C1574 and A8459

compare with attached test file and tell me what I am not understanding
C1574 is a string (ie.non-numeric), In any blank cell type C1574=A8459. True says they match False says they differ A leading or trailing blank will cause them to differ even though appearing the same
Attached Files
File Type: xls countif1.xls (31.5 KB, 142 views)

Last edited by edhicks; 09-Oct-2008 at 12:49 AM.. Reason: additional thoughts
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
09-Oct-2008, 01:41 AM #3
Formulas look good. Check for leading/trailing spaces. For example, a trailing space will show two values as not equal. So "S8110-004" is NOT equal to "S8110-004 ". See the space? They're a killer.
Serch's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2008
09-Oct-2008, 12:21 PM #4
Thank You both for your quick replys !!!!....I looked closely and yes, the problem is the spaces between characters in certain cells, so this brings up another question......is there anyway I can format the cells as to not have spaces in between characters or at the end for that matter?.
Thanks again your advise solved part of my troubles.
cwwozniak's Avatar
Computer Specs
Trusted Advisor with 32,982 posts.
 
Join Date: Nov 2005
Location: McHenry, IL - USA
Experience: Enough to be dangerous
09-Oct-2008, 03:43 PM #5
Excel has a TRIM function for removing leading and trailing spaces from a text string. I do not know of any function for removing spaces between characters. Now that I have said that I am sure someone will prove I am wrong.

If your column A entries are not constantly changing it might be simpler to use "Replace" in Excel's Edit menu. Just select the entire column and replace all instances of a space with nothing.

EDIT: If the one time use of Edit->Replace is not practical, the SUBSTITUTE function may work for you as described on this page from the MS site:

Remove spaces and nonprinting characters from text
http://office.microsoft.com/en-us/ex...561311033.aspx
__________________
Chuck W.
I am not in this world to live up to your expectations, And you are not in this world to live up to mine. - Fritz Perls

Last edited by cwwozniak; 09-Oct-2008 at 03:53 PM..
Serch's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2008
09-Oct-2008, 04:19 PM #6
Chuck, that did the job, Thank you all !!
cwwozniak's Avatar
Computer Specs
Trusted Advisor with 32,982 posts.
 
Join Date: Nov 2005
Location: McHenry, IL - USA
Experience: Enough to be dangerous
09-Oct-2008, 04:37 PM #7
Glad to hear that we were able to help you out.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:41 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.