ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct) (https://www.excelbanter.com/excel-discussion-misc-queries/108609-conditional-results-depending-cells-name-sumproduct.html)

HERNAN

CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct)
 
I have this scenario:

LTV PBS PPP RESULT
2 8 5 7
2 8 5 7

I need a formula that calculates ONLY if on the 1st row it says: "ltv" AND
ALSO "PPP". So in this case the result would be 7.
I was trying with =SUMPRODUCT formula but I can't make it work
Please any help will be very welcome!



Dave F

CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct)
 
What are you calculating?
--
Brevity is the soul of wit.


"HERNAN" wrote:

I have this scenario:

LTV PBS PPP RESULT
2 8 5 7
2 8 5 7

I need a formula that calculates ONLY if on the 1st row it says: "ltv" AND
ALSO "PPP". So in this case the result would be 7.
I was trying with =SUMPRODUCT formula but I can't make it work
Please any help will be very welcome!



WLMPilot

CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct)
 
I am sure SUMPRODUCT can work somehow. It seems to be an answer to a lot,
but I am not that comfortable with it. This is what I came up with. Given
that LTV, PMS, PPP, RESULT are in row 1 (A1 - D1) and the rest falls in line
accordingly, the formula that I put in D2 is:

=SUMIF(A1:C1,"=LTV",A2:C2) +SUMIF(A1:C1,"=PPP",A2:C2)



"HERNAN" wrote:

I have this scenario:

LTV PBS PPP RESULT
2 8 5 7
2 8 5 7

I need a formula that calculates ONLY if on the 1st row it says: "ltv" AND
ALSO "PPP". So in this case the result would be 7.
I was trying with =SUMPRODUCT formula but I can't make it work
Please any help will be very welcome!



Toppers

CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct)
 
if LTV and PPP columns are fixed e.g columns A and C, then

=A2+C2

"WLMPilot" wrote:

I am sure SUMPRODUCT can work somehow. It seems to be an answer to a lot,
but I am not that comfortable with it. This is what I came up with. Given
that LTV, PMS, PPP, RESULT are in row 1 (A1 - D1) and the rest falls in line
accordingly, the formula that I put in D2 is:

=SUMIF(A1:C1,"=LTV",A2:C2) +SUMIF(A1:C1,"=PPP",A2:C2)



"HERNAN" wrote:

I have this scenario:

LTV PBS PPP RESULT
2 8 5 7
2 8 5 7

I need a formula that calculates ONLY if on the 1st row it says: "ltv" AND
ALSO "PPP". So in this case the result would be 7.
I was trying with =SUMPRODUCT formula but I can't make it work
Please any help will be very welcome!



HERNAN

CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct)
 
that was beautifull, thank you so much, it looks like its working perfectly,
I'll try it, really thank you

"WLMPilot" wrote:

I am sure SUMPRODUCT can work somehow. It seems to be an answer to a lot,
but I am not that comfortable with it. This is what I came up with. Given
that LTV, PMS, PPP, RESULT are in row 1 (A1 - D1) and the rest falls in line
accordingly, the formula that I put in D2 is:

=SUMIF(A1:C1,"=LTV",A2:C2) +SUMIF(A1:C1,"=PPP",A2:C2)



"HERNAN" wrote:

I have this scenario:

LTV PBS PPP RESULT
2 8 5 7
2 8 5 7

I need a formula that calculates ONLY if on the 1st row it says: "ltv" AND
ALSO "PPP". So in this case the result would be 7.
I was trying with =SUMPRODUCT formula but I can't make it work
Please any help will be very welcome!




All times are GMT +1. The time now is 06:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com