Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Pulling Purchase price from a master sheet

✭✭
edited 10/05/22 in Formulas and Functions

Hey All,


I have a master sheet where I input items that I purchased and it's price. To identify a product I use SKU's for each Product.

Now every two weeks I pull my sales and import it to a new smart sheet. The I copy the sku and go into my master sheet and find it there and look at how much I paid for it, then I got back to the import and paste the purchase price.

Is there a way to have this automated? Can it go to the master sheet and look for the SKU then see how much I paid for it and come back and paste it?


Answers

  • ✭✭✭✭✭

    That would be =Index({price per item},match([sku]@row,{sku from other sheet},0))

  • ✭✭✭✭✭

    So after you type =index( you then click on the "reference another sheet", go to your purchase orders sheet and select the column Price per item. Then type Match([sku]@row, then click "reference another sheet" and select the SKU column from the purchase order sheet, then finish the formula with a ,0))

  • That worked Michael! Thank you! Now is there a way to automate it so that it does it for every new sheet?

  • ✭✭✭✭✭

    Are you keeping the older sheets or just pasting the new data over the old sheet?

  • I am keeping the old sheets. Every two weeks, I create a new sheet for the new sales.

  • ✭✭✭✭✭

    You would need to do new references for those sheets. Or edit the reference and point to the new sheet. Depends on what you're trying to accomplish.

  • Can I create a template with this formula basically? I tried copying the forumla that worked in one sheet and into another sheet but that didn't work.


    So basically every new sheet I have to redo the steps you mention here:

    So after you type =index( you then click on the "reference another sheet", go to your purchase orders sheet and select the column Price per item. Then type Match([sku]@row, then click "reference another sheet" and select the SKU column from the purchase order sheet, then finish the formula with a ,0))

  • ✭✭✭✭✭

    It would be helpful to see screenshots so I have a better idea what you’re doing. Then maybe I can suggest something for ya.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions