Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet with 4 different worksheets. I basically want to sum the
information from the 4 worksheets on a separate worksheet. From worksheet1, I want to count the cells that contain the letter "D" from B2:B30, but only count those that have a "D" if "CO007" is in E2:30......same criteria from worksheet2, 3 and 4. I started with =count(if(worksheet1!B2:B30,"*d")+(worksheet1!E2:E 30,"CO007") + count(if(worksehet2!B2:B30,"*d") etc. but that didn't work. Please help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
something like
=sumproduct((b2:b22="d")*(e2:e22="c0007")) -- Don Guillett Microsoft MVP Excel SalesAid Software "Erin" wrote in message ... I have a spreadsheet with 4 different worksheets. I basically want to sum the information from the 4 worksheets on a separate worksheet. From worksheet1, I want to count the cells that contain the letter "D" from B2:B30, but only count those that have a "D" if "CO007" is in E2:30......same criteria from worksheet2, 3 and 4. I started with =count(if(worksheet1!B2:B30,"*d")+(worksheet1!E2:E 30,"CO007") + count(if(worksehet2!B2:B30,"*d") etc. but that didn't work. Please help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMPRODUCT(--(ISERROR(SEARCH("*D*",Sheet2!B2:B30))=FALSE),--(Sheet2!E2:E30="CO007"))
-kc *Click YES if this helps "Erin" wrote: I have a spreadsheet with 4 different worksheets. I basically want to sum the information from the 4 worksheets on a separate worksheet. From worksheet1, I want to count the cells that contain the letter "D" from B2:B30, but only count those that have a "D" if "CO007" is in E2:30......same criteria from worksheet2, 3 and 4. I started with =count(if(worksheet1!B2:B30,"*d")+(worksheet1!E2:E 30,"CO007") + count(if(worksehet2!B2:B30,"*d") etc. but that didn't work. Please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count multiple cells against multiple criteria in an Excel spreads | Excel Worksheet Functions | |||
count cells using multiple criteria | Excel Worksheet Functions | |||
Count nonblank cells with multiple criteria | Excel Worksheet Functions | |||
count cells using multiple criteria | Excel Discussion (Misc queries) | |||
Count rows based on multiple criteria | Excel Worksheet Functions |