Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to sum data in column M if the criteria in column F is met. The
criteria in F consists of 2 to 8 didget numbers such as 20, 2010, 20201, etc. I want to sum any value in M when the criteria F is anything starting with "20". Something to the effect of; SUMIF(F:F,20*,M:M) and I can not reduce the criteria in F down to 2 digets. Thanks for any help. Ronbo |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You cannot use wildcards for numbers, only text
=SUMPRODUCT(--(LEFT(F1:F10000,2)="20"),M1:M10000) works note that you cannot use SUMPRODUCT with the whole column unless you have Excel 2007 so you need to specify the range you are testing -- Regards, Peo Sjoblom "Ronbo" wrote in message ... I am trying to sum data in column M if the criteria in column F is met. The criteria in F consists of 2 to 8 didget numbers such as 20, 2010, 20201, etc. I want to sum any value in M when the criteria F is anything starting with "20". Something to the effect of; SUMIF(F:F,20*,M:M) and I can not reduce the criteria in F down to 2 digets. Thanks for any help. Ronbo |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks a lot for the solution and the information.
"Peo Sjoblom" wrote: You cannot use wildcards for numbers, only text =SUMPRODUCT(--(LEFT(F1:F10000,2)="20"),M1:M10000) works note that you cannot use SUMPRODUCT with the whole column unless you have Excel 2007 so you need to specify the range you are testing -- Regards, Peo Sjoblom "Ronbo" wrote in message ... I am trying to sum data in column M if the criteria in column F is met. The criteria in F consists of 2 to 8 didget numbers such as 20, 2010, 20201, etc. I want to sum any value in M when the criteria F is anything starting with "20". Something to the effect of; SUMIF(F:F,20*,M:M) and I can not reduce the criteria in F down to 2 digets. Thanks for any help. Ronbo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
wild card in sumproduct | Excel Worksheet Functions | |||
Wild Card Search | Excel Worksheet Functions | |||
wild card -- help with formula | Excel Discussion (Misc queries) | |||
Wild card * | Excel Worksheet Functions | |||
Wild Card and Dates | Excel Worksheet Functions |