Forum Discussion

AbbasG's avatar
AbbasG
Icon for Memorable Member rankMemorable Member
4 years ago
Solved

Calculating price difference between suppliers

Hello All,

 

I have the data where I have the prices from different suppliers as below.

 

I want to display the Model number in a separate table where the Price of supplier 1 is at least lower by 10% as compared to the other 4 suppliers.

ModelDescriptionSupplier 1Supplier 2Supplier 3Supplier 4Supplier 5
Atest product$160$145$130$180$140
Btest 2 product$220$185$195$180$220
  • lbendlin I got the solution.

    First I calculated the Minimum price. Then I added the Price difference measure compared to the minimum price.

     

    Thank you for your effort.

4 Replies

  • Your sample data does not support your problem description.  Please provide sample data that fully covers your scenario.

  • AbbasG's avatar
    AbbasG
    Icon for Memorable Member rankMemorable Member

    lbendlin Thank you for the reply.

    Let me try to explain it again. The sample data is correct as below.

    ModelDescriptionSupplier 1Supplier 2Supplier 3Supplier 4Supplier 5
    Atest product$160$145$130$180$140
    Btest 2 product$220$185$195$180$220

    Now, I want to compare the price of supplier 1 with other suppliers.

    If the price of supplier 1 is lower by at least 10% as compared to other suppliers, I want to highlight that Model no.

    Thank you in advance for your kind help.

  • AbbasG's avatar
    AbbasG
    Icon for Memorable Member rankMemorable Member

    lbendlin I got the solution.

    First I calculated the Minimum price. Then I added the Price difference measure compared to the minimum price.

     

    Thank you for your effort.