Here is a comprehensive breakdown on What Causes Yellow Flakes on Scalp.
We all know that too much sugar is bad, although it can be delicious, and that it can lead to (or worsen) problems like seborrheic dermatitis and psoriasis. If you want to get rid of dandruff, you'll need to address your scalp health from both inside and outside your body.