Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default 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?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default 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?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 175
Default 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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating the difference between two dates if two criteria are m Detroit David[_2_] Excel Worksheet Functions 3 April 23rd 08 09:45 PM
Calculating the sum if two criteria are met? Bruce Hancock[_2_] Excel Worksheet Functions 2 July 1st 07 09:18 PM
auto set time(now) if criteria=true with no later change Rafi Benami Excel Worksheet Functions 1 April 24th 07 05:57 AM
adding value only if criteria is true gerryR Excel Worksheet Functions 3 July 7th 06 11:47 AM
Countif( 2 criteria = true ?) MyKool Excel Discussion (Misc queries) 3 October 17th 05 02:04 PM


All times are GMT +1. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"