Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Landers
 
Posts: n/a
Default Function to sum a list of rows with different text except for one

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Function to sum a list of rows with different text except for one

Try something like this:

For a list of Projects in A1:A100

This formula counts the cells that contain the word "May"
B1: =COUNTIF(A1:A100,"*May*")

Note: in that configuration, "Mayberry" counts as a match. Post back if that
is not OK.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Landers
 
Posts: n/a
Default Function to sum a list of rows with different text except for

Ron,
I see that I was not clear in what my end result is - each row that has May
has a dollar value in another column (Row 1 Column A May 2390i3094 Row 1
Column B $5000 )and I need the dollar values to add up for all May rows.

"Ron Coderre" wrote:

Try something like this:

For a list of Projects in A1:A100

This formula counts the cells that contain the word "May"
B1: =COUNTIF(A1:A100,"*May*")

Note: in that configuration, "Mayberry" counts as a match. Post back if that
is not OK.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Function to sum a list of rows with different text except for

OK...then try this:

For a list of Projects in A1:A100

This formula sums the cells in Col_B where the corresponding cell in Col_A
contains the word "May":
B1: =SUMIF(A1:A100,"*May*",A1:A100)

Is that what you're looking for?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

Ron,
I see that I was not clear in what my end result is - each row that has May
has a dollar value in another column (Row 1 Column A May 2390i3094 Row 1
Column B $5000 )and I need the dollar values to add up for all May rows.

"Ron Coderre" wrote:

Try something like this:

For a list of Projects in A1:A100

This formula counts the cells that contain the word "May"
B1: =COUNTIF(A1:A100,"*May*")

Note: in that configuration, "Mayberry" counts as a match. Post back if that
is not OK.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Function to sum a list of rows with different text except for

Correction:

The formula is:
B1: =SUMIF(A1:A100,"*May*",B1:B100)

NOT B1: =SUMIF(A1:A100,"*May*",A1:A100)

***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

Ron,
I see that I was not clear in what my end result is - each row that has May
has a dollar value in another column (Row 1 Column A May 2390i3094 Row 1
Column B $5000 )and I need the dollar values to add up for all May rows.

"Ron Coderre" wrote:

Try something like this:

For a list of Projects in A1:A100

This formula counts the cells that contain the word "May"
B1: =COUNTIF(A1:A100,"*May*")

Note: in that configuration, "Mayberry" counts as a match. Post back if that
is not OK.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Landers
 
Posts: n/a
Default Function to sum a list of rows with different text except for

Excellent - thank you!!!

"Ron Coderre" wrote:

Correction:

The formula is:
B1: =SUMIF(A1:A100,"*May*",B1:B100)

NOT B1: =SUMIF(A1:A100,"*May*",A1:A100)

***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

Ron,
I see that I was not clear in what my end result is - each row that has May
has a dollar value in another column (Row 1 Column A May 2390i3094 Row 1
Column B $5000 )and I need the dollar values to add up for all May rows.

"Ron Coderre" wrote:

Try something like this:

For a list of Projects in A1:A100

This formula counts the cells that contain the word "May"
B1: =COUNTIF(A1:A100,"*May*")

Note: in that configuration, "Mayberry" counts as a match. Post back if that
is not OK.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Mac Landers" wrote:

I have a list of projects by row and I need to sum the lines that have one
key word. For example I have May jakdjfld, May a0934u0, May 2309u09, etc. I
want to sum all the rows with the word May in it.

I greatly appreciate your help.

Thanks!

Mac

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
Cells within a list to display a certain text but have different v GEM Excel Discussion (Misc queries) 1 June 9th 06 06:10 AM
Vlookup of list with text and number robertjtucker Excel Discussion (Misc queries) 2 February 8th 06 05:23 PM
Change a Column list into multiple rows & columns angelface Excel Worksheet Functions 3 January 28th 06 01:23 AM
Import only certain rows of a huge text file AriBari Excel Discussion (Misc queries) 4 July 11th 05 06:54 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


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