Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AHOBBS
 
Posts: n/a
Default if a word is in a cell I want the total in that column

If a word is found in a cell range in E2:AT2 I want the total sum found in
that column below the word, or alternatively, the total found in that column
below the word, but in a certain row
  #2   Report Post  
Posted to microsoft.public.excel.misc
SSG QuarterMaster
 
Posts: n/a
Default if a word is in a cell I want the total in that column

This sounds like a simple CountIf formula. In the cell where you want the
results to posted type the following: =COUNTIF(Range,"Criteria"). Where range
would be E2:AT2 and Criteria would be the word you what counted in side
quotation marks

"AHOBBS" wrote:

If a word is found in a cell range in E2:AT2 I want the total sum found in
that column below the word, or alternatively, the total found in that column
below the word, but in a certain row

  #3   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default if a word is in a cell I want the total in that column

You don't say what the total is OF . Since your range is E2:AT2 I
presume you are totaling horizontally and when you come to text in a
cell in row 2 you want the sum of the cells in row 2 to the left of the
text, and that the text could appear more than once, and you want the
total from E-2 to wherever any, and all, text is. If I guessed right:

in cell F-3 type the formula =IF(ISTEXT(F2),SUM($E2:F2),"") , Copy the
formula to cells G-3 through AU-3.

or, in cell F-3 type the formula =IF(F2=" *whatever the expected word
is*",SUM($E2:F2),""). Copy the formula to cells G-3 through AU-3.

If I guessed wrong, what did you want? ed

  #4   Report Post  
Posted to microsoft.public.excel.misc
AHOBBS
 
Posts: n/a
Default if a word is in a cell I want the total in that column

Thanks very much - I have sent you a separate email explaining in more depth
and enclosing an example. If you can assist great, if not, then thanks for
trying.

" wrote:

You don't say what the total is OF . Since your range is E2:AT2 I
presume you are totaling horizontally and when you come to text in a
cell in row 2 you want the sum of the cells in row 2 to the left of the
text, and that the text could appear more than once, and you want the
total from E-2 to wherever any, and all, text is. If I guessed right:

in cell F-3 type the formula =IF(ISTEXT(F2),SUM($E2:F2),"") , Copy the
formula to cells G-3 through AU-3.

or, in cell F-3 type the formula =IF(F2=" *whatever the expected word
is*",SUM($E2:F2),""). Copy the formula to cells G-3 through AU-3.

If I guessed wrong, what did you want? ed


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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
How do I reference every "n" cell in a column in Excel? Alma Excel Worksheet Functions 2 March 22nd 05 06:19 PM


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