Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is VERY confusing! At least, to me it is.
There's probably a simple solution but I don't understand. You want the formula in cell G1? This is the really confusing part: I want to show the difference E1 and whichever cell in column F contains the number 1. The literal interpretation of that is to simply subtract 1 from E1 but I'm sure that's not what you want. -- Biff Microsoft Excel MVP "Eric E" wrote in message ... 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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA to find difference in cell locations | Excel Discussion (Misc queries) | |||
Add cells based on critera | Excel Discussion (Misc queries) | |||
Try to find the difference by percentage between 2 cell totals | New Users to Excel | |||
change font color of cell based on critera | Excel Worksheet Functions |