To put my question in perspective, I have a main asset sheet that lists the name of all the assets in the "New Equipment ID" column.
I have another sheet, let's call this the job sheet, that has multiple columns, including the "Status" (single select dropdown) and "System In Use" (multi-select dropdown) column that I have the contents concatenated into a cell in the hidden "asset state helper" (text) column.
i.e.
Status column = IN PROGRESS
System In Use column = ABCD-01
asset state helper column = "IN PROGRESS" + " " + [System In Use]@row = IN PROGRESS ABCD-01
In the main asset sheet, I have an "Asset State" column, in which I want to check if the "asset state helper" column in the job sheet includes "IN PROGRESS" and the New Equipment ID in the main asset sheet to decide whether or not the asset is in use - active or inactive.
The idea was this:
=IF(CONTAINS("IN PROGRESS" + " " + [New Equipment ID]@row, {job sheet asset state helper column}), "ACTIVE", "INACTIVE")
Although the formula works, the IF statement always results to "INACTIVE" even though the contents match. Using the HAS formula gives the same result. I also cannot use the HAS formula as the "System In Use" column may have more than one selection.
To troubleshoot this, if I was only searching for "IN PROGRESS" - it showed as active, or if I were only searching for the [New Equipment ID]@row it worked. I also brought a cell from "asset state helper" to the main asset sheet as a test and put
="IN PROGRESS" + " " + [New Equipment ID]@row
into another cell, checked to see if they were equal, and it resulted in "false" even though they were exactly the same...
My assumption is that it may have to do with the different types of columns being concatenated into a single text column, but shouldn't that text column be independent in a sense that the data that is contained in it is just a large text string in itself?
My end goal is much more complicated than this, but if I can figure out how to read whether the asset state helper column contains IN PROGRESS and the New Equipment ID, I can easily figure out the rest! You could call this a bottleneck in my overall plan, haha.
I'm usually pretty well-versed in creating formulas, but this seems to have a simple solution that I'm clearly stumped with.
Thanks in advance for the assistance, and apologies for the lengthy question.