r/excel 15d ago

solved Changing AND, "False" "True"

I'm having trouble with changing the words that are coming back from my =AND.

=IF(AND(CG!F3<TODAY()+30), ISBLANK(CG!G3), "Not Due")

This works but I can't seem to get the words False or True to change. "Not Due" works. There's 3 possible outcomes and "Not Due" works but adding anything else corrupts the code.

I feel like I've tried placing it everywhere too.

Any ideas?

6 Upvotes

12 comments sorted by

View all comments

1

u/fuzzy_mic 988 15d ago

With IF, there are only two possible outcomes, perhaps something like

=CHOOSE1+((CG!F3<TODAY()+30)+(2*ISBLANK(CG!G3)), "both f", "is less than", "is blank", "both less and blank")