Extract cell value in data.table whose colomn name respects a condition


What you mean with by this:

I think both @andresrcs and I provided a solution right? If not, please explain more clearly what the ongoing issue is. I also encourage you to provide a reprex. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here: