由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - Pivot table SOS (转载)
相关主题
How to write this query in Oracle?SQL fast search in a 10 million records table (转载)
EXCEL VBA in real world借个人气问一下, vba vs C#
C++里面实现类似Excel的Pivot Tablewho know this company --- fischerjordan
SQL combine two columns from two different tables no shared (转载)Excel VBA help!!!
question about MATLAB matrix squaring请教VBA(macro 跟 user defined function)
compare two large tables SQL (转载)问个recruiter的问题吧,,请大家帮忙
SQL find distinct values in large table (转载)count unique values in file with 1 million rows (转载)
SQL copy a table into a new table and add a new column (转载)求助Logic testing for employment如何准备?
相关话题的讨论汇总
话题: pivot话题: table话题: negative话题: positive话题: company
进入Quant版参与讨论
1 (共1页)
w**********a
发帖数: 107
1
【 以下文字转载自 Statistics 讨论区 】
发信人: wakakayikaka (哇咔咔一咔咔), 信区: Statistics
标 题: Pivot table SOS
发信站: BBS 未名空间站 (Thu Jan 21 16:36:22 2016, 美东)
I have a question on excel pivot table.
Here is my data set
Company profit
A 1
A 1
A -1
A -2
A 3
B 1
B 1
B 1
C -2
The pivot table I need is as follows:
Positive
A: 1
B: 3
Negative
C: -2
The pivot table I can get is
Positive
A: 4
B: 3
Negative
A: -3
C: -2
How do I net company A in pivot table?
Thanks a million!
b*******z
发帖数: 331
2
easy.
what you need is just another columns defining "positive" and "negative"
so just,
=if(sumif(company col,company name)>=0, "positive"), "negative")
1 (共1页)
进入Quant版参与讨论
相关主题
求助Logic testing for employment如何准备?question about MATLAB matrix squaring
How to define the correlation of two variable X and Y defined in different domain?compare two large tables SQL (转载)
请教一道面试题啊!关于SQL的!SQL find distinct values in large table (转载)
Risk positions AVP/VP from a recuriterSQL copy a table into a new table and add a new column (转载)
How to write this query in Oracle?SQL fast search in a 10 million records table (转载)
EXCEL VBA in real world借个人气问一下, vba vs C#
C++里面实现类似Excel的Pivot Tablewho know this company --- fischerjordan
SQL combine two columns from two different tables no shared (转载)Excel VBA help!!!
相关话题的讨论汇总
话题: pivot话题: table话题: negative话题: positive话题: company