Hello everybody,
Thank you so much for your previous and continuous help. I have an issue that I think it needs a sort of excel function but I don't know how to do it, I have a table, let's say columns D, I, J, K, L, M, N, O, P and they all have different prices, what I need to do is to compare the very first price in D2, against every other price cell, starting with I2, and see: if D2 is smaller than I2, then let D2 be = the price in I2 - 0.50 , otherwise, if D2 is larger than I2 within the limit of 2.50 (that is to say, larger with the amount from 0.001 to the amount 2.50), then let D2 be = the price of I2 - 0.20 , and if D2 is larger than I2 with more than 2.50, then totally leave I2, and compare the price in D2 against the price in the next cell which is J2, if D2 is smaller than J2, then let D2 be smaller than J2 with only 0.50 , otherwise if D2 is larger than J2 within the limit of 2.50 (that is to say, larger with the amount from 0.001 to the amount 2.50), then let D2 be = the price of J2 - 0.20 , and if D2 is larger than J2 with more than 2.50, then leave J2, and compare the price in D2 against the price in K2, .. and so on until the condition comes true
After that it would be preferable to color the cell (I, J, K, L, M, N, O, P) where the condition comes true, with a red bold font or yellow highlight cell or .. etc
Many thanks
Charlie
Bookmarks