Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: jpstoryHi,
I need to tally through multiple files to find which file has the highest sum of 'Quantity' on records that meet with certain criteria
I have worked out the filter to get records meeting the criteria, but how to I do that on 30 files?
Also, I need to remove duplicate on the 'Model' field.
Thirdly, all files are zipped, I have set up a "Dircotry List" that is mapped to a folder but How do I connect it to my filter above?
File Content/Format: Region:String (US, UK, HK), Product: String (Cellphone, Tablet, PC), Quantity: Int ( >=0 ), Producer: String ( A, B, C, D)
Region:String Product:String Quantity:int Producer:String Model: String
US Cellphone 119 A A1G356G33
UK PC 176 B A1G356G34
HK Tablet 199 C A1G356G33
UK PC 56 D A1G356G34
US Cellphone 61 B A1G356G37
UK Tablet 121 C A1G356G34
US PC 102 A A1G356G39
HK Tablet 136 D A1G356G34
UK Cellphone 113 D A1G356G41
US PC 123 C A1G356G34
HK Cellphone 135 A A1G356G43
US Tablet 114 B A1G356G33
2. Criteria:
If Producer = A or C and Quantity > 20
If Producer = B or D and Quantity > 50