Postgres Window Functions In Excel