PDA

View Full Version : Categories List



av8tordude
02-11-2014, 02:39 PM
Can someone assist with a code that will take a list of items in one table and group them in another table. I provided and example of how I would like the "group" table to look. Thanks for your assistance.

Paul_Hossler
02-11-2014, 02:52 PM
How 'hard' is the requirement to match the formatting?

I think a pivot table would be the easiest and most flexible

Paul

Paul_Hossler
02-11-2014, 03:06 PM
How 'hard' is the requirement to match the formatting?

I think a pivot table would be the easiest and most flexible

Paul

av8tordude
02-11-2014, 10:36 PM
Hi Paul,

I was not able to open you file b/c its in a php format.

The code I've been using before has been sufficient until now b/c I need the columns its using and I don't know how to change it to copy only the data I need to the correct table. if you run the code, you can see it does what I want it to do, but it also copies other information which I don't need and it would not fit correctly in my table. Can you assist

av8tordude
02-12-2014, 03:48 AM
Bump...Any help would be greatly appreciated. Thanks

mancubus
02-12-2014, 05:09 AM
hey av8tordude. what Paul posts is a pivot table with an added calculated field. the design of PT: Row Labels: Description / Values: Receipt No. (Count), Amount (Sum), Reimbursed (Sum) / Calculated Field: Field Name = "Net" and Formula = "=Amount-Reimbursed"

av8tordude
02-12-2014, 05:21 AM
Mancubus..I've tried downloading and opening the file, but its a file that saved as .xlsx, which I can't open.

mancubus
02-12-2014, 05:33 AM
av8tordude. a bit confused. you open (and upload here) xlsm file but cannot xlsx?

av8tordude
02-12-2014, 05:41 AM
Ok...I managed to open it. Thanks

Paul_Hossler
02-12-2014, 09:41 AM
@av8todude

If the Summary Data Descripton's are not very dynamic, you could use CountIf and SumIf WS formulas possibly

Otherwise, you could load and process the Inputs using arrays and then make the Outputs the way you want

Paul