Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I'm using the wonderful formula:
=SUMPRODUCT(--(WTCode="Web Mail"),--(WTMonthRange=C$8),--(WTYearRange=C$7),WTUnits) to find a sum based on all the rows with "Web Mail" in the first column. Any idea how to add a wildcard to this syntax so it would pick up any cell in that column starting with "Web"? (i.e. Web* - so it would also add "Web Email", "Web User", "Web Enquiry", etc....) I've been repeating the full formula above for each occurence, but my formulae are reaching the max length.... THANK YOU, as always!!!! Marika :) |
#2
![]() |
|||
|
|||
![]()
=SUMPRODUCT(--(LEFT(WTCode,3)="Web"),--(WTMonthRange=C$8),--(WTYearRange=C$7
),WTUnits) or =SUMPRODUCT(--(ISNUMBER(FIND(WTCode="Web"))),--(WTMonthRange=C$8),--(WTYearR ange=C$7),WTUnits) to find Web anywhere in the cell -- HTH RP (remove nothere from the email address if mailing direct) "marika1981" wrote in message ... I'm using the wonderful formula: =SUMPRODUCT(--(WTCode="Web Mail"),--(WTMonthRange=C$8),--(WTYearRange=C$7),WTUnits) to find a sum based on all the rows with "Web Mail" in the first column. Any idea how to add a wildcard to this syntax so it would pick up any cell in that column starting with "Web"? (i.e. Web* - so it would also add "Web Email", "Web User", "Web Enquiry", etc....) I've been repeating the full formula above for each occurence, but my formulae are reaching the max length.... THANK YOU, as always!!!! Marika :) |
#3
![]() |
|||
|
|||
![]()
Nice one, Bob! It be an idea to use SEARCH, rather than FIND, since
Search is not case sensitive. |
#4
![]() |
|||
|
|||
![]()
Dave,
I think that is a design decision, and not one we should presume to make, as to whether the test should or should not be case sensitive. I would have been more helpful though to point out the possibilities though. Regards Bob "Dave O" wrote in message oups.com... Nice one, Bob! It be an idea to use SEARCH, rather than FIND, since Search is not case sensitive. |
#5
![]() |
|||
|
|||
![]()
Hi
=SUMPRODUCT(--(LEFT(WTCode,3)="Web"),--(WTMonthRange=C$8),--(WTYearRange=C$7 ),WTUnits) Arvi Laanemets "marika1981" wrote in message ... I'm using the wonderful formula: =SUMPRODUCT(--(WTCode="Web Mail"),--(WTMonthRange=C$8),--(WTYearRange=C$7),WTUnits) to find a sum based on all the rows with "Web Mail" in the first column. Any idea how to add a wildcard to this syntax so it would pick up any cell in that column starting with "Web"? (i.e. Web* - so it would also add "Web Email", "Web User", "Web Enquiry", etc....) I've been repeating the full formula above for each occurence, but my formulae are reaching the max length.... THANK YOU, as always!!!! Marika :) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Query of External Data | Excel Discussion (Misc queries) | |||
Microsoft Query Help | Excel Worksheet Functions | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |