Asana custom fields report in Google Sheets
Count, sum and cross-tabulate the fields your team actually tracks: Priority, Estimate, Team, Stage.
Custom fields are where most teams keep the information that matters for reporting: how urgent a task is, how big it is, which team or customer it belongs to. Asana shows them on tasks and can group by some of them, but questions like "how many open high-priority tasks does each section have" or "how many estimated hours are left per team" are quicker to answer in a spreadsheet, on any Asana plan.
What you need: the project's tasks in a tab
- By hand: export the project as CSV from Asana and import it into a tab. Custom fields come along as columns. Re-import to refresh.
- Automatically: Rowsmith syncs the project into a tab named after the project, with one column per custom field, and keeps it up to date. Everything below works on the free plan (one project, refreshed when you click); Pro refreshes on a schedule and adds daily snapshots.
Rowsmith's fixed columns are Task ID (A), Task (B), Section (C), Assignee (D), Status (E, Open or Done), Due (F), Start (G), Completed (H), Created (I), Modified (J), Tags (K), Parent task (L), Subtasks (M), Link (N) and Notes (O). Custom fields follow from column P, one per field, with the field's name as the header, followed by Subtasks done (how many of a task's Subtasks are completed). New fields added in Asana later get a new column at the end; existing columns never move. Replace Tasks with your tab's name (in single quotes if it has spaces, as in 'Website launch'!C:C).
Step 1: find a field's column by name
Which letter "Priority" lands in depends on the project, so rather than hard-coding it, look it up. In a new tab called Fields, put the field name in B1 (for example Priority) and in B2:
=MATCH(B1, Tasks!1:1, 0)
That gives the column number. To get the whole column for use in other formulas:
=INDEX(Tasks!A:ZZ, 0, MATCH("Priority", Tasks!1:1, 0))
The formulas below use that pattern, so they keep working if you rename the tab's other columns or the field moves. If you would rather read letters, check the header row of the synced tab and use, say, Tasks!P:P directly.
Step 2: count tasks by a dropdown field
For a single-select field such as Priority or Stage. In the Fields tab, A4 Priority, B4 Open, C4 Done, then in A5:
=SORT(UNIQUE(FILTER(INDEX(Tasks!A2:ZZ, 0, MATCH("Priority", Tasks!1:1, 0)),
INDEX(Tasks!A2:ZZ, 0, MATCH("Priority", Tasks!1:1, 0)) <> "")))
B5 and C5, filled down next to the list:
B5: =COUNTIFS(INDEX(Tasks!A:ZZ, 0, MATCH("Priority", Tasks!1:1, 0)), A5, Tasks!E:E, "Open")
C5: =COUNTIFS(INDEX(Tasks!A:ZZ, 0, MATCH("Priority", Tasks!1:1, 0)), A5, Tasks!E:E, "Done")
Tasks with the field left empty don't appear in the list. Count them separately with "Open" and an empty criterion:
=COUNTIFS(INDEX(Tasks!A:ZZ, 0, MATCH("Priority", Tasks!1:1, 0)), "", Tasks!E:E, "Open", Tasks!B:B, "<>")
The last condition (Task not empty) keeps blank rows below the data from being counted.
Step 3: sum a number field
For a number field such as Estimate (hours), Story points or Budget. Hours left per section:
=QUERY({Tasks!C2:C, Tasks!E2:E, INDEX(Tasks!A2:ZZ, 0, MATCH("Estimate", Tasks!1:1, 0))},
"select Col1, sum(Col3) where Col2 = 'Open' and Col1 is not null
group by Col1 order by sum(Col3) desc label Col1 'Section', sum(Col3) 'Hours left'", 0)
Swap Tasks!C2:C for Tasks!D2:D to get it per assignee, or for another field's column to get it per team. QUERY needs the column to hold numbers: if a sum comes out empty, see "Things to know" below.
A single total, for a headline cell:
=SUMIFS(INDEX(Tasks!A:ZZ, 0, MATCH("Estimate", Tasks!1:1, 0)), Tasks!E:E, "Open")
Step 4: two fields against each other
"Priority by section" or "Stage by team" is a cross-tab. The quickest way is a pivot table: select the synced tab's data, Insert → Pivot table (new sheet), then:
- Rows: Section (or any field).
- Columns: Priority.
- Values: Task, summarised by COUNTA. For hours instead, Estimate summarised by SUM.
- Filters: Status, showing only
Open.
Pivot tables pick up new rows when the range is whole columns (edit the range to something like Tasks!A:Z), so a scheduled sync keeps the table current. If you prefer a formula, QUERY's pivot clause does the same:
=QUERY({Tasks!C2:C, Tasks!E2:E, INDEX(Tasks!A2:ZZ, 0, MATCH("Priority", Tasks!1:1, 0))},
"select Col1, count(Col1) where Col2 = 'Open' and Col1 is not null
group by Col1 pivot Col3", 0)
Tasks with no priority show up under an empty column header; that is your "not triaged yet" count.
Multi-select and people fields
A multi-select field holds all chosen options in one cell, separated by commas (Design, Copy). Count tasks that include one option with a wildcard:
=COUNTIFS(INDEX(Tasks!A:ZZ, 0, MATCH("Skills", Tasks!1:1, 0)), "*Design*", Tasks!E:E, "Open")
To get one row per option (for a list of every option with its count), split and flatten:
=QUERY(FLATTEN(ARRAYFORMULA(TRIM(SPLIT(FILTER(
INDEX(Tasks!A2:ZZ, 0, MATCH("Skills", Tasks!1:1, 0)),
INDEX(Tasks!A2:ZZ, 0, MATCH("Skills", Tasks!1:1, 0)) <> ""), ",")))),
"select Col1, count(Col1) where Col1 is not null group by Col1 order by count(Col1) desc label count(Col1) 'Tasks'", 0)
People fields (such as Reviewer) work the same way: names, separated by commas.
Fields over time (needs a history)
With Rowsmith Pro's daily snapshots, the tab named after the project plus · history keeps one copy of every task per day: the date in column A (text, YYYY-MM-DD) followed by the same columns, so every column is one letter further right and the custom fields start at Q. The MATCH pattern still works because the header row has the same names. Open high-priority tasks per day, with the day list in A2 of a new tab (=SORT(UNIQUE(FILTER('Tasks · history'!A2:A, 'Tasks · history'!A2:A <> "")))) and in B2, filled down:
=COUNTIFS('Tasks · history'!A:A, A2, 'Tasks · history'!F:F, "Open",
INDEX('Tasks · history'!A:ZZ, 0, MATCH("Priority", 'Tasks · history'!1:1, 0)), "High")
Chart A:B as a line to see whether urgent work is piling up. For remaining estimate over time, use SUMIFS with the Estimate column instead; the burndown chart guide adds an ideal line.
Things to know
- Values are what Asana displays. Rowsmith writes each field's display value. Plain numbers become numbers in Sheets. A number field formatted in Asana as a percentage or currency may arrive with its symbol; Sheets usually recognises
$1,200and40%, but if a column lines up on the left it is text: wrap it asVALUE(…), or useSUMPRODUCT(VALUE(…))for totals. - Field names must match exactly in MATCH, including capitals and spaces. If MATCH returns
#N/A, copy the header from row 1 of the synced tab. - A field renamed in Asana keeps its column; the header updates on the next sync, so update the name in your formulas too.
- Subtasks are rows too and only have a value where someone filled it in. To report on top-level tasks only, add
Tasks!L:L, ""to each COUNTIFS and SUMIFS (L is Parent task). - Rowsmith only updates its own columns; formulas, extra columns to the right of the data and other tabs are left alone. See the help page.
- Per-person counts and an overdue list: Asana workload report. How long tasks take: Asana cycle time. Several projects on one page: multi-project dashboard. All the ways to get Asana data into Sheets: Asana to Google Sheets.