Convert Excel formula to Sharepoint list

Raychel Plath 0 Reputation points
2024-11-13T02:45:59.42+00:00

Need help with conversion of an excel formula into a sharepoint list.

For context, the original mathematical formula is as follows:

√(6-a)2+(6-b)2 where a=attractiveness and b=achievability.

In Excel, the formula is:

=IF($C3>=0,ROUND(SQRT(((6-$C3)(6-$C3))+((6-$D3)(6-$D3))),2),"N/A")

Screenshot of formula attached.

I have columns on my list for Attractiveness and Achievability, but am stuck in figuring out the formula to use in the calculation column.

User's image

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,946 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 26,201 Reputation points Microsoft Vendor
    2024-11-15T07:44:59.0533333+00:00

    Hi @Raychel Plath ,

    Thank you for posting in this community.

    Use the following formula to create a calculated column (The data type returned from this formula is Number):

    =IF(Attractiveness>=0,ROUND(SQRT((((6-Attractiveness)*(6-Attractiveness))+((6-Achievability)*(6-Achievability)))),2),"N/A")
    
    

    User's image

    Result:

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.