Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Dear experts,
I've a table with 5 columns. Column B is for Departments and column E is for floor levels. HK1-P L13 QGE L13 HK1-H L13 HK1-T L13 PPD L13 HK1-Z L14 My question is, I want to find out how many records of Department with prefix HK1 and located in L13. I set the function as below but it is not working: =SUMPRODUCT((B2:B70="HK1*")*(C2:C70="L13")) I use "*" wildcard for HK1 but the function cannot work. Please advise what should be the correct function for my question. Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Try =SUMPRODUCT((LEFT(B2:B70,3)="HK1")*(E2:E70="L13")) -- p45cal *p45cal* ------------------------------------------------------------------------ p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=125955 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try
=SUMPRODUCT((LEFT(B2:B70,3)="HK1")*(C2:C70="L13")) If this post helps click Yes --------------- Jacob Skaria "Freshman" wrote: Dear experts, I've a table with 5 columns. Column B is for Departments and column E is for floor levels. HK1-P L13 QGE L13 HK1-H L13 HK1-T L13 PPD L13 HK1-Z L14 My question is, I want to find out how many records of Department with prefix HK1 and located in L13. I set the function as below but it is not working: =SUMPRODUCT((B2:B70="HK1*")*(C2:C70="L13")) I use "*" wildcard for HK1 but the function cannot work. Please advise what should be the correct function for my question. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with a sumproduct | Excel Discussion (Misc queries) | |||
Sumproduct #Value! Problem | Excel Worksheet Functions | |||
Problem using SUMPRODUCT | New Users to Excel | |||
Sumproduct problem. | Excel Discussion (Misc queries) | |||
sumproduct problem | Excel Worksheet Functions |