ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculating if 1 for 2 criteria are true (https://www.excelbanter.com/excel-discussion-misc-queries/223900-calculating-if-1-2-criteria-true.html)

The Rook[_2_]

Calculating if 1 for 2 criteria are true
 
I am wanting to add c2 to d2 if either a2 or b2 are equal to e1.

I am having a mind blank. How do I do this?

figdatbong

Calculating if 1 for 2 criteria are true
 
=IF(OR(A2=1,B2=1),Sum(C2:D2),"")

Should do it mate?

"The Rook" wrote in message
...
I am wanting to add c2 to d2 if either a2 or b2 are equal to e1.

I am having a mind blank. How do I do this?




Roger Govier[_3_]

Calculating if 1 for 2 criteria are true
 
Hi

=IF(OR(A2=E1,B2=E1),C2+D2,"")

--
Regards
Roger Govier

"The Rook" wrote in message
...
I am wanting to add c2 to d2 if either a2 or b2 are equal to e1.

I am having a mind blank. How do I do this?



Francis

Calculating if 1 for 2 criteria are true
 
Try

=IF(OR(A2=E1,B2=E1),C2+D2,"")

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis





"The Rook" wrote:

I am wanting to add c2 to d2 if either a2 or b2 are equal to e1.

I am having a mind blank. How do I do this?



All times are GMT +1. The time now is 02:35 AM.

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