Scrape and sum value base on webpage element condition

Hello All,
I need to sum up dollar amount base on web element conditions(See picture below)

Condition1-Certain Element exists
Condition2-Date within range

Sum dollar amount and save to variable base on 2 conditions above.

There two sections that need to sum dollar amount:
Active Reports
Available Expenses

Thanks for the help.