Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Sum Rule checking 2 and 3 cells.

I have a spreadsheet that I would like to Count/Sum on the sheet.

The first one is if one Cell B10 has a X in it and Cell E10 has RA or USAR
in it the Count would be 1. I would like to have it check B10 thru B100 and
Cell E10 thru E100 and if 74 meet the X and RA or USAR rule the cell would
have 74.

The second part of this question is to add a third part to a second Cell.
This time I would like to have it check the same as above and a third Cell
for a X. In this case Cell BA.

So the second one is if one Cell B10 has an X in it and Cell E10 has RA or
USAR in it and Cell BA has an X in it the Count would be 1. I would like to
have it check B10 thru B100 and Cell E10 thru E100 and Cell BA10 thru BA100
and it give me the total number that meet the three rules.

Thanks for your help!!

Keith

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Sum Rule checking 2 and 3 cells.



"KAnoe" wrote in message
...
I have a spreadsheet that I would like to Count/Sum on the sheet.

The first one is if one Cell B10 has a X in it and Cell E10 has RA or USAR
in it the Count would be 1. I would like to have it check B10 thru B100

and
Cell E10 thru E100 and if 74 meet the X and RA or USAR rule the cell would
have 74.

The second part of this question is to add a third part to a second Cell.
This time I would like to have it check the same as above and a third Cell
for a X. In this case Cell BA.



=SUMPRODUCT((B10:B100="X")*(E10:E100={"RA","USAR"} ))


So the second one is if one Cell B10 has an X in it and Cell E10 has RA

or
USAR in it and Cell BA has an X in it the Count would be 1. I would like

to
have it check B10 thru B100 and Cell E10 thru E100 and Cell BA10 thru

BA100
and it give me the total number that meet the three rules.



=SUMPRODUCT((B10:B100="X")*(E10:E100={"RA","USAR"} )*(BA10:BA100="X"))


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Sum Rule checking 2 and 3 cells.

THANKS BOB!!

"Bob Phillips" wrote:



"KAnoe" wrote in message
...
I have a spreadsheet that I would like to Count/Sum on the sheet.

The first one is if one Cell B10 has a X in it and Cell E10 has RA or USAR
in it the Count would be 1. I would like to have it check B10 thru B100

and
Cell E10 thru E100 and if 74 meet the X and RA or USAR rule the cell would
have 74.

The second part of this question is to add a third part to a second Cell.
This time I would like to have it check the same as above and a third Cell
for a X. In this case Cell BA.



=SUMPRODUCT((B10:B100="X")*(E10:E100={"RA","USAR"} ))


So the second one is if one Cell B10 has an X in it and Cell E10 has RA

or
USAR in it and Cell BA has an X in it the Count would be 1. I would like

to
have it check B10 thru B100 and Cell E10 thru E100 and Cell BA10 thru

BA100
and it give me the total number that meet the three rules.



=SUMPRODUCT((B10:B100="X")*(E10:E100={"RA","USAR"} )*(BA10:BA100="X"))



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
checking two different cells Stefan - AW Excel Worksheet Functions 1 September 7th 09 05:28 PM
Checking cells for 2 conditions Mary Lancaster Excel Worksheet Functions 3 July 21st 07 11:34 PM
Checking the Cells in Sheet1 with Cells in Sheet2 and replace Checking the cells in Sheet1 with Sheet2 Excel Worksheet Functions 1 August 19th 06 09:29 AM
copying cells by checking color of the cells JJJ010101 Excel Programming 1 January 24th 06 06:42 AM
Do anyone know to validating rule for checking the Hong Kong Identity Card no new.microsoft.com Excel Programming 1 November 29th 05 08:29 AM


All times are GMT +1. The time now is 12:09 AM.

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"