Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default counting values only once

I have a problem and was wondering if there was a way to solve it that I
havent thought of. I have a column that represents months. It stores then in
numeric format, i.e. 1 for January, 2 for February etc€¦ The next column is a
reference to a machine, in the format 001/0019 or 005/0041 and so on.
Now one machine can come up in the same month more that once. I want a pivot
table that shows me the total number of machines in each month, but not count
the same machine more that once in any month.
I managed this by sorting the two columns first by month then by machine. I
then added a third column with the following formula
=IF(AND(E2=E3,D2=D3),0,1) so that the month and machine values are compared
to the next ones.
This works, but the person requesting a solution says he doesnt want the
columns sorted. Is there a way to do this without sorting the columns?

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
Counting values in one cell based on values in another S2 Excel Discussion (Misc queries) 7 April 18th 09 02:46 AM
counting rows with same values for multiple values Jon Viehe New Users to Excel 4 September 1st 05 03:49 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting values between 70 and 140 Erin Excel Worksheet Functions 1 August 2nd 05 05:08 AM
Counting Values Alan Excel Worksheet Functions 6 June 9th 05 07:33 AM


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