LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default COUNTIF on result of formula

I am trying to use COUNTIF to count the occurance of a text within a range of
cells which contains the results of a formula. Here is a simple example:

=COUNTIF(A1:A10,"HELLO")

A B
1 =LEFT(B1,FIND("X",B1)-1) HELLOXTHERE
2 =LEFT(B2,FIND("X",B2)-1) HELLOXGOODBYE
3 =LEFT(B3,FIND("X",B3)-1) HELLOXEVERYONE

This is a simplified example. the COUNTIF result should be 3 but is zero. If
this is because the range is a result of a formula then how do I use COUNTIF
on the formula result in A1:A10?

Thanks
Joe M.
 
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
COUNTIF not working w/ cells result of SUM and VLOOKUP VettRacer Excel Worksheet Functions 9 June 21st 07 07:04 PM
Using sum(1/countif....) not returning expected result Kent (thanks) Excel Worksheet Functions 10 May 11th 06 04:35 PM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
Median result used in formula gives incorrect result vlatham Excel Worksheet Functions 4 September 21st 05 04:26 PM
Subtracting a Countif result from a constant Bernie Deitrick Excel Worksheet Functions 4 September 6th 05 10:07 PM


All times are GMT +1. The time now is 12:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"