Accessing column without a primary key

Hi all,

I have 2 sheets in my backend - Orders & Products .

My Product sheet has only 3 columns - Product Name, Country & Price.

In Orders sheet, Iโ€™m storing the response of a form where I take โ€˜countryโ€™ and โ€˜productโ€™ as an input. Now based on this input, I want to get the price of the product for the input country.

Please help me to write an expression to get the price of the correct product. Please note that the price of a product is unique for a โ€˜country-productโ€™ pair. A same product is of a different price in different countriesโ€ฆ

I have already used Lookup & Select but not getting desired result. Kinldy help!

0 3 275
3 REPLIES 3

@Aleksi Please help.

Wrote this formula but not getting desired resultsโ€“

ANY(SELECT(Products[Price],CONCATENATE([Product - 1], โ€œ:โ€, [Country])=CONCATENATE([Product Name], โ€œ:โ€, [Country])))

Any(Select(Products[Price],AND(
[Product Name]=[_ThisRow].[Product Name],
[Country]=[_ThisRow].[Country])
))

To be used as the formula in Orders[Price]

Assumes you have Orders[Product Name] and Orders[Country]

Also check out - https://help.appsheet.com/en/articles/961554-dependent-dropdown

Simon@1minManager.com

Top Labels in this Space