Google Sheets Functions

⌘K
  1. Home
  2. /
  3. Docs
  4. /
  5. Google Sheets Functions
  6. /
  7. 1.Seller Central Data/Fun...
  8. /
  9. GORILLA_PROFITLOSSORDERS(...

GORILLA_PROFITLOSSORDERS() – See the profit per orders

Sample Usage

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_PROFITLOSSORDERS("MyShoeStore", "last 7 days")
=GORILLA_PROFITLOSSORDERS("MyShoeStore", "last month", "IPHONE10SYX")
=GORILLA_PROFITLOSSORDERS("MyShoeStore", "yesterday", , , "SHIPPED")
profitlossorders screenshot Gorilla ROI

Syntax Description

profitlossorders function Gorilla ROI

Description:

Get the profit of each order. Like the manageorder() function, but other fees such as commission and FBA fees are included to calculate the profit per order.

WARNING: For large sellers, do NOT use this function for a long time period, like “last year”. It will try to load hundreds of thousands of orders. Google will timeout and will block your requests for the next 24hrs as it thinks you are a bot.

Syntax:

GORILLA_PROFITLOSSORDERS(sellerId, period, [filter], [marketplace], [status], [start_date], [end_date])

Seller ID – REQUIRED
Enter the Seller ID or Nickname you entered in your Gorilla account.

period – REQUIRED
Predefined period to get orders or use custom to specify a start and end date.

filter – OPTIONAL
SKU, ASIN or Amazon Order Id to filter the results. Can be a range of values like A1:A100 where A1 to A100 consists of values like SKU111, SKU222, SKU333 or ASIN123..

marketplace – OPTIONAL
Marketplace country filter. Country codes are US, CA, MX, BR, UK, DE, ES, IT, FR, NL, PL, TR, IN, SE, AE, AU, SG, JP, EG, SA. Use ALL to combine values from a single account, EU for all Europe markets EXCEPT UK, EURO to combine countries using EURO currency.

status – OPTIONAL
Order status. Valid values are:

  • All
  • Canceled
  • Pending
  • PartiallyShipped
  • Unshipped
  • Shipped
  • Shipping

start_date – OPTIONAL
Starting date for the returning range when period is “custom”.

end_date – OPTIONAL
Ending date for the returning range when period is “custom”.

GORILLA_PROFITLOSSORDERS Attributes

Period Attributes

TodayThis monthLast 3 Months
YesterdayThis quarterLast 12 Months
Same day last weekThis yearLast 7 Days Week Ago
Same day last monthThis Year-to-Last-MonthLast 7 Days Year Ago
Same day last yearLast WeekLast 30 Days Month Ago
Last 7 DaysLast MonthLast 30 Days Year Ago
Last 14 DaysLast QuarterLast Week Year Ago
Last 30 DaysLast YearLast Month Year Ago
Last 90 DaysLast 60 DaysYYYY-MM (change format to text)
 This weekYYYY YYYYQ1… YYYYQ4
Custom

Examples:

🚨 Use ranges (e.g.A2:A1000) in your formula wherever possible for quicker results and to prevent Google from blocking your account for 24 hrs due to overloading their resources. 
=GORILLA_PROFITLOSSORDERS("MyShoeStore", "last 7 days")

This will list all orders over the last 7 days including all order statuses such as pending and shipped. You will get details such as the order ID, purchase date, order status, fulfillment channel, quantity shipped, price, taxes and more.

=GORILLA_PROFITLOSSORDERS("MyShoeStore", "last month", "IPHONE10SYX")

Returns a list of all order from last month for the SKU in the US marketplace. You can also reference a cell instead of manually entering it into the formula.

=GORILLA_PROFITLOSSORDERS("MyShoeStore", "yesterday", , , "SHIPPED")

This formula will list all the orders and the profit for yesterday that have been shipped.

EBOOKS tO HELP unleash your amazon success

Enter your name and email for the full download package now.

Want SPREADSHEETS CREATED BY 7-Figure AMAZON Sellers?

Enter your name & email for the full download package now.

Master Amazon w/ expertly curated video resources

Dive into the cutting edge of Amazon mastery w/ these carefully chosen videos.

GET THE EBOOK PACKAGE

Enter your email for the full download package now.

GET YOUR SPREADSHEETS

Enter your email for the full download package now.