Item order within its area

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
pan.jpg

Hello everybody! o/


I'm trying to figure out a way to create a column with the value of the item considering its "area" (the image can explain what this 'area' means for), from a pivot table, in this format:


The column; What it REALLY means (the order)
1.1.1 - 1st area; 1st state of 1st area; 1st unitsSold of 1st state of 1st area
1.1.2 - 1st area; 1st state of 1st area; 2nd unitsSold of 1st state of 1st area
1.2.1 - 1st area; 2nd state of 1st area; 1st unitsSold of 2nd state of 1st area
1.3.1 - 1st area; 3rd state of 1st area; 1st unitsSold of 3rd state of 1st area
1.3.2 - 1st area; 3rd state of 1st area; 2nd unitsSold of 3rd state of 1st area
1.3.3 - 1st area; 3rd state of 1st area; 3rd unitsSold of 3rd state of 1st area
1.3.4 - 1st area; 3rd state of 1st area; 4th unitsSold of 3rd state of 1st area
2.1.1 - 2nd area; 1st state of 2nd area; 1st unitsSold of 1st state of 2nd area
2.2.1 - 2nd area; 2nd state of 2nd area; 1st unitsSold of 2nd state of 2nd area
2.2.2 - 2nd area; 2nd state of 2nd area; 2nd unitsSold of 2nd state of 2nd area
3.1.1 - 3rd area; 1st state of 3rd area; 1st unitsSold of 1st state of 3rd area
3.1.2 - 3rd area; 1st state of 3rd area; 2nd unitsSold of 1st state of 3rd area
3.2.1 - 3rd area; 2nd state of 3rd area; 1st unitsSold of 2nd state of 3rd area


Some of you have already stuck with something like this?

I have already tried a lot o COUNTIF like, but none of them solved; some got really close!


Tks!
 

Bob Phillips

Super Moderator
Staff member
Joined
Mar 21, 2011
Messages
1,942
Reaction score
0
Points
36
Excel Version(s)
O365
Please explain in words how you get from 'What I have' to 'What I need', as it is beyond my Ken.
 

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
I finally got the answer in another forum,

You can see the formulas on the sheet below (its not so complicated by the way)

it follows on attachments View attachment solution.xlsx

Thanks Pecoflyer , Thanks Bob Phillips !

=D



o/
 

Bob Phillips

Super Moderator
Staff member
Joined
Mar 21, 2011
Messages
1,942
Reaction score
0
Points
36
Excel Version(s)
O365
So you were posting elsewhere as well, glad we didn't waste time trying to solve it for you.

As for the solution, the data doesn't look anything like what you posted here, no wonder we didn't understand. I can't believe they used SUM(G1,1)!
 

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
Yes!

They used a simple formula, understood what I told, and here is the solution!

Isn't it wonderful?

LOL I didn't expected you would take it personal. I believe the information has to be spread!

Anyway, thanks a lot!
 

Bob Phillips

Super Moderator
Staff member
Joined
Mar 21, 2011
Messages
1,942
Reaction score
0
Points
36
Excel Version(s)
O365
I take it personally that you cross-post and don't tell us so that we waste time trying to help when I wouldn't have bothered if I had known you were cross-posting. Being free does not give you the right to abuse.
 

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
Bob,


I'm really sorry for that, maybe I'm new here and made a mistake. My intention was to reach as many people as possible and share the solution (as I did here) to everyone.

If I 'cross-posting' again I'll make it noticed.


=D
 

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
Is there a way to put "[SOLVED]" in this thread?

Usually the foruns tools offers it at the "Thread Tools" up there button..... This forum seems to not have it....
 

NBVC

Super Moderator
Staff member
Joined
May 20, 2011
Messages
1,518
Reaction score
0
Points
0
Location
Mississauga, Canada
Excel Version(s)
Excel 2016
For your education, here is a message on crossposting and why people feel upset when not told about the crossposting having occurred. Note, all forums have this consensus..

http://www.excelguru.ca/content.php?184

This forum does not have that tool in effect. You can simply leave it alone, or edit the title to show the SOLVED indication.
 

leramone

New member
Joined
Aug 8, 2014
Messages
13
Reaction score
0
Points
0
Age
31
Thank you NBVC!
I went wrong by innocence and i'm really sorry for that! The last thing i want is to annoy anyone. I want to contribute!
 
Top