Start with two known weeks
Open the working example to view it. To edit your own version, sign in to Google and choose File → Make a copy. You can also download the fictional CSV and use it in your preferred spreadsheet. Column D labels the two periods. E2 contains 5000 for the previous week and E3 contains 6000 for the current week.
The working example has this formula in H3. If you imported the CSV, paste the formula in H3 and format the cell as Percent. With both values present, the result is 20%. The formula uses English function names and comma separators. Some spreadsheet locales use semicolons between arguments.
=IF(COUNT(E2:E3)<>2,"Check both weeks",IF(E2=0,"No percentage baseline",(E3-E2)/E2))