Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default Identifying and totaling up duplicate cells in Excel

Hi can anyone help me??
I have two worksheet (1 & 2) with telephone numbers in column 'A'. What I
need to do is run a macro in sheet 2, that will identify the same numbers in
sheet 1 and total them up for me. Is this possible or is there a better way
of doing this?
--
Paul
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Identifying and totaling up duplicate cells in Excel

sounds like you just need a countif

in sheet 2, cell B2..

=COUNTIF(Sheet1!A:A,A2)

Will give total # of times this phone number is on the other sheet.

Paste the formula to bottom.

"Paul" wrote:

Hi can anyone help me??
I have two worksheet (1 & 2) with telephone numbers in column 'A'. What I
need to do is run a macro in sheet 2, that will identify the same numbers in
sheet 1 and total them up for me. Is this possible or is there a better way
of doing this?
--
Paul

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default Identifying and totaling up duplicate cells in Excel

Hi Sean,
thanks very much for your prompt reply. I should have worded my query
better. What I was after was a macro or a method (as I'm a novis at this sort
of stuff) where after the pohone numbers have been highlighted in sheet one
the total of numbers highlighted is added up in a single cell i.e. if there
were 24000 numbers in sheet 1 and 3000 numbers in sheet 2, I want to run a
macro that highlights which of the 3000 numbers appear in sheet 1 and the
total of all the highlighted numbers e.g. out of 24000 numbers on sheet 1,
21700 from sheet 2 were identified.
--
Paul


"Sean Timmons" wrote:

sounds like you just need a countif

in sheet 2, cell B2..

=COUNTIF(Sheet1!A:A,A2)

Will give total # of times this phone number is on the other sheet.

Paste the formula to bottom.

"Paul" wrote:

Hi can anyone help me??
I have two worksheet (1 & 2) with telephone numbers in column 'A'. What I
need to do is run a macro in sheet 2, that will identify the same numbers in
sheet 1 and total them up for me. Is this possible or is there a better way
of doing this?
--
Paul

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
Identifying duplicate entries japc90 Excel Discussion (Misc queries) 5 February 1st 08 05:36 PM
Identifying duplicate rows TBA Excel Discussion (Misc queries) 2 June 15th 07 09:38 AM
Totaling columns in a row with duplicate data - Pivot Table?? Kim CB Excel Worksheet Functions 1 August 29th 06 09:34 PM
IF= Cells not totaling Bradley Excel Worksheet Functions 4 June 20th 06 11:43 PM
Dame: identifying duplicate numbers within a column Damondism's Excel Worksheet Functions 2 June 14th 06 03:47 AM


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