Both rows and value is increasing

on RHS both row number and value is increasing in the video it was shown that for row number decreasing and value increasing we have some formula but how should i go about for this case