Need help in search with formula culums in reports

Need help in search with formula culums in reports

Hello,

I do not know where to start with this one :

I have a customer report with all that was bought and paid by my customers. It can be many records for one specific customer.

Ex. Customer A has 1 record for a purchase of 1000 $, and 2 records of payments of 350 $ and 250 $. So 3 records total and he still owes me 400 $.

I need to search in that report in 2 manners : All customers that owe me more than XYZ $, and all customers that owe me more than XY % of what they bought so far. In my example he owes me 400 $, and also 40 % of total purchase.

With the search results I will do a grouped email reminding those customers to pay.

I managed to do a pivot table with all my customers, and I can highlight those who owe me money using formula column, but I do not know how to search within that pivot table report, and do not know how to script a send email from pivot table (I think it comes from Analytics app, which I am not familiar with).

Can someone point me the direction to take, give me few advices ?

Sylvain