Excel Data Organizing - Tough

TheAddis

New Member
Joined
Jul 26, 2021
Messages
7
Office Version
  1. 365
  2. 2019
  3. 2016
The Data I have - extracted (about 80+ columns for different people and about 150 rows for the codes):

Contribution Site CodesPerson-APerson-BPerson-CPerson-D
001-5500-000-55
50%​
50%​
003-6600-000-56
20%​
40%​
20%​
10%​
002-8800-000-57
20%​
30%​
001-0677-000-58
30%​
40%​
90%​
Total From Each Person
100%​
100%​
100%​
100%​

The way I wanted to see the Data at the end (By each person only for the sites that there is data for. I do not want to see the zeros/blanks).

Person-A
001-5500-000-55
50%​
003-6600-000-56
20%​
001-0677-000-58
30%​
100%​
Person-B
003-6600-000-56
40%​
002-8800-000-57
20%​
001-0677-000-58
40%​
100%​
Person-C
001-5500-000-55
50%​
003-6600-000-56
20%​
002-8800-000-57
30%​
100%​
Person-D
003-6600-000-56
10%​
001-0677-000-58
90%​
100%​

Your help will save me a day work to may be an hour or even less. Thanks.
 
I just noticed that running that code doesn't pick up the very last row (site code) and the value that has one value for one person.

The last row with data in column A should be this, based on your example:
Total From Each Person
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
@DanteAmor ... Bingo! You are right!! I inadvertently removed the total row (which is the last raw as you said) in the actual data and when I included that back, your code does the magic perfectly! Thank you so much for taking time to update me on this. You are the best!!
 
Upvote 0
@DanteAmor You are amazing! Your code worked perfectly. I can't believe such a short clean code does the whole big spreadsheet that fast and clean!! Thank you so much!!

@DanteAmor ... Bingo! You are right!! I inadvertently removed the total row (which is the last raw as you said) in the actual data and when I included that back, your code does the magic perfectly! Thank you so much for taking time to update me on this. You are the best!!
I'm glad to help you. Thanks for the feedback. :cool:
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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