Delivery Drop No.?

Northerner

Board Regular
Joined
Nov 13, 2002
Messages
149
I am currently developing a route check sheet for our drivers. Can someone assist in counting the unique entries by account Number?
My sheet will show Account No. in Col G starting from G4.
I have found =IF(G4<>G3,COUNTA($G$3:G4)&".","") but this has the fault in that if I have 3 deliveries to an address, the next delivery drop count is incremented by 3 and not by 1.
1. 1234 Fred
....1234 Fred
....1234 Fred
4. 5678 Barney
5. 9101 Wilma

Any assistance or pointing in the right direction greatfully recieved.
 
Incidentally, does anyone know why I'm getting blanks with the following formula, despite the function returning the correct answer when you go into the Insert Function dialog?
Book2
ABCD
111234Fred
2 1234Fred
3 1234Fred
4 5678Barney
5 9101Wilma
Sheet1
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Aladin Akyurek said:
The Mudface question...

A2:

=IF(B2=B1,"",MAX($A$1:A1)+1)

That's the one, I got a circular reference, ignored it and forgot to correct it later on :LOL: . Thanks, Aladin.
 
Upvote 0
Thanks for the interest guys,
Mudface's end result is the closest, but I would prefere only one '1' against the first Fred.
I'd love to dump an example but unfortunatly at work we run a Thin Client system.
If we (sorry you :oops: ) can't resolve this afternoon, I'll use Colo's Utility from home this evening.
:pary: but I have every confidence in you. :LOL:
 
Upvote 0
Well, with Aladin's correction, this seems to work as you wanted:-
Book2
ABCD
111234Fred
2 1234Fred
3 1234Fred
425678Barney
539101Wilma
Sheet1
 
Upvote 0
Northerner said:
Thanks for the interest guys,
Mudface's end result is the closest, but I would prefere only one '1' against the first Fred.
I'd love to dump an example but unfortunatly at work we run a Thin Client system.
If we (sorry you :oops: ) can't resolve this afternoon, I'll use Colo's Utility from home this evening.
:pary: but I have every confidence in you. :LOL:

Can 1234 be combined with different names, not just with Fred?
 
Upvote 0
Northerner said:
The 1234 & Fred are just meant to represent a customer account number and name

Then Chris's (Mudface) formula as amended should work. Gee, you made me run, Northerner. The data must be sorted though.
 
Upvote 0
Mudface, Aladin and Fairwind, thanks for your input.
Yes Aladin, Mudface's was right, I'd dismissed it as the first drop number was not a formula but a static '1'. My program inserts new lines and copies formulie for each new 'delivery'. After you made me look at it again I realised I need only insert a blank line BEFORE my first delivery with a zero in it, then I could use Mudface's formula and have it copied each time it was required. (Well I know what I mean :LOL: )

Thanks again to you all!!

And my next problem is..............................? :LOL:
 
Upvote 0

Forum statistics

Threads
1,215,329
Messages
6,124,301
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top