I have a book (Tietze, Schenk: Electronic circuits) that shows this equivalent circuit of a non-inverting amp. \$I_B\$ is the bias current, \$I_o\$ the offset current (difference of bias currents).
The output is given as $$V_o = \left(1+\frac{R_N}{R_1}\right)V_i + I_B\left(R_N - \frac{R_g(R_1 + R_N)}{R_1}\right) + \frac{I_o}{2} \left(R_N + \frac{R_g(R_1 + R_N)}{R_1}\right)$$
Edit & 2. Edit
Although I somehow understand the formula, I do not understand how to derive the parts of the equation with \$I_B\$ and \$I_o\$, see below
I tried to do the math but maybe something with my initial equations is wrong. I tried the system of these equations $$ V_p = V_i + R_g I_B$$ $$ V_n = \frac{R_1}{R_1+R_N}V_o + \frac{R_1 R_N}{R_1 + R_N} I_O + \frac{R_1 R_N}{R_1 + R_N} I_B$$ $$ V_p = V_n$$ which gives something similar, but not the same: $$V_o = \left(1+\frac{R_N}{R_1}\right)V_i + \frac{R_1 R_g - R_1 R_N + R_g R_N}{R_1}I_b - R_N I_O$$