Find difference between 2 cells if critera in a 3rd cell is me
Pete_UK, Yes that is it. Thank you very much for your assistance. Sorry for
not being clearer in my original post.
"Pete_UK" wrote:
So, if you have a 1 in F6, for example, you want E1-E6 in G1?
If so, try this:
=E1-INDEX(E$2:E$100,MATCH(1,F$2:F$100,0))
Hope this helps.
Pete
On Feb 25, 6:37 pm, Eric E wrote:
How would I find the difference between two cells depending on what is in a
third cell? For example, in column G1 I want to show the difference E1 and
whichever cell in column F contains the number 1. I was thinking something
along the lines of using SUMPRODUCT to find the row with the #1 and then
somehow subtracting G1 from the number column E that match the row where the
number 1 was found.
.
|