Hi All,
I've been trying for a little while now through research and I'm finally stumped. My excel needs have usually always been solved through searching, learning and then modifying what I've found, not this time.
Let's say that I have 3 columns. Column A is called range1 and column B is called range2. Column C is my formula.
In range1 I have groups of numbers (1,1,1,2,2,2,2,2,2,3,3etc), and in range2 I have prices. Sometimes, range1 will have 3 entries in the group, sometimes 7. The price entries might be a combination of actual prices mixed with entries such as $0, 'N/A' (as text) or even just empty.
What I need to do is for each row, show what the difference is between that row's price, and the lowest price in that group, not including $0. I've tried
{=$b2-min(if(range1=$a2,range2))} but that includes $0 and doesn't give me an accurate report
I know it's possible because it's just logic but I don't seem to be able to capture it in the formula.
I appreciate your time in reading this.
I've been trying for a little while now through research and I'm finally stumped. My excel needs have usually always been solved through searching, learning and then modifying what I've found, not this time.

Let's say that I have 3 columns. Column A is called range1 and column B is called range2. Column C is my formula.
In range1 I have groups of numbers (1,1,1,2,2,2,2,2,2,3,3etc), and in range2 I have prices. Sometimes, range1 will have 3 entries in the group, sometimes 7. The price entries might be a combination of actual prices mixed with entries such as $0, 'N/A' (as text) or even just empty.
What I need to do is for each row, show what the difference is between that row's price, and the lowest price in that group, not including $0. I've tried
{=$b2-min(if(range1=$a2,range2))} but that includes $0 and doesn't give me an accurate report

I know it's possible because it's just logic but I don't seem to be able to capture it in the formula.
I appreciate your time in reading this.