Thanks for query,
First of all the reason of your hair fall
is not only dandruff
.There were several reason of hair fall along with fugal diseases like poor nourishment,Any systemic illness,familial pattern of baldness
But still your Dandruff requires attention as it is since 2-3 years.
I think minoxidil
doesn't worked on dandruff.
You requires salenium sulphate containing shampoo to be applied on your scalp twice weekly for at least one hour for at least 6-8 weeks.
Consume vitamin rich food more leafy vegetables & avoid junk food.
Along with it you take oral vitamin preparation which contains Vitamin E
daily for 6 months.
A daily use of coconut oil application to hair is also helpful.