amanda92385
New Member
- Joined
- Jun 27, 2016
- Messages
- 3
Hi -
I have thousands of rows of data and I want to get the difference between the GTE Amount and the LY Award amount, but ONLY where the GTE Amount is greater than the LY Award. I'm using all named ranges. I get a value returned but it's not correct. Can I not do this with named ranges for the greater than portion of the formula? THANK YOU!!!!
SUMIFS(GTE_Amt,GTE,"Soft",GTE_Amt,">"&LY_Award) - SUMIFS(LY_Award,GTE,"Soft",GTE_Amt,">"&LY_Award)
So it would end up with 165,000 (which is the GTE amounts for Jim, Sue, Betty and Joan) - 60k (sum of LY Award for same ppl) = 105k.
[TABLE="width: 257"]
<TBODY>[TR]
[TD]Name</SPAN>[/TD]
[TD]GTE</SPAN>[/TD]
[TD]GTE Amt </SPAN>[/TD]
[TD]LY Award</SPAN>[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]50000</SPAN>[/TD]
[TD]20000</SPAN>[/TD]
[/TR]
[TR]
[TD]Joe</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]10000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
[TR]
[TD]John</SPAN>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sally</SPAN>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sue</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]30000</SPAN>[/TD]
[TD]10000</SPAN>[/TD]
[/TR]
[TR]
[TD]Betty</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]45000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
[TR]
[TD]Joan</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]40000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL></COLGROUP>[/TABLE]
I have thousands of rows of data and I want to get the difference between the GTE Amount and the LY Award amount, but ONLY where the GTE Amount is greater than the LY Award. I'm using all named ranges. I get a value returned but it's not correct. Can I not do this with named ranges for the greater than portion of the formula? THANK YOU!!!!
SUMIFS(GTE_Amt,GTE,"Soft",GTE_Amt,">"&LY_Award) - SUMIFS(LY_Award,GTE,"Soft",GTE_Amt,">"&LY_Award)
So it would end up with 165,000 (which is the GTE amounts for Jim, Sue, Betty and Joan) - 60k (sum of LY Award for same ppl) = 105k.
[TABLE="width: 257"]
<TBODY>[TR]
[TD]Name</SPAN>[/TD]
[TD]GTE</SPAN>[/TD]
[TD]GTE Amt </SPAN>[/TD]
[TD]LY Award</SPAN>[/TD]
[/TR]
[TR]
[TD]Jim</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]50000</SPAN>[/TD]
[TD]20000</SPAN>[/TD]
[/TR]
[TR]
[TD]Joe</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]10000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
[TR]
[TD]John</SPAN>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sally</SPAN>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sue</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]30000</SPAN>[/TD]
[TD]10000</SPAN>[/TD]
[/TR]
[TR]
[TD]Betty</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]45000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
[TR]
[TD]Joan</SPAN>[/TD]
[TD]Soft</SPAN>[/TD]
[TD]40000</SPAN>[/TD]
[TD]15000</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL></COLGROUP>[/TABLE]