#1   Report Post  
Posted to microsoft.public.excel.misc
mevetts
 
Posts: n/a
Default Count formula issue


Hi all,

I'm using this formula -

=IF(COUNTA(Markbook!E57:GB57),COUNTIF(Markbook!E57 :GB57,"ü")/COUNTA(Markbook!E57
:GB57)*100,"")

It is working out as a percentage how many times a symbol appears in
that range.

However, the symbols being counted are inserted into every other
column. In the columns in between, other data is being placed.

The formula is counting every cell in the range that contains data, but
what I want is for it to just count every other column that contains
symbols.

Is this possible?

Thanks,

Mark.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile: http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Count formula issue

Try replacing

COUNTIF(Markbook!E57:GB57,"ü")

with

=SUMPRODUCT(--(MOD(ROW(Markbook!E57:GB57),2)=0),--(Markbook!E57:GB57="ü"))
or
=SUMPRODUCT(--(MOD(ROW(Markbook!E57:GB57),2)=1),--(Markbook!E57:GB57="ü"))

depending upon which row the charcater is.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mevetts" wrote in
message ...

Hi all,

I'm using this formula -


=IF(COUNTA(Markbook!E57:GB57),COUNTIF(Markbook!E57 :GB57,"ü")/COUNTA(Markbook
!E57
:GB57)*100,"")

It is working out as a percentage how many times a symbol appears in
that range.

However, the symbols being counted are inserted into every other
column. In the columns in between, other data is being placed.

The formula is counting every cell in the range that contains data, but
what I want is for it to just count every other column that contains
symbols.

Is this possible?

Thanks,

Mark.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:

http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179



  #3   Report Post  
Posted to microsoft.public.excel.misc
mevetts
 
Posts: n/a
Default Count formula issue


Hi Bob,

The info is all on the same row, just every other column contains
symbols.

Does this make a difference to your suggestion?


--
mevetts


------------------------------------------------------------------------
mevetts's Profile: http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Count formula issue

Yeah, change ROW to COLUMN

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"mevetts" wrote in
message ...

Hi Bob,

The info is all on the same row, just every other column contains
symbols.

Does this make a difference to your suggestion?


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:

http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179



  #5   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Count formula issue

Hi!

Try this:

=IF(COUNTIF(Markbook!E57:GB57,"ü"),COUNTIF(Markboo k!E57:GB57,"ü")/90*100,"")

Biff

"mevetts" wrote in
message ...

Hi all,

I'm using this formula -

=IF(COUNTA(Markbook!E57:GB57),COUNTIF(Markbook!E57 :GB57,"ü")/COUNTA(Markbook!E57
:GB57)*100,"")

It is working out as a percentage how many times a symbol appears in
that range.

However, the symbols being counted are inserted into every other
column. In the columns in between, other data is being placed.

The formula is counting every cell in the range that contains data, but
what I want is for it to just count every other column that contains
symbols.

Is this possible?

Thanks,

Mark.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:
http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179





  #6   Report Post  
Posted to microsoft.public.excel.misc
mevetts
 
Posts: n/a
Default Count formula issue


Hi Biff,

What do the changes you have made actually do?


--
mevetts


------------------------------------------------------------------------
mevetts's Profile: http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179

  #7   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Count formula issue

What do the changes you have made actually do?

Well, as I understand your post:

Starting in column E through column GB, every other column may contain the
symbol. The columns in between will also contain *other data but not the
symbol*. So, your symbol can only be in a total of 90 columns. E:GB=180/2

Count the number of symbols divided by 90 columns = %

I may be off my rocker but that's how I read your post!

Biff

"mevetts" wrote in
message ...

Hi Biff,

What do the changes you have made actually do?


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:
http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179



  #8   Report Post  
Posted to microsoft.public.excel.misc
mevetts
 
Posts: n/a
Default Count formula issue


Not off your rocker, but in fact spot on.

However, of the 90 columns that may contain the symbol, they all wont.

What the original formula does is ask how many cells contain data and
divide by this figure.

However, when the additional data is entered in between each of the
columns, then it screws up the denominator figure.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile: http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179

  #9   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Count formula issue

Ok, now I am confused!

If you want to know the % of symbols in the range and the symbols can only
be in certain cells then the % of symbols would be restricted to those
certain cells. That's what my formula does.

On the other hand, if you want the % of symbols from the *entire* range then
it should be Countif(symbol)/Counta(range).

What am I missing?

Biff

"mevetts" wrote in
message ...

Not off your rocker, but in fact spot on.

However, of the 90 columns that may contain the symbol, they all wont.

What the original formula does is ask how many cells contain data and
divide by this figure.

However, when the additional data is entered in between each of the
columns, then it screws up the denominator figure.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:
http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=506179



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
Count If Formula Denise Excel Discussion (Misc queries) 2 October 14th 05 06:44 PM
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formula for a count of names? Alesha Excel Discussion (Misc queries) 2 February 23rd 05 12:12 AM
Count If Formula Mimi Excel Worksheet Functions 0 November 5th 04 11:55 AM


All times are GMT +1. The time now is 07:39 AM.

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"