Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT problems
SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment"))
In column G are groups of economic data. In column B are the numbers that correspond to that group. The problem is that not all of the corresponding €śemployment€ť cells in column B will have numbers. I need to be able to come up with only the number of cells in column B that contain numbers. SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment")) returns the number 19 for the 19 times €śemployment€ť is in column G. The cells in column B that are directly to the left of the €śemployment€ť cells at this time contain 14 numbers. I need a formula or modify this formula to be able to return the value of 14. Thanks for the help |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT problems
mmcap,
Try =SUMPRODUCT((LEFT($G$2:$G$150,10)="employment")*IS NUMBER(B2:B150)) HTH, Bernie MS Excel MVP "mmcap" wrote in message ... SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment")) In column G are groups of economic data. In column B are the numbers that correspond to that group. The problem is that not all of the corresponding "employment" cells in column B will have numbers. I need to be able to come up with only the number of cells in column B that contain numbers. SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment")) returns the number 19 for the 19 times "employment" is in column G. The cells in column B that are directly to the left of the "employment" cells at this time contain 14 numbers. I need a formula or modify this formula to be able to return the value of 14. Thanks for the help |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMPRODUCT problems
works great I just had to add the $ for the range in order for it to work in
both of the ways I sort the data. Thanks much Norm "Bernie Deitrick" wrote: mmcap, Try =SUMPRODUCT((LEFT($G$2:$G$150,10)="employment")*IS NUMBER(B2:B150)) HTH, Bernie MS Excel MVP "mmcap" wrote in message ... SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment")) In column G are groups of economic data. In column B are the numbers that correspond to that group. The problem is that not all of the corresponding "employment" cells in column B will have numbers. I need to be able to come up with only the number of cells in column B that contain numbers. SUMPRODUCT(--(LEFT($G$2:$G$150,10)="employment")) returns the number 19 for the 19 times "employment" is in column G. The cells in column B that are directly to the left of the "employment" cells at this time contain 14 numbers. I need a formula or modify this formula to be able to return the value of 14. Thanks for the help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problems with sumproduct | Excel Worksheet Functions | |||
Problems with Sumproduct formulas | Excel Worksheet Functions | |||
SUMPRODUCT and format problems (2) | Excel Discussion (Misc queries) | |||
sumproduct causing memory errors? | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |