Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default IF and OR statements

I'm trying to create a formula that does the following from sheet2:

If the text in sheet2 column A equals the text in sheet1 column H

and

the text in sheet2 column C equals the text in either sheet1 column I or
sheet1 column K

then i want to sum the numbers in sheet1 column L.

Any thoughts?

Thanks,
Bob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF and OR statements

Maybe this:

=SUMPRODUCT(--(Sheet2!A2:A10=Sheet1!H2:H10),--((Sheet2!C2:C10=Sheet1!I2:I10)+(Sheet2!C2:C10=Shee t1!K2:K10)0),Sheet1!L2:L10)

--
Biff
Microsoft Excel MVP


"bob" wrote in message
...
I'm trying to create a formula that does the following from sheet2:

If the text in sheet2 column A equals the text in sheet1 column H

and

the text in sheet2 column C equals the text in either sheet1 column I or
sheet1 column K

then i want to sum the numbers in sheet1 column L.

Any thoughts?

Thanks,
Bob



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
If then statements Clay Excel Discussion (Misc queries) 2 March 13th 07 06:41 PM
IF Statements Bill Roberts Excel Worksheet Functions 5 February 28th 07 09:02 PM
how to do if and or else statements mo Excel Worksheet Functions 1 February 19th 07 11:48 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
if statements tom Excel Discussion (Misc queries) 3 November 18th 05 09:32 AM


All times are GMT +1. The time now is 05:18 PM.

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

About Us

"It's about Microsoft Excel"