Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default Should I use COUNT IF? from one sheet to another


I want to count the totals of various text strings together from sheet 2

eg

on sheet 2 , I want to know the total of Jack, John, Mary & Kates scores as
a whole (each appear atleast 10 times in the different rows)

There are hundreds of rows with different names but need the totals of these
particular 4. The names are are in column D and the totals in column H

I need to show the answer in sheet 1

Please can anybody help?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Should I use COUNT IF? from one sheet to another

Hi Amanda,

you can use sumproduct to do it,

=sumproduct(--(sheet1!d2:d100="Jack");(h2:h100))+sumproduct(--(sheet1!d2:d100="John");(h2:h100))+sumproduct(--(sheet1!d2:d100="mary");(h2:h100))+sumproduct(--(sheet1!d2:d100="kate");(h2:h100))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Amanda" escreveu:


I want to count the totals of various text strings together from sheet 2

eg

on sheet 2 , I want to know the total of Jack, John, Mary & Kates scores as
a whole (each appear atleast 10 times in the different rows)

There are hundreds of rows with different names but need the totals of these
particular 4. The names are are in column D and the totals in column H

I need to show the answer in sheet 1

Please can anybody help?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default Should I use COUNT IF? from one sheet to another

Thanks Marcelo

All working perfect!

"Marcelo" wrote:

Hi Amanda,

you can use sumproduct to do it,

=sumproduct(--(sheet1!d2:d100="Jack");(h2:h100))+sumproduct(--(sheet1!d2:d100="John");(h2:h100))+sumproduct(--(sheet1!d2:d100="mary");(h2:h100))+sumproduct(--(sheet1!d2:d100="kate");(h2:h100))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Amanda" escreveu:


I want to count the totals of various text strings together from sheet 2

eg

on sheet 2 , I want to know the total of Jack, John, Mary & Kates scores as
a whole (each appear atleast 10 times in the different rows)

There are hundreds of rows with different names but need the totals of these
particular 4. The names are are in column D and the totals in column H

I need to show the answer in sheet 1

Please can anybody help?

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
Want cell ref. to change after sort in other sheet Bullfn33 Excel Discussion (Misc queries) 1 August 6th 06 05:48 PM
Sum up columns in different sheet with error check zeyneddine Excel Discussion (Misc queries) 13 July 10th 06 01:21 PM
Asked previously...can this not be done in excel simonsmith Excel Discussion (Misc queries) 2 May 16th 06 11:50 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM


All times are GMT +1. The time now is 09:07 PM.

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"