Im working in a query and i need to set up an IIF statement. So far i have "=IIF("Clear"="c","0")else(=IF("Acct"="m","AmountP aid","0")) but i dont know what to do from here. I need the function to to go through 2 different sources before it will display a value. if clear=c then it will leave it blank. but if clear does NOT=c then it looks at the account. if the account equal m then the value will be in that column. I dont usually work in queries and im trying to learn how. Any help is appreciated.