由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 怎样保留excel里Duplicated的ID
相关主题
excel function 求助_有包子Excel/Access test...... 请问都考什么啊?
要转专业了,能在网上或者在社区大学修prerequisite courses吗?工作机会,请站内联系
请教:marketing analysis中EXCEL都用哪些功能啊?SAS什么的有类似excel PIVOT table功能的吗?
excel问题 求教用excel: 需要计算在一学期(term)...
统计字符出现频率的Unix 命令delete duplicate rows in EXCEL?
急问统计master去银行或者保险公司工作需要那些excel技能?proc report created too hugh excel file....
课程不小心拿了个C求助:问Excel奇怪数字的问题。
请教,COURSE-BY-COURSE 课程评估机构请问, 怎么加labels?
相关话题的讨论汇总
话题: duplicated话题: excel话题: course话题: 怎样话题: 选了
进入Statistics版参与讨论
1 (共1页)
V****e
发帖数: 858
1
有点复杂。比如学校里一学期一个学生可以选几门课:有的选两门,有的3门,还有的4
门。怎样在上万个ID中(包括重复的ID),按照课程,把选了两门,选了3门和选了4门课
的学生分别挑选出来。
我真是有点糊涂了。我知道excel可以找到duplicated, 但找到后只能remove
duplicated,不能保存,同时怎样安课程分开这些ID,课程很多。
请帮忙给点建议。谢谢!
a*******s
发帖数: 138
2
excel supports sql query.
select student,
count(distinct course) as ncourses
group by 1
order by ncourses;
V****e
发帖数: 858
3
谢谢这么快回答我。
那我需要有SQL的软件吗?我工作的computer没有。
在这样的情况下还可以用sql吗?有formula 可以用吗?主要是需要区分student ID,
course level by term.
非常感谢!

【在 a*******s 的大作中提到】
: excel supports sql query.
: select student,
: count(distinct course) as ncourses
: group by 1
: order by ncourses;

d*****y
发帖数: 178
4
直接excel就能搞定啊。加一个column,用countif把每个学生的选课数计算出来。然后
选了两门的就是2,三门的就是3。我觉得挺简单的,不过大概我没懂你的问题。。。你
可以再问清楚点,应该excel就能搞定。
V****e
发帖数: 858
5
Sorry, not able to type in Chinese now.
The difficulties are: there are three terms per academic year: SU, FA, SP.
Each term the same courses are repeatedly offered. I have three years' data,
so the same courses were offered 9 times.
Do I have to create 9 separated files?
Another difficulty is if the students fail one course, they can re-take the
course at any following term.
By the way, what would be the formula for the "countif":).
Thanks very much for your help!

【在 d*****y 的大作中提到】
: 直接excel就能搞定啊。加一个column,用countif把每个学生的选课数计算出来。然后
: 选了两门的就是2,三门的就是3。我觉得挺简单的,不过大概我没懂你的问题。。。你
: 可以再问清楚点,应该excel就能搞定。

a*z
发帖数: 294
6
countifs, although sometime it does not work.
d*****y
发帖数: 178
7
Sorry that I just see you message here.
Created a file for you to take a look.
check your 站内邮箱
you will need to use countifs here.

data,
the

【在 V****e 的大作中提到】
: Sorry, not able to type in Chinese now.
: The difficulties are: there are three terms per academic year: SU, FA, SP.
: Each term the same courses are repeatedly offered. I have three years' data,
: so the same courses were offered 9 times.
: Do I have to create 9 separated files?
: Another difficulty is if the students fail one course, they can re-take the
: course at any following term.
: By the way, what would be the formula for the "countif":).
: Thanks very much for your help!

T******o
发帖数: 136
8
他们说的全部都太复杂,我这个不用键盘就能搞定:select the entire data, insert
, pivot table. creat a pivot table then pull id into a coulmn, then pull
course into the numbers area and set it to be count instead of sum
1 (共1页)
进入Statistics版参与讨论
相关主题
请问, 怎么加labels?统计字符出现频率的Unix 命令
如何找出没有duplicate的数字[done]急问统计master去银行或者保险公司工作需要那些excel技能?
[合集] 请教一下申请定位,谢谢大家课程不小心拿了个C
请教一个统计问题请教,COURSE-BY-COURSE 课程评估机构
excel function 求助_有包子Excel/Access test...... 请问都考什么啊?
要转专业了,能在网上或者在社区大学修prerequisite courses吗?工作机会,请站内联系
请教:marketing analysis中EXCEL都用哪些功能啊?SAS什么的有类似excel PIVOT table功能的吗?
excel问题 求教用excel: 需要计算在一学期(term)...
相关话题的讨论汇总
话题: duplicated话题: excel话题: course话题: 怎样话题: 选了