Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Microsoft Office

Vista - Excel Spreadsheet Problem

Reply
 
Old 09-18-2008   #1 (permalink)


32bit
 
 

Excel Spreadsheet Problem

I am trying to count text in specific cells, not in a range. How can I accomplish this? Specifically, I am trying to count the occurences of "UL" in only cells H3, K3 & O3. Please help, thank you.

My System SpecsSystem Spec
Old 09-18-2008   #2 (permalink)


Vista home premium 64 bit
 
 

Re: Excel Spreadsheet Problem

you can use a nested if statement, look here :-http://www.microsoft.com/office/community/en-us/default.mspx?&lang=&cr=&guid=&sloc=en-us&dg=microsoft.public.excel.worksheet.functions&p=1&tid=9737BEA0-60A8-49E7-B96C-2B74A27333AE&mid=9737BEA0-60A8-49E7-B96C-2B74A27333AE
My System SpecsSystem Spec
Old 09-18-2008   #3 (permalink)


32bit
 
 

Re: Excel Spreadsheet Problem

Thanks but I'm dealing with letters not numbers.
My System SpecsSystem Spec
Old 09-19-2008   #4 (permalink)


Vista home premium 64 bit
 
 

Re: Excel Spreadsheet Problem

The if function works for letters and numbers,

Here is the solution to your problem

=IF(H3="UL",IF(K3="UL",IF(O3="UL","true","false")))

This will tell you if all 3 are UL

use;
countif(h3,"UL")
countif(k3,"UL")
countif(O3,"UL")
SUM(range of countif)

The countif statements can be away from the main data or even on a different worksheet.
Use the Sum statement where you want the label for the amount of occurances linked to the countif statements.

ululul"=COUNTIF(H3,"ul")""=COUNTIF(K3,"ul")""=COUNTIF(O3,"ul")""SUM(d5:d7)"
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Set homeDrive and homeDirectory from excel spreadsheet VB Script
create Excel spreadsheet without loading Excel VB Script
Excel Spreadsheet Help Software
Adding headers to an excel spreadsheet PowerShell
EXCEL spreadsheet running slow Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46