Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sumif and begins with

Hi I am trying to create a formula but having trouble the answer i want is

=sum of coulmn C if column A = "" and if cloumn B begins with ""

Please help kind hearted souls!!!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sumif and begins with

nich wrote:
Hi I am trying to create a formula but having trouble the answer i want is

=sum of coulmn C if column A = "" and if cloumn B begins with ""

Please help kind hearted souls!!!


Here is an example:

A B C
1 m bays 564
2 n bat 264
3 m bayo 223

sum C if a=m and b begins with bay

i.e in this case c1 plus c 3

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Sumif and begins with

On Wed, 22 Jul 2009 10:05:41 GMT, "nich" <u53467@uwe wrote:

nich wrote:
Hi I am trying to create a formula but having trouble the answer i want is

=sum of coulmn C if column A = "" and if cloumn B begins with ""

Please help kind hearted souls!!!


Here is an example:

A B C
1 m bays 564
2 n bat 264
3 m bayo 223

sum C if a=m and b begins with bay

i.e in this case c1 plus c 3



Try this formula:

=SUMPRODUCT((A1:A100="m")*(LEFT(B1:B100,3)="bay")* (C1:C100))

Change the 100 in three places to reflect the number of data rows you
that have.

Hope this helps / Lars-Åke


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Sumif and begins with

=SUMPRODUCT(--(A1:A3="m"),--(LEFT(B1:B3,3)="bay"),C1:C3)
Regards,
Stefi

€žnich€ ezt Ã*rta:

nich wrote:
Hi I am trying to create a formula but having trouble the answer i want is

=sum of coulmn C if column A = "" and if cloumn B begins with ""

Please help kind hearted souls!!!


Here is an example:

A B C
1 m bays 564
2 n bat 264
3 m bayo 223

sum C if a=m and b begins with bay

i.e in this case c1 plus c 3


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sumif and begins with

Lars Thank you for getting back!

I'm still having trouble with that one not sure why though :-(

I have had to change the references as they're on a different tabI'll how you
formula:

=SUMPRODUCT(('SAP Update'!H1:H1000="SC.1343.001")*(LEFT('SAP Update'!M1:M1000,
3)="P03")*('SAP Update'!C1:C1000))

Can you tell where I've gone wrong?

Many Thanks

Nich

Lars-Åke Aspelin wrote:
Hi I am trying to create a formula but having trouble the answer i want is

[quoted text clipped - 12 lines]

i.e in this case c1 plus c 3


Try this formula:

=SUMPRODUCT((A1:A100="m")*(LEFT(B1:B100,3)="bay") *(C1:C100))

Change the 100 in three places to reflect the number of data rows you
that have.

Hope this helps / Lars-Åke




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Sumif and begins with

Stefi you are a genius!!!!!

Thank you SOOOOOOOOOOOOOO much!!!!!

Stefi wrote:
=SUMPRODUCT(--(A1:A3="m"),--(LEFT(B1:B3,3)="bay"),C1:C3)
Regards,
Stefi

€žnich€ ezt Ã*rta:

Hi I am trying to create a formula but having trouble the answer i want is

[quoted text clipped - 12 lines]

i.e in this case c1 plus c 3


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Sumif and begins with

I see nothing wrong in the formula.
What is the trouble? What result do you get? What do you expect?

Lars-Åke

On Wed, 22 Jul 2009 10:48:02 GMT, "nich" <u53467@uwe wrote:

Lars Thank you for getting back!

I'm still having trouble with that one not sure why though :-(

I have had to change the references as they're on a different tabI'll how you
formula:

=SUMPRODUCT(('SAP Update'!H1:H1000="SC.1343.001")*(LEFT('SAP Update'!M1:M1000,
3)="P03")*('SAP Update'!C1:C1000))

Can you tell where I've gone wrong?

Many Thanks

Nich

Lars-Åke Aspelin wrote:
Hi I am trying to create a formula but having trouble the answer i want is

[quoted text clipped - 12 lines]

i.e in this case c1 plus c 3


Try this formula:

=SUMPRODUCT((A1:A100="m")*(LEFT(B1:B100,3)="bay" )*(C1:C100))

Change the 100 in three places to reflect the number of data rows you
that have.

Hope this helps / Lars-Åke


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
If statement - begins with grantr Excel Discussion (Misc queries) 6 October 31st 08 06:35 PM
IF Function - Begins With Cecil Excel Discussion (Misc queries) 3 November 23rd 05 03:57 PM
How do I type number that begins with a zero to keep zero? Vickie Newton Excel Discussion (Misc queries) 4 September 19th 05 08:28 PM
Using the "Begins with" filter in a sum(if)) construction Wouter De Raeve Excel Worksheet Functions 1 January 28th 05 01:18 PM
How do I type in a number that begins with zero? Blindie00 Excel Discussion (Misc queries) 3 December 19th 04 10:05 AM


All times are GMT +1. The time now is 10:48 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"