Forum

Notifications
Clear all

auto number with duplicate -first-last bench

4 Posts
4 Users
0 Reactions
71 Views
(@lioncub)
Posts: 1
New Member
Topic starter
 

hello group

i attach sample schooldb.  my request

1- Id-School without duplicate Id 
2-Id-School duplicate Id to school
3-First bench and First bench in all school

many thanks

 
Posted : 09/05/2019 12:19 pm
Anders Sehlstedt
(@sehlsan)
Posts: 968
Prominent Member
 

Hello,

I am not clear with what you want help with, I don't see any formulas in your attached file.

 
Posted : 10/05/2019 12:21 pm
(@fravis)
Posts: 337
Reputable Member
 

Hi Mohamed,

Can't help you with all three questions, but fixed the last one. @Anders: I think he is looking for formulas and that's why they can't be found in his sheet. The questions are in the sheet.

Mohamed: I splitted the cells back to normal in your columns I and J and put a MIN and MAX (with conditions, don't know how they are called in English, but you'll find them in the cells). That'll do.

There is a trick for your other two questions, I saw recently on  Sumit Bansals website (Trump Excel), but can't remember how to do it. Maybe you can look yourself there, or somebody here helps you.

Good luck!

Frans

 
Posted : 10/05/2019 3:21 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Try this

Part 1

In cell F3 enter =IF(COUNTIF($B$3:B3,B3)=1,MAX($F$2:F2)+1,"")

Part 2

In cell G3 enter =IF(B3<>B2,MAX($F$2:F2)+1,G2)

Copy the formulas downward.

Hope this helps

Sunny

 
Posted : 10/05/2019 7:21 pm
Share: