Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default countif (problem: text, number)


Hi guys
I have the following problem:
A B
75% 2

<75% Text
75% Text


I want to count the numbers in column B if the percentage is 75%.

In this case it would be 1

Thanks Chris


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default countif (problem: text, number)

=Sumproduct(--isnumber(B1:B200),--(A1:A10075%))

Assume in your sample that 75% represents and actual number that is 75%,
and not the string literal "75%"

--
Regards,
Tom Ogilvy

"chrismania" wrote in message
...

Hi guys
I have the following problem:
A B
75% 2

<75% Text
75% Text


I want to count the numbers in column B if the percentage is 75%.

In this case it would be 1

Thanks Chris


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default countif (problem: text, number)

Chris,

=SUMPRODUCT((A1:A3=A1)*ISNUMBER(B1:B3))

HTH,
Bernie
MS Excel MVP

"chrismania" wrote in message
...

Hi guys
I have the following problem:
A B
75% 2

<75% Text
75% Text


I want to count the numbers in column B if the percentage is 75%.

In this case it would be 1

Thanks Chris


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from

http://www.ExcelForum.com/



Reply
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
Problem With Text & number format zyus Excel Discussion (Misc queries) 1 March 22nd 10 09:22 AM
Countif - problem counting text, other text gmoore3055 Excel Worksheet Functions 1 February 4th 10 10:30 PM
Countif with two conditions and cells one a number and other text Frank Alonso Excel Discussion (Misc queries) 2 May 26th 09 11:38 PM
Countif OR Sumif using a text and number variable Toney Excel Discussion (Misc queries) 2 January 16th 09 04:13 PM
number to text problem GottaRun Excel Discussion (Misc queries) 2 February 19th 06 06:30 AM


All times are GMT +1. The time now is 07:46 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"