Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
J1J
 
Posts: n/a
Default Problems with SUMIF function and Wildcards (* and ?)


Hey

I have a hard time getting this to work.

I wanted to make a sum of different accounts taking only the 2 first
account numbers. Using a formula like this one.

SUMIF(A8:A179;"14*";G8:G179), For all the accounts in the range
beginning with 14.

But in stead of looking for the * as a wildcard it actually looks for
14* (and I didnt type ~*); thus naturally giving me a sum of 0.

The strange thing is that on another file I received from a colleague
it works perfectly on the collumns he created, but not on the new
columns I created in his file.

I have tried copying his formating but it didnt change anything.


I am currently using Windows 2003, in english on a french computer.


Thanks in advance


Joachim


--
J1J
------------------------------------------------------------------------
J1J's Profile: http://www.excelforum.com/member.php...o&userid=24668
View this thread: http://www.excelforum.com/showthread...hreadid=382436

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Could it be that they are actually numbers not text? Try

=SUMPRODUCT(--(LEFT(A8:A179,2)="14"),G8:G179)

--
HTH

Bob Phillips

"J1J" wrote in message
...

Hey

I have a hard time getting this to work.

I wanted to make a sum of different accounts taking only the 2 first
account numbers. Using a formula like this one.

SUMIF(A8:A179;"14*";G8:G179), For all the accounts in the range
beginning with 14.

But in stead of looking for the * as a wildcard it actually looks for
14* (and I didnt type ~*); thus naturally giving me a sum of 0.

The strange thing is that on another file I received from a colleague
it works perfectly on the collumns he created, but not on the new
columns I created in his file.

I have tried copying his formating but it didnt change anything.


I am currently using Windows 2003, in english on a french computer.


Thanks in advance


Joachim


--
J1J
------------------------------------------------------------------------
J1J's Profile:

http://www.excelforum.com/member.php...o&userid=24668
View this thread: http://www.excelforum.com/showthread...hreadid=382436



  #3   Report Post  
J1J
 
Posts: n/a
Default


Thanks great that really helped, once I changed the formating of your
formula a bit apparently on my version , has to be replaced by ;



Thanks again


Joachom


--
J1J
------------------------------------------------------------------------
J1J's Profile: http://www.excelforum.com/member.php...o&userid=24668
View this thread: http://www.excelforum.com/showthread...hreadid=382436

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

OK, you have a continental version of Excel. If you post again, mention
that, we might give a more correct formula :-)

--
HTH

Bob Phillips

"J1J" wrote in message
...

Thanks great that really helped, once I changed the formating of your
formula a bit apparently on my version , has to be replaced by ;



Thanks again


Joachom


--
J1J
------------------------------------------------------------------------
J1J's Profile:

http://www.excelforum.com/member.php...o&userid=24668
View this thread: http://www.excelforum.com/showthread...hreadid=382436



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

or we (I) could learn to look more carefully at the formula given :-(

Bob

"J1J" wrote in message
...

Thanks great that really helped, once I changed the formating of your
formula a bit apparently on my version , has to be replaced by ;



Thanks again


Joachom


--
J1J
------------------------------------------------------------------------
J1J's Profile:

http://www.excelforum.com/member.php...o&userid=24668
View this thread: http://www.excelforum.com/showthread...hreadid=382436



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
Can wildcards be used in SUMPRODUCT conditions Reed Excel Worksheet Functions 4 June 13th 05 10:06 PM
Wildcards in Functions Graeme Crook Excel Worksheet Functions 1 June 10th 05 10:42 PM
Wildcards in Functions Graeme Crook Excel Worksheet Functions 1 June 9th 05 11:31 PM


All times are GMT +1. The time now is 03:35 AM.

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

About Us

"It's about Microsoft Excel"