I need an If statement that will be placed in column A. It will look at column B (a range of account numbers) and then name them accordingly.
Those account numbers falling between 100000 and 199999 inclusive need to be named "Sales". 200000 and 399999 need to be named "Direct Costs". anything else named "overheads".
The formula i am using keeps returning the false value no matter which number is in column b, and therefore all cells are being named overheads.
Here is what i have at the moment.
Can anyone correct my formula?
Thanks
Those account numbers falling between 100000 and 199999 inclusive need to be named "Sales". 200000 and 399999 need to be named "Direct Costs". anything else named "overheads".
The formula i am using keeps returning the false value no matter which number is in column b, and therefore all cells are being named overheads.
Here is what i have at the moment.
Code:
=IF(AND(B14>=100000,B14<=199999),"Sales",IF(AND(B14>=200000,B14<=399999),"Direct Costs", "Overheads"))
Can anyone correct my formula?
Thanks