Excel有趣函数系列1 - sumproduct()

一. 前言

突然被问, excel如何实现中国式排名?

排名
1 1
1 1
2 2, 还是延续上面的序号, 而不是直接跳到3, 这种方式就称为中国式排名
3 3
4 4

即, 在排的值中出现重复值时该如何处理接下来的序号.

MySQL的窗口函数, 针对排名的问题提供了三种模式:

  • rank()
  • dense_rank()
  • row_number()
阅读全文 »

LINGO简单使用

一. 前言

1.1 简介

img

LINGO is a comprehensive tool designed to make building and solving Linear, Nonlinear (convex & nonconvex/Global), Quadratic, Quadratically Constrained, Second Order Cone, Semi-Definite, Stochastic, and Integer optimization models faster, easier and more efficient. LINGO provides a completely integrated package that includes a powerful language for expressing optimization models, a full featured environment for building and editing problems, and a set of fast built-in solvers.

在当下各种近乎于浮夸的("大")数据处理工具面前, lingo可谓是一个另类的存在, 其官网上也没有各种高大上的宣传概念(动辄大数据, 神经网络..机器学习...), 是个相当相当低调的数学处理工具, 甚至其操作界面至今还维持上古时代vb的极简风格.

(但是, 需要注意, 这并不意味着这个软件的开发的停止..这个软件还持续更新, 当下版本20)

官方文档

阅读全文 »

关于Excel图表中误差线的计算问题

一. 问题

构造数据

阅读全文 »

markdown LaTex数学公式速查

一. 前言

LaTex数学公式有两种显示模式:

  • $ \frac{x+1}{1+y^2} $ (无法正常显示)

  • 换行, 这种模式, 多数被支持

    x+11+y2\frac{x+1}{1+y^2}

在Typora上默认不开启单行的支持, 需要手动开启

ppBFAUg.png

markdown下, 勾选inline math, 重启即可.

阅读全文 »