#1   Report Post  
Posted to microsoft.public.excel.misc
Juran
 
Posts: n/a
Default Formula


On the below formula.

On the first one I wrote ...="m*"... and I got 0 as a result
On the second one I wrote ...="may".. and I got the number I wanted.

=SUMPRODUCT(--($A$107:$A$130="m*"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

=SUMPRODUCT(--($A$107:$A$130="may"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

Is there are reason that "*" does not work in this formula but work in
other formulas that If (countif)?

Thank you.

Rubem


--
Juran
------------------------------------------------------------------------
Juran's Profile: http://www.excelforum.com/member.php...o&userid=23592
View this thread: http://www.excelforum.com/showthread...hreadid=544021

  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Formula

The place where the * is located in your formula is a basic comparision
(a=b), nothing to do with any other builtin formula. Wildcards are not
recognized in that situation, and that is normally what you would expect.

Miguel.

"Juran" wrote:


On the below formula.

On the first one I wrote ...="m*"... and I got 0 as a result
On the second one I wrote ...="may".. and I got the number I wanted.

=SUMPRODUCT(--($A$107:$A$130="m*"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

=SUMPRODUCT(--($A$107:$A$130="may"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

Is there are reason that "*" does not work in this formula but work in
other formulas that If (countif)?

Thank you.

Rubem


--
Juran
------------------------------------------------------------------------
Juran's Profile: http://www.excelforum.com/member.php...o&userid=23592
View this thread: http://www.excelforum.com/showthread...hreadid=544021


  #3   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Formula

To add to what Miguel said, if you want something somewhat similar to a
wildcard you can use

(LEFT($A$107:$A$130,1)="m")

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"Miguel Zapico" wrote in message
...
The place where the * is located in your formula is a basic comparision
(a=b), nothing to do with any other builtin formula. Wildcards are not
recognized in that situation, and that is normally what you would expect.

Miguel.

"Juran" wrote:


On the below formula.

On the first one I wrote ...="m*"... and I got 0 as a result
On the second one I wrote ...="may".. and I got the number I wanted.

=SUMPRODUCT(--($A$107:$A$130="m*"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

=SUMPRODUCT(--($A$107:$A$130="may"),--($B$107:$B$130=18),--($F$107:$F$130="asml"))

Is there are reason that "*" does not work in this formula but work in
other formulas that If (countif)?

Thank you.

Rubem


--
Juran
------------------------------------------------------------------------
Juran's Profile:
http://www.excelforum.com/member.php...o&userid=23592
View this thread:
http://www.excelforum.com/showthread...hreadid=544021




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 03:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"