It may be possible to set up a summary report that produces these same figures without needing to store results in a results table--it depends on the stored criteria you are using in this perform find steps as to whether or not that will work.
But to log the results in another table:
Go to Layout [Results table]
Set FIeld [Results::Ven_ID ; $Ven_id]
Set Field [Results::Total_hie ; $Total_hie]
Set Field [Results::Total_yes ; $total_yes]
Go to Layout [Original Layout]
ON the other hand, if you need to use a script to update an existing record in Results for a given vendor ID, the script would need to find that record instead of creating a new one.