- Writing a
=CBMfunction from scratch - Using the Query Builder
- Downloading a pre-built template from the Template Library
Writing a CBM Function
The add-in introduces a single Excel function:=CBM.
| Parameter | Required | Description |
|---|---|---|
| Field | Yes | Data field to return — short name (e.g. CB_ID) or full path (e.g. CB.CBQuorate.CBID) |
| Filter | Yes | Rules specifying what data to return — a specific entity or broader list |
| Sort | No | Order of results (e.g. CB_Notch asc) |
| Grouping | No | For aggregate data only — how to group results (e.g. by country or sector) |
| Rank | No | Rank order required (e.g. 1 for first result) |
| DateRank | No | Relative date: 0 = latest, 1 = previous month, etc. Defaults to latest |
Query Builder
The Query Builder lets you build CB data queries without writing a formula directly.- Choose a data source — Client (your internal data), Entity Level (CB quorate or all), or Aggregate
- Select fields — credit risk metrics, reference identifiers, and more
- Apply filters — restrict results to entities or criteria you care about
Template Library
Download pre-built Excel files built on the=CBM function, including a comprehensive user guide. CB can also help build custom templates — contact support@creditbenchmark.com.
Support
- Technical Reference — detailed function documentation
- Installation Guide — setup help
- support@creditbenchmark.com — direct support

