To learn more about how to repeat the last action in Excel, read further. If you want to duplicate your actions (specifically related to formatting) without having to repeat them manually each time, ...
You will get an error if Flash Fill cannot find the pattern. The first thing to check is that you're using Flash Fill close to the source data (e.g., in the adjacent cell). For instance, it won't work ...