Calcualted column is returning "#Name?"

Valued Contributor

I have the following formula for a single line of text Calculated column named ShowInApp:-

 

IF(OR(Status="Inactive",ISBLANK(Status)),"Hide",IF(FIND("Pending",[Category]),"Hide",IF(FIND("Monitoring And Evaluation Plan",[Category]),"Hide","Show")))

but on some cases i will get #Name? or #VALUE!, as follow:-

 

image.png

Any Advice? Thanks

In short i want to set the calculated column to Hide , if any of the following is true:-

  1. Status is blank
  2. Status = inactive
  3. Category contain the word Pending
  4. Category contain "Monitoring And Evaluation Plan"

Else to set the calculated column to Show...

2 Replies

@john john If the Category column is a choice column you can simplify the formula to:

=IF(OR(Category="Pending",Category="Monitoring And Evaluation Plan",Status="Inactive",ISBLANK(Status)),"Hide","Show")

 

Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

 

 

@john john Try using this formula in case you want to use "contain" conditions for Category column instead of "equal to": 

 

 

=IF(
    OR(
        [Status] = "Inactive",
        ISBLANK([Status])
    ),
    "Hide",
    IF(
        NOT(ISERROR(FIND("Pending", [Category]))),
        "Hide",
        IF(
            NOT(ISERROR(FIND("Monitoring And Evaluation Plan", [Category]))), "Hide", "Show"
        )
    )
)

 

 

DocumentationExamples of common formulas in lists


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.