I am working on an expense report and each type of the expense has a different code. I would like to have the Code cell populate with a value based on which cell they enter the amount in. For example, if a value was entered in cell B1 for Hotel, then the value in the Code cell A1 would be "001". If a value was entered in cell C1 for "Mileage", then the value in cell A1 would be "002". There will only be one value in either B1 or C1.
Is it possible for A1 to change based on the value in more than one cell? I have tried the embedded "IF" statements but cannot seem to make it work.
Thanks
Bookmarks