would a bad case of gastritis cause your stool to be yellow?
Prolonged yellow stool may also be caused by conditions such as giardiasis or gastroesophageal reflux disease (GERD). Yellow stool may also indicate problems with the gallbladder and liver. Bile salts from the liver give stool its brownish color and when bile output is diminished, it may first appear as yellow stool.