Allocating specific booking numbers to specific customers - Help needed

deankavon

New Member
Joined
Nov 21, 2012
Messages
23
Hello!

So, i have the following problem;

i have a powerpivot table with specific data as booking numbers and margins made on those bookings.

Each specific booking starts with a number.

for example:

110000/13 or 120000/13

What i need to do is to connect these booking numbers and associated margins to a specific customer;

110000/13 - Customer A
120000/13 - Customer B

And also i need to connect 5 different booking numbers to one specific customer.

These booking numbers start from 0000 and continue on.

I basically need them to be connected and to allocate each new booking number to the specific customer.

Now, the thing is i dont have the customers in this powerpivot table.



Help would really be much appreciated!
 
Still not sure where you are going with this! If this is what you are trying to do:

bookingrefpic_zpsbb1d1df0.jpg


Then this formula (in B2) does the trick:

Code:
=(VALUE(LEFT(A2,4))+COUNTIFS(A$2:A2,A2))&"-"&RIGHT(A2,2)

Again I'm not sure how this helps but hope it does.
Jacob
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Thank Jacob for all your effort!

This is what i am trying to accomplish:

[TABLE="width: 205"]

<tbody>[TR]
[TD]CUSTOMER[/TD]
[TD]BOOKING NUMBER[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10000-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10001-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10002-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10003-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10004-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10005-12[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]10006-12[/TD]
[/TR]
</tbody>
[/TABLE]


i've managed to use this as a solution but it takes me some 80 000 rows in the updated table to input all booking numbers :s

In my original pivot table booking number are with a slash not /...is there any formula in powerpivot that could associate like the example above certain booking nums to one specific customer..? i hope it is clearer now. :s

thnx!
 
Upvote 0
@Jacob

Maybe it would be simple if i explain it like this;

Booking numbers starting from 10000/12 to 10999/12 are for Customer A.

Booking numbers starting from 20000/12 to 20999/12 are for Customer B.


All these booking numbers are already in my powerpivot table that is connected do the main database with the reference "booking". but they are all mixed up between each other as they occur randomly.

Is there any formula that can create a calculated column, that if booking number is from 10000/12 to 10999/12 then the calculated column states "customer A"?
 
Upvote 0

Forum statistics

Threads
1,223,947
Messages
6,175,562
Members
452,652
Latest member
eduedu

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