Hi. I have a file with a price in column Z for example and I need to compare that price to the nearest cell that has a price populated. So in other words if Cell Y has a price I want to compare Z to Y. If there is no price in Y but X has a price I need to compare Z to X and so on working backwards. There will always be a price in column Z but a price can show up anywhere in A through Y and I want to take the closest cell to Z that has a price to do my calculation. So working backwards.
I was thinking some kind of IF statement, but don't know how to write the formula as I have a lot of cells to look through.
In addition, is there a way to highlight the last cell that has a price, other than Z since that is my constant. I want to be able to show the user that last time there was a price for a certain product was in so and so month. Or highlight that cell in a color?
Thanks
I was thinking some kind of IF statement, but don't know how to write the formula as I have a lot of cells to look through.
In addition, is there a way to highlight the last cell that has a price, other than Z since that is my constant. I want to be able to show the user that last time there was a price for a certain product was in so and so month. Or highlight that cell in a color?
Thanks