Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carrera
 
Posts: n/a
Default Adding numbers that meet a condition?

Hi
Here's a sample of colums a & B rows 10-14

House 4
Tenent 1
Lawyer 3
House 2
Lawyer 8

In column G rows 1-3 I have listed
House
Tenent
Lawyer

I would like column H, rows 1-3 to read
6
1
11
adding up the totals for each item listed from A & B

Thanks


  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

take a look at SUMIF function in help
"carrera" wrote in message
...
Hi
Here's a sample of colums a & B rows 10-14

House 4
Tenent 1
Lawyer 3
House 2
Lawyer 8

In column G rows 1-3 I have listed
House
Tenent
Lawyer

I would like column H, rows 1-3 to read
6
1
11
adding up the totals for each item listed from A & B

Thanks




  #3   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

Enter the following formula in H1
=SUMPRODUCT(($A$10:$A$14=G1)*($B$10:$B$14))
and fill-in the formula to H2 and H3.

Regards,
B.R.Ramachandran

"carrera" wrote:

Hi
Here's a sample of colums a & B rows 10-14

House 4
Tenent 1
Lawyer 3
House 2
Lawyer 8

In column G rows 1-3 I have listed
House
Tenent
Lawyer

I would like column H, rows 1-3 to read
6
1
11
adding up the totals for each item listed from A & B

Thanks


  #4   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

carrera,

For the house total (H), try:

=SUMIF(A10:A14,"House",B10:B14)

Do Tenant and Lawyer accordingly.

--
Earl Kiosterud
www.smokeylake.com/
-------------------------------------------

"carrera" wrote in message
...
Hi
Here's a sample of colums a & B rows 10-14

House 4
Tenent 1
Lawyer 3
House 2
Lawyer 8

In column G rows 1-3 I have listed
House
Tenent
Lawyer

I would like column H, rows 1-3 to read
6
1
11
adding up the totals for each item listed from A & B

Thanks




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
Adding numbers to current numbers mk Excel Worksheet Functions 2 May 16th 05 11:25 PM
Adding numbers in a column that have 3 decimal places KimberlyC Excel Worksheet Functions 4 April 24th 05 01:25 AM
Adding more than 30 numbers in a column CLR Excel Worksheet Functions 12 February 20th 05 08:05 PM
Excel Adding duplicated numbers together JJ Joobler Excel Discussion (Misc queries) 1 January 7th 05 01:24 AM
adding only positive numbers Jacob Excel Discussion (Misc queries) 2 November 30th 04 12:24 AM


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