Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Sumif function problem

Hi All,

Could somebody can provide with a formula to sum Column B data for all
the data that start with "009" in column A

Ex - The formula should give me 100 as answer.

Column A Column B
00911 60
00111 30
00112 20
00922 40

Thanks in Advance.
Thyag
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Sumif function problem


=SUMPRODUCT((LEFT(A5:A8,3)="009")*B5:B8)


"Thyag" wrote:

Hi All,

Could somebody can provide with a formula to sum Column B data for all
the data that start with "009" in column A

Ex - The formula should give me 100 as answer.

Column A Column B
00911 60
00111 30
00112 20
00922 40

Thanks in Advance.
Thyag

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Sumif function problem

=SUMIF(A:A,"009*",B:B)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Thyag" wrote in message
...
Hi All,

Could somebody can provide with a formula to sum Column B data for all
the data that start with "009" in column A

Ex - The formula should give me 100 as answer.

Column A Column B
00911 60
00111 30
00112 20
00922 40

Thanks in Advance.
Thyag



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Sumif function problem

On Dec 21, 9:40*am, Thyag wrote:
Hi All,

Could somebody can provide with a formula to sum Column B data for all
the data that start with "009" in column A

Ex - The formula should give me 100 as answer.

Column A * * * *Column B
00911 * 60
00111 * 30
00112 * 20
00922 * 40

Thanks in Advance.
Thyag


Thanks Joel and Bob.
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
SUMIF function problem Zorba Excel Worksheet Functions 6 January 15th 09 05:40 PM
Excel SUMIF function problem harperma Excel Worksheet Functions 3 December 17th 07 09:40 PM
SUMIF Function Problem Chad Excel Discussion (Misc queries) 3 June 22nd 07 11:24 PM
Problem in SUMIF Function Kelvin Lee Excel Discussion (Misc queries) 1 August 25th 06 05:06 AM
VBA €“ Problem with compound SUMIF function gary Excel Programming 13 May 14th 06 02:35 PM


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