I inserted a Group column on the transaction tab and getting a weird error. It is weird because the code is still working even though I have the error. Does anything stick out to you all?
Hi @brandonscottgardner,
That formula works for me to get the Category Group if I put in in the top row of a new Column in my Transactions sheet.
Usually when you get an error, the formula won’t work.
I wonder if you have a Data Validation rule in the cell that generating that error? Click on the formula cell, then Data -> Data validation and see if there is a rule.
Is there error you’re referring to the red data validation flags (e.g. in cell D4)? If yes, the issue is that your VLOOKUP is pulling in values that don’t meet the data validation criteria. Just select D2:D and remove the data validation.
There is nothing wrong with your formula. It is working correctly.
You may have copied Column E to get the new Group column D. If you did that, the data validation rule that matches valid Categories in Column E got copied to Column D. You don’t have valid Categories names in column D, since you have Group names. That’s why you have those red errors.
As Randy suggests, remove the Data validation rules in D. Do this by selecting column D, then Data then Data validation. You likely have a rule in Cell range Transactions!D1:D. Use the Remove Validation button to remove.