compare prices in sheet AND HIGHLIGHT lowest and highesr Values then change my price

chiller

New Member
Joined
May 4, 2005
Messages
18
Hi all
I have struggled with this for days, Basically i need to compare competitors prices, and highlight top and bottom values in red and green Respectively..
Then wish to compare MyPrice(F) with Cheapest price(G).

If (F) is Higher then (G)THEN select value IN(G) and reduce the value by 1% round Down to nearest whole figure and paste in NewPrice(I).

If (F) is lower then (G) THEN copy (F) DATA and paste in NewPrice(I) AND
If in any case NewPrice(I) IS lower than Buy Price(H) then highlight cell in red.

First 2 rows as examples
skuComp1Comp2Comp3Comp4MyPriceCheapest priceBuyPriceNewPrice
a70.8174.1678.0170.8132.5070
b72.4972.49789666.5472.4959.0057
c88.0052.0055545552.0020.00
d33.0025.0053255525.0020.00
e98.0078.0021245521.0036.00
f88.0080.0045255525.0025.00
g85.0012.0085835512.0021.00
h68.2168.21528268.2152.0043.10

<tbody>
</tbody>
Thank you
 
It really depends upon the structure of your tables, how the tables/records from each table are related.
You may have a design issue. Why do you have 4 different tables with competitor prices?
I hope you do not have a separate table for each competitor. That would be bad design and make your tasks much harder to do.
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
The data is in different sheets in excell, which i have linked in to access.
i can do this anyway you suggest , i was thinking that if i had all seperate competitor tables
we could link the on the common value oem part number.
then run query to establish min max etc
 
Upvote 0

Forum statistics

Threads
1,216,105
Messages
6,128,861
Members
449,472
Latest member
ebc9

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top