I want my query to return the text in quotes for the “Spend Category” field based the following criteria for the “Amount” field value.
IF Amount <= 10000.00 then Spend Category = “Up to $10,000.00”
IF Amount >10000.00 and <= 250000.00 then Spend Category = “$10,000.01 to $250,000.00”
IF Amount >250000.00 and <= 1000000.00 then Spend Category = “$250,000.01 to $1,000,000.00”
IF Amount >1000000.00 and <= 5000000.00 then Spend Category = “$1,000,000.01 to $5,000,000.00”
IF Amount >5000000.00 then Spend Category = “Greater than $5,000,000.00”
Is there a way to put all of this into one IIF statement within my Access query?
IF Amount <= 10000.00 then Spend Category = “Up to $10,000.00”
IF Amount >10000.00 and <= 250000.00 then Spend Category = “$10,000.01 to $250,000.00”
IF Amount >250000.00 and <= 1000000.00 then Spend Category = “$250,000.01 to $1,000,000.00”
IF Amount >1000000.00 and <= 5000000.00 then Spend Category = “$1,000,000.01 to $5,000,000.00”
IF Amount >5000000.00 then Spend Category = “Greater than $5,000,000.00”
Is there a way to put all of this into one IIF statement within my Access query?