Sharepoint List - VLOOKUP function

Anonymous
2020-11-19T10:44:40+00:00

We have a Sharepoint List with several columns containing different data. Two of the the columns are: 'Product' and 'Price'. The information in the column 'Product' will not be entered at the time when the item is created, but it will be added at a later stage. When the information 'Product' is added for the item we need the 'Price' to be auto populated with the corresponding price retrieved in another Sharepoint List (or Excel list on the same Sharepoint site). Similar to the VLOOKUP function in Excel (find and retrieve the Price for the specific Product). Is this possible?

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2020-11-19T14:31:39+00:00

    Hi Eva_1,

    I go through the post carefully, it seems that you want to use Vlookup formula in Calculated Field in SharePoint List. However, the formula or formula with similar feature could be not available in Calculated Field now(For all available Formula in Calculated column, please check the article: Alphabetical list of functions----Calculated Column) I would suggest you vote and leave your comments in thread with hundreds of votes in SharePoint UserVoice: Allow lookup columns brought up from different list into calculated columns. Your voice will promote the related team to develop the feature in SharePoint Online. Appreciate your efforts and understanding!

    As a workaround, you may create a flow in Power Automate. Suppose you have two lists. List1 and List2. You add items to “Product” Column in List1 and would like to Get Items from “Price” Column in List2 when “Product” name is the same.  Steps below may help:

    1. In SharePoint list, Click +Add column and show ID column, find ID of related Product.
    2. Login in Power Automate website: https://flow.microsoft.com
    3. Crate an Automate Flow
    4. Add Action: When an Item is created or Modified. Enter List1 here.

     

    1. Add Action: Get Item, Enter List2(where save price information) here.

     

    1. Add action **Update Item, in ID filed, enter ID from When an Item is created or Modified Action.**In Price Filed, Enter Price column from Get Item Action (List2).

     

    1. Overview of the flow:

     

    Hope these can help.

    Regards,

    Clark

    14 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-11-21T14:58:36+00:00

    Hi Eva_1,

    Have you checked information above? Welcome to post back if there are any updates.

    Regards,

    Clark

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-01-05T11:15:42+00:00

    hi Clart. I am trying to create the same process but can I not use the unique ID?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-02-01T17:24:04+00:00

    I used this flow and it worked until I had multiple items assigned with the same value. Is there a way to allow duplicates?

    5 people found this answer helpful.
    0 comments No comments