LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
daleuk
 
Posts: n/a
Default Find duplicates then calculate..???


Right ok

Say I have a worksheet with A1 - Contract No's, B1 - Serial No, C1 -
Rental, D1 - Rebate.

A Contract # B Serial C Rental D Rebate

1 40190158 1212121212 1100 10
2 40190583 4545454541 1000 10
3 40190583 4545454542 3000 30
4 40190583 4545454543 1000 10
5 40156124 1574516544 10206 102
6 75621564 6542156464 40240 402
7 75621564 4541145444 60240 602
8 45444451 4645125442 2053 21

I have a sheet with over 1000 orders on. At the moment where there are
duplicate contract no's the same rebate is entered into all rebate
fields for that same contract no (in other words there can be other
'machines' with the same contract no).

So the rebate is being shown per machine where the value present is
actually per contract.

If there are no duplicates, then that simply means that there is only 1
machine on the contract. But where there are duplicate contract no's
(individual serial no's), the rebate value needs to be divided up by
ratio using the rental value.

How can I easily do this? Preferably in 1 step. (so identify the
duplicates, take the rebate for them all (which is repeated on each
record for each machine on the dup contract, so its only nes to take it
from 1 rebate field of a machine), then divide this value up using the
rental value as the ratio (each one has a different rental value) and
then dispaly the rebate for each.

Please help!


--
daleuk
------------------------------------------------------------------------
daleuk's Profile: http://www.excelforum.com/member.php...o&userid=26454
View this thread: http://www.excelforum.com/showthread...hreadid=397198

 
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
Find Duplicates & Concatenate (cpm) sandy_eggo Excel Discussion (Misc queries) 1 August 4th 05 08:05 AM
Find and mark duplicates maxtrixx Excel Discussion (Misc queries) 3 May 6th 05 02:13 AM
How do I find only the singular rows in a sheet with duplicates? Alli Excel Discussion (Misc queries) 2 May 4th 05 04:21 PM
How do I find duplicates in a list JimNC Excel Discussion (Misc queries) 1 February 6th 05 08:40 PM
Find duplicates R. Choate Excel Discussion (Misc queries) 5 November 28th 04 10:14 PM


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

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"