• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

How to avoid this error?

NelsonE

Member
Hi to all,
I'm using Pabbly Connect to access Google Sheet, lookup rows and do calculations, namely look for a row with a specific email address and calculate the difference between the current value and the previous one. The issue is when there is only the first value for the specific email address, in this case, I get an error.

How can I use Pabbly to do the calculation only when there is a previous value to compare with?
You can see in the image below what is being done in the math operation, which returns an error when "response result 0 row value" doesn't exist yet.
1643753762878.png
 

Supreme

Well-known member
Staff member
Hey @NelsonE

We looked into your workflow and it seems like for some email addresses there is only one value and because of that, the number formatter is unable to subtract because there is one value coming from Google Sheets.

Though you can use a filter action step to only process the values when there are two values to subtract.

2022-02-02_11h04_55.png
 
Top