I have an Excel spreadsheet with dates and prices of Gold since Dec 9, each older date, price below more recent one (don't ask). Columns: A=date, B=price, avg10 in C=AVERAGE(C3:C12), buy10 in F=IF(C3>D3,"buy","sell"), amt10 in G=IF(F3<>F4,C3,G4), gain10 in J=(G3-G4). Total of J negative; SAME amount if buy/sell IF switched ("<" instead of ">"). Why?