Forum Discussion
and_rogynous
Apr 26, 2023Copper Contributor
If Statement, But Only Wanting Result If Not Already Shown Above in Table
I have a few tables pulling information about boat parts. The table I'm currently working in has columns for order number [ON], boat number [B], customer part number [CPN], mark [M], our part number...
and_rogynous
Apr 28, 2023Copper Contributor
HansVogelaar
Apr 28, 2023MVP
Thanks! Use this formula in the N column:
=IF(AND(COUNTIFS(OPN[ON],[@ON],OPN[CPN],[@CPN])>0,MINIFS([B],[ON],[@ON],[CPN],[@CPN])=[@B]),"X","")
- and_rogynousApr 28, 2023Copper ContributorThis is very helpful, thank you! The only other question I have is - this makes the "X" that SHOULD be in this column for any order with "?" under the boat number (an older order that we don't have record of boat number) now return blank. Is there a way to adjust for that situation? "?" is the only non-number in the boat number column.
- HansVogelaarApr 28, 2023MVP
So what do you want to do with rows that have ? in the B column?
- and_rogynousMay 01, 2023Copper ContributorThe same sort of thing - the issue is that some of the order numbers that need an X correspond with a ? in the B column. I'm not sure why your fix for the formula made that go away, maybe because a ? counts as an invalid number?