Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 28
Default Counting and multiplying

I am using the countif formula to count the Xs in each column -
What I really want is a total that counts the Xs in a column and then
multiplies that count by a number, i.e.:

Column Q x 1, Column R x 2, Column S x 3, Column T x 4, etc.
Can I add to the countif formula to count the Xs in column T and multiply by 4
so a total for column T would be 4 instead of 1.
P Q R S T
7 X
8 X
9 X
10 X
11 X

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default Counting and multiplying

Have you tried =COUNTIF(T1:T100,"X")*4 ?

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Randi" wrote in message
...
I am using the countif formula to count the Xs in each column -
What I really want is a total that counts the Xs in a column and then
multiplies that count by a number, i.e.:

Column Q x 1, Column R x 2, Column S x 3, Column T x 4, etc.
Can I add to the countif formula to count the Xs in column T and multiply
by 4
so a total for column T would be 4 instead of 1.
P Q R S T
7 X
8 X
9 X
10 X
11 X

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting and multiplying

Column Q x 1, Column R x 2, Column S x 3, Column T x 4

Think you could try something like this
in say, V1:
=COUNTIF(Q:Q,"x")*COLUMNS($A:A)
V1 returns the result for col Q.
Copy V1 across to Y1 to return the corresponding results for cols R to T.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Randi" wrote:
I am using the countif formula to count the Xs in each column -
What I really want is a total that counts the Xs in a column and then
multiplies that count by a number, i.e.:

Column Q x 1, Column R x 2, Column S x 3, Column T x 4, etc.
Can I add to the countif formula to count the Xs in column T and multiply by 4
so a total for column T would be 4 instead of 1.
P Q R S T
7 X
8 X
9 X
10 X
11 X

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 28
Default Counting and multiplying

Thanks - that's what I needed.

"Bernard Liengme" wrote:

Have you tried =COUNTIF(T1:T100,"X")*4 ?

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Randi" wrote in message
...
I am using the countif formula to count the Xs in each column -
What I really want is a total that counts the Xs in a column and then
multiplies that count by a number, i.e.:

Column Q x 1, Column R x 2, Column S x 3, Column T x 4, etc.
Can I add to the countif formula to count the Xs in column T and multiply
by 4
so a total for column T would be 4 instead of 1.
P Q R S T
7 X
8 X
9 X
10 X
11 X

Thanks




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
Counting occurances and multiplying by a quantity vahagberg Excel Discussion (Misc queries) 1 November 8th 06 11:02 PM
Rounding and Multiplying Sue Excel Discussion (Misc queries) 3 March 1st 06 06:48 PM
Multiplying BizBroker Excel Discussion (Misc queries) 4 February 7th 06 04:38 PM
multiplying with excell Larry Excel Worksheet Functions 1 November 2nd 05 02:10 PM
Multiplying in a row Daniel - Sydney Excel Discussion (Misc queries) 3 September 27th 05 12:24 AM


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