Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula for Avoiding totals of Duplicate Information

I want to calculate a total that avoids certain duplicate information, like
an invoice number that may repeat. I have a list of daily invoices but the
same invoice number may come up twice for various reasons. I only want to
calculate its total once.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Formula for Avoiding totals of Duplicate Information

Insert or use an empty column to the left of your data set.

In that column use the formula... "=COUNTIF(D5:$D$19,D5)" and fill down.
The above assumes invoice IDs in D5:D19 (note the use of $).

Assuming the above formulas are in column C and the amounts to total
are in column E, then your "Total" formula is... =SUMIF(C5:E19,"=1",E5:E19)

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Garbage Man"
wrote in message
I want to calculate a total that avoids certain duplicate information, like
an invoice number that may repeat. I have a list of daily invoices but the
same invoice number may come up twice for various reasons. I only want to
calculate its total once.
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
Duplicate information Lloyd Excel Worksheet Functions 1 November 24th 06 10:49 AM
How do I merge 2 data bases in Excel avoiding duplicate records? Harrison Excel Discussion (Misc queries) 1 July 28th 06 08:45 PM
Add more information in Sub Totals David Excel Discussion (Misc queries) 1 July 23rd 06 04:03 AM
Avoiding Duplicate entries - from a drop down marie Excel Worksheet Functions 2 June 20th 06 07:12 PM
Displaying YTD totals as you populate monthly information SLSTAR Excel Worksheet Functions 1 March 19th 05 03:46 AM


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