I have just been organizing my expenses by font color, but I want to categorize them so that I can create pie charts.
Here's a picture.
REMOVED
I have just been organizing my expenses by font color, but I want to categorize them so that I can create pie charts.
Here's a picture.
REMOVED
Last edited by cozam1; 01-24-2016 at 02:06 PM.
Hi, welcome to the forum
Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum
Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
I believe you'll have to add in a column to state your category. Then base the pie chart on that column.
Sorry, that attachment seems to not be working, can you try the upload again?
here you go.asdf1.xlsx
Try this...
H2=SUMIF($B$2:$B$31,G2,$D$2:$D$31)
copied down
That formula works perfectly for me.
If you want your categories/groups to be in column E instead of B just change that B range in the formula to E.
Since you have them all sorted anyway, if you want a running total you could use this in cell E2 copied down.
=IF(B2=B1,E1+D2,D2)
But in my opinion, Ford's formula is the far superior way to go
Last edited by Beamernsw; 01-29-2016 at 08:54 PM.
Or you could use a pivot table - see attached.
Regards
Peterrc
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks