ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum and If Assistance Please (https://www.excelbanter.com/excel-worksheet-functions/195467-sum-if-assistance-please.html)

angelagrasser71

Sum and If Assistance Please
 

I am trying to work with excel to make an if statement work.

Here is an example of what I am trying to do.

If the text on worksheet 1 from F1 to F80 = "Accepted" AND
if the range on worksheet 1 from e1 to e80 = worksheet 2 b2; then sum the
range on worksheet 1 from g1 to g80

Is this even possible, or even better is it understandable?

Thanks everyone

Angela


Mike H

Sum and If Assistance Please
 
Hi,

Both possible and understandable. Put this on sheet 2.

=SUMPRODUCT((F2:F80="Accepted")*(E2:E80=Sheet2!B2) *(G2:G80))

Mike

"angelagrasser71" wrote:


I am trying to work with excel to make an if statement work.

Here is an example of what I am trying to do.

If the text on worksheet 1 from F1 to F80 = "Accepted" AND
if the range on worksheet 1 from e1 to e80 = worksheet 2 b2; then sum the
range on worksheet 1 from g1 to g80

Is this even possible, or even better is it understandable?

Thanks everyone

Angela


Mike H

Sum and If Assistance Please
 
oops
I meant put it on sheet 1
Mike

"Mike H" wrote:

Hi,

Both possible and understandable. Put this on sheet 2.

=SUMPRODUCT((F2:F80="Accepted")*(E2:E80=Sheet2!B2) *(G2:G80))

Mike

"angelagrasser71" wrote:


I am trying to work with excel to make an if statement work.

Here is an example of what I am trying to do.

If the text on worksheet 1 from F1 to F80 = "Accepted" AND
if the range on worksheet 1 from e1 to e80 = worksheet 2 b2; then sum the
range on worksheet 1 from g1 to g80

Is this even possible, or even better is it understandable?

Thanks everyone

Angela


angelagrasser71

Sum and If Assistance Please
 
thank you

you saved me :)

"Mike H" wrote:

Hi,

Both possible and understandable. Put this on sheet 2.

=SUMPRODUCT((F2:F80="Accepted")*(E2:E80=Sheet2!B2) *(G2:G80))

Mike

"angelagrasser71" wrote:


I am trying to work with excel to make an if statement work.

Here is an example of what I am trying to do.

If the text on worksheet 1 from F1 to F80 = "Accepted" AND
if the range on worksheet 1 from e1 to e80 = worksheet 2 b2; then sum the
range on worksheet 1 from g1 to g80

Is this even possible, or even better is it understandable?

Thanks everyone

Angela



All times are GMT +1. The time now is 07:17 AM.

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