Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Using a formula in different columns, for corresponding data

I have an excel sheet, which collects a particular data for different people
and different fields.
It essentially looks like this:
Fields A B C D
aa 1 3 1 2
ab 2 1 1 2
ca 1 2 1 1
dd 1 2 2 2
rd 3 3 1 2
fg 3 4 1 1
ef 4 2 2 3
tf 1 2 2 1
tt 1 2 1 2
sd 2 1 2 2
ss 2 1 2 2
df 1 1 2 2
where the letters in the forst column specify names of persons and A, B, C,
D... specify the field in which the persons have scored the levels(1, 2, 3, 4)

In this sheet, I have 4 more rows at the bottom like this:
Level 1 6
Level 2 3 6
Level 3 2 2
Level 4 1 0

6 in the first row is the number of "Level1"s in A, 3 the no of "level 2"s
in A.
0 at the last is the number of "level 4" in D. and so on....

The question is: I have hundreds of numbers like this in the same sheet. for
all the columns, I cannot go on saying =COUNTIF(B2:B13,1) to find the number
of 1's in field B!
Is there some way to give the formula so that, it calculated the similar
data range in every column and puts the amount in the specified cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using a formula in different columns, for corresponding data


Its not entirely clear what you want, if it is aformula to count th
number of 1's in A, then 2's in A 3's etc and to also do the same for
C D

try creating a summarytable with your levels down the side, I a
assuming that A35 is the cell with the 1 in below. The formula would b
in cell b35 this formula can be copied right and down for your entir
range

1 Countif(b$2:b$20,$A35)
2
3
4

If it is something else you require, you will have to give a bit mor
explaination

Regards

Da

--
Da
-----------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...fo&userid=2710
View this thread: http://www.excelforum.com/showthread.php?threadid=54537

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Using a formula in different columns, for corresponding data

Try =COUNTIF(B$2:B$13,ROW(A1))

--
HTH

Bob Phillips

(replace xxxx in email address with googlemail if mailing direct)

"Kazuki" wrote in message
...
I have an excel sheet, which collects a particular data for different

people
and different fields.
It essentially looks like this:
Fields A B C D
aa 1 3 1 2
ab 2 1 1 2
ca 1 2 1 1
dd 1 2 2 2
rd 3 3 1 2
fg 3 4 1 1
ef 4 2 2 3
tf 1 2 2 1
tt 1 2 1 2
sd 2 1 2 2
ss 2 1 2 2
df 1 1 2 2
where the letters in the forst column specify names of persons and A, B,

C,
D... specify the field in which the persons have scored the levels(1, 2,

3, 4)

In this sheet, I have 4 more rows at the bottom like this:
Level 1 6
Level 2 3 6
Level 3 2 2
Level 4 1 0

6 in the first row is the number of "Level1"s in A, 3 the no of "level 2"s
in A.
0 at the last is the number of "level 4" in D. and so on....

The question is: I have hundreds of numbers like this in the same sheet.

for
all the columns, I cannot go on saying =COUNTIF(B2:B13,1) to find the

number
of 1's in field B!
Is there some way to give the formula so that, it calculated the similar
data range in every column and puts the amount in the specified cell?



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
Formula using data from 3 separate columns MSW Intern Excel Worksheet Functions 2 July 27th 09 09:28 AM
formula for separating data into two columns Lacey1941 Excel Discussion (Misc queries) 6 October 13th 08 12:02 AM
set formula to display a data from a 5 columns table David Setting up and Configuration of Excel 3 June 25th 08 01:23 AM
Need a formula to update data in 2 columns MMcGee Excel Worksheet Functions 1 May 12th 08 10:17 PM
Formula to match 7 columns of non adjacent data [email protected] Excel Worksheet Functions 0 January 10th 08 11:11 PM


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