How would I transfer this formula from Excel to Microsoft List?

Juan 21 Reputation points
2021-09-22T00:04:13.3+00:00

I am trying to get to this outcome from Excel to Lists as the formula does not transfer over:
134108-image.png

Which in Excel I have used this formula:

=IF(AND(E2=0,F2=0),"",IF(AND(E2=4,F2=4),"B",IF(AND(E2>=4,F2>=4),"A",IF(SUM(E2:F2)<7,"D","C"))))

Which returns A. B, C, or D depending on the previous 2 columns E & F in Excel.

Now, when I do:
=IF(AND([Criticality Factor]=0,[Uniqeness Factor]=0),"",IF(AND([Criticality Factor]=4,[Uniqeness Factor]=4),"B",IF(AND([Criticality Factor]>=4,[Uniqeness Factor]>=4),"A",IF(SUM([Criticality Factor]:[Uniqeness Factor])<7,"D","C"))))

I get an error. Can anyone coach me on what the correct way to format this is?

134109-image.png

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,236 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,736 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,686 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,649 questions
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,321 Reputation points
    2021-09-22T02:50:41.773+00:00

    Hi @Juan ,

    Per my test, you could use the following formulas:

    =IF(AND([Criticality Factor]=0,[Uniqeness Factor]=0),"",IF(AND([Criticality Factor]=4,[Uniqeness Factor]=4),"B",IF(AND([Criticality Factor]>=4,[Uniqeness Factor]>=4),"A",IF((SUM([Criticality Factor],[Uniqeness Factor]))<7,"D","C"))))  
    

    My test result:

    134152-1.png

    Note: Column "Criticality Factor" and column "Uniqeness Factor" should be Number column, column Priority Level should be Calculated column


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Juan 21 Reputation points
    2021-09-22T15:22:51.61+00:00

    Wow, thank you so much! Very helpful!

    0 comments No comments