I am trying to calculate the lost followers and new followers per day for my company’s clients. I have "new followers" and "profile followers" tabs in Google Sheets but, in order to calculate "lost followers", I need to do ( [the previous day's followers + new followers] - current day's profile followers).
So, I am trying to get a column that shows "previous day's followers" but, it doesn't seem to be working. Since, there are multiple clients, I am trying to use query or vlookup but, neither of the formulas created with them are working.
I’ve attached a spreadsheet with the respective columns to understand the formulas created: https://docs.google.com/spreadsheets/d/1ZI9oFqbJlKP-yqLXT1u7CwaJvhkZ2nG05U2rbqKoFgg/edit?usp=sharing
VLOOKUP--problem: outputting 0 for everything
=ARRAYFORMULA(IFERROR(VLOOKUP($Q3&$P3, {$A$3:$H, $O3:$R3}, 4, 0 ), 0))————
QUERY FORMULA—problem: “Query completed with an empty output.”
=QUERY( {$A$3:$H,$O$3:$R}, "SELECT Col4 WHERE Col1 = '"&$Q3&“’ and Col2 = '"&$P3&”’”, 0)
Thanks in advance!