Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default How to calculate text in incremental steps

Hi there. How do i use a formula in a cell to calculate the following
conditions:

Column A = "H" text
Column B = "W" text

It requires both text to appear on the same row before equating it with a
numerical value of 1. Whenever a new row is created, and both "H" and "W"
appears (in column A and B respectively) in the same row, the cell will have
a function to add up to the total number of times a row has both text.

Sorry if the above sounds silly but i'm pretty new to Excel.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default How to calculate text in incremental steps

=SUMPRODUCT(--(A2:A11="H"),--(B2:B11="W"))
Change 11 to max No of your actual rows or max Excel row (in Excel 2003 it
is 65536, in Excel 2007 you can refer to entire columns: A:A, B:B)

Regards,
Stefi


€˛andrew€¯ ezt Ć*rta:

Hi there. How do i use a formula in a cell to calculate the following
conditions:

Column A = "H" text
Column B = "W" text

It requires both text to appear on the same row before equating it with a
numerical value of 1. Whenever a new row is created, and both "H" and "W"
appears (in column A and B respectively) in the same row, the cell will have
a function to add up to the total number of times a row has both text.

Sorry if the above sounds silly but i'm pretty new to Excel.

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
Jumping five steps Arne Hegefors Excel Discussion (Misc queries) 7 August 3rd 06 04:24 PM
making steps damorrison Excel Discussion (Misc queries) 1 April 19th 06 01:04 PM
steps to eM URL? [email protected] Excel Discussion (Misc queries) 1 March 5th 06 08:02 PM
steps to display .wmf ? [email protected] Excel Discussion (Misc queries) 1 March 2nd 06 10:27 PM
Baby steps..... cpegram Excel Discussion (Misc queries) 5 June 4th 05 09:32 PM


All times are GMT +1. The time now is 09:28 AM.

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"