J
Jeff
I am trying to convert an Excel spreadsheet to an Access database. In
the spreadsheet, I use a nested IF statement to return one of three
results by comparing two values:
=IF([TeamScore]>[OpponentScore],"WIN",IF([TeamScore]<[OpponentScore],"LOSS","TIE"))
Can anyone provide insight into how I might accomplish a similar task
in an Access query? So far, I've been able to closely emulate the
spreadsheet in the database by establishing a field in a query with an
IFF expression, but I can only return one of two results, rather than
three:
RESULT: IIF([TeamScore]>[OpponentScore],"WIN","LOSS")
Any thoughts? Thanks in advance!
the spreadsheet, I use a nested IF statement to return one of three
results by comparing two values:
=IF([TeamScore]>[OpponentScore],"WIN",IF([TeamScore]<[OpponentScore],"LOSS","TIE"))
Can anyone provide insight into how I might accomplish a similar task
in an Access query? So far, I've been able to closely emulate the
spreadsheet in the database by establishing a field in a query with an
IFF expression, but I can only return one of two results, rather than
three:
RESULT: IIF([TeamScore]>[OpponentScore],"WIN","LOSS")
Any thoughts? Thanks in advance!