Google Sheets For Loop with If Statement

The Excel Cave
The Excel Cave
24.6 هزار بار بازدید - 4 سال پیش - This video illustrates how to
This video illustrates how to create a FOR LOOP with an IF STATEMENT in the Google Sheets Script Editor.  In this example we have a data set of check book orders for 3 different bank branches.  The objective is to build a For Loop that will dynamically assign the correct Shipping Charge based on the branch location.  Since the some of the locations have different shipping charges an If Statement is also created inside the for loop to assign the varying charges.

For a more detailed explanation of a For Loop in Apps Script for Sheets check out the link below to my website:
For Loop Explanation
https://googlesheetsfocus.weebly.com/...
Faster For Loop using the Map Method
https://googlesheetsfocus.weebly.com/...


Learn more about Google Apps Script with this Beginner's Guide Book at Amazon.
https://amzn.to/3MMvDZs
DISCLAIMER:  As an Amazon Affiliate I get a commission for every purchase via this link below
4 سال پیش در تاریخ 1399/06/03 منتشر شده است.
24,612 بـار بازدید شده
... بیشتر