Excel Add-in Coming Soon
Calculate U.S. surplus lines taxes directly in Microsoft Excel with custom functions. Use formulas like =SLTAX.CALCULATE("Texas", 10000) just like native Excel functions!
π Office 365 & Excel for Web
Works with Excel 2016+, Excel for Web, and Microsoft 365. Type formulas in any cell and get instant resultsβno VBA or macros required!
Pre-configured workbook with all functions + 100 free calculations included
Key Features
β¨ Native Excel Experience
Autocomplete, formula bar, and works just like SUM or VLOOKUP
π 53 Jurisdictions
All 50 states + DC + Puerto Rico + Virgin Islands
π Historical Rates
Look up rates from any date for auditing
β‘ Real-time API
Always current rates, updated automatically
Requirements
| Requirement | Details |
|---|---|
| Excel Version | Excel 2016+, Excel for Web, or Microsoft 365 |
| Platform | Windows, Mac, or Web browser |
| API Key | Free account at app.surpluslinesapi.com |
| Internet | Required for API calls |
Installation
π Coming Soon to Office Store
The Excel Add-in is currently in development. Sign up for our newsletter to be notified when it's available!
Option 1: Office Store (Coming Soon)
- Open Excel
- Go to Insert β Add-ins β Get Add-ins
- Search for "Surplus Lines Tax"
- Click Add
Option 2: Sideload for Testing
- Download the
manifest.xmlfile from our GitHub repository - Open Excel
- Go to Insert β Add-ins β My Add-ins
- Click Upload My Add-in
- Select the
manifest.xmlfile - Click Upload
Configuration
Step 1: Get Your API Key
- Go to app.surpluslinesapi.com
- Sign in or create an account
- Copy your API key from the dashboard
Step 2: Configure the Add-in
- Click the Surplus Lines Tax button in the ribbon (Home tab)
- Paste your API key in the Settings panel
- Click Save API Key
Step 3: Start Using!
Type a formula in any cell:
=SLTAX.CALCULATE("Texas", 10000)
Result: 503
Function: SLTAX.CALCULATE
Calculate the total surplus lines tax for a given state and premium amount.
=SLTAX.CALCULATE(state, premium)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code (e.g., "Texas" or "TX", "California" or "CA") |
premium |
Number | Yes | Premium amount in USD |
Returns
Total tax amount (number). The API response also includes state_code (2-letter abbreviation like "TX").
Example
=SLTAX.CALCULATE("Texas", 10000)
β 503
=SLTAX.CALCULATE("TX", 10000)
β 503 (state codes also work!)
=SLTAX.CALCULATE(A2, B2)
β Calculates using values from cells A2 and B2
Function: SLTAX.CALCULATE_DETAILS
Get a detailed breakdown including state, premium, total tax, and total due. Returns 4 values that spill to adjacent cells.
=SLTAX.CALCULATE_DETAILS(state, premium, [multiline])
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code |
premium |
Number | Yes | Premium amount in USD |
multiline |
Boolean | No | If TRUE, returns data vertically (1 column). Default: FALSE (horizontal) |
Returns
Array with: [state, premium, total_tax, total_due]
Example
=SLTAX.CALCULATE_DETAILS("California", 10000)
β California | 10000 | 318 | 10318
=SLTAX.CALCULATE_DETAILS("California", 10000, TRUE)
β Returns vertically (4 rows Γ 1 column)
Function: SLTAX.RATE
Get the current tax rate percentage for a specific state.
=SLTAX.RATE(state)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code (e.g., "California" or "CA") |
Returns
Tax rate as a percentage (e.g., 3 for 3%). Response includes state_code.
Example
=SLTAX.RATE("California")
β 3
=SLTAX.RATE("TX")
β 4.85 (state codes work!)
Function: SLTAX.RATES
Get tax rates for all 53 states. Returns a 2-column array with state names and rates.
=SLTAX.RATES()
Returns
2-column array: [state, rate] for each jurisdiction (53 rows Γ 2 columns)
Example Output
=SLTAX.RATES()
Returns (fills 53 rows Γ 2 columns):
| State | Rate |
|---------------|-------|
| Alabama | 6 |
| Alaska | 2.7 |
| Arizona | 3 |
| ... | ... |
| Texas | 4.85 |
| ... | ... |
| Wyoming | 3 |
Function: SLTAX.RATES_DETAILS
Get detailed tax rate information for all states including all fee components. Returns an 11-column array.
=SLTAX.RATES_DETAILS()
Returns
11-column array with complete fee breakdown for each state (53 rows Γ 11 columns):
- State, Tax Rate, Stamping Fee, Filing Fee, Service Fee
- Surcharge, Regulatory Fee, Fire Marshal Tax, SLAS Fee
- Flat Fee, Legislative Source
Example
=SLTAX.RATES_DETAILS()
Returns (fills 53 rows Γ 11 columns):
| State | Tax Rate | Stamping | Filing | Service | ... |
|--------|----------|----------|--------|---------|-----|
| Alabama| 6% | 0.1% | $10 | null | ... |
| ... | ... | ... | ... | ... | ... |
Function: SLTAX.STATES
Get a list of all 53 supported jurisdictions. Returns a vertical array.
=SLTAX.STATES()
Returns
Vertical array of 53 state names (one per cell)
Example Output
=SLTAX.STATES()
Returns (fills 53 rows Γ 1 column):
| State |
|---------------|
| Alabama |
| Alaska |
| Arizona |
| ... |
| Texas |
| ... |
| Wyoming |
Function: SLTAX.HISTORICALRATE
Get the tax rate that was in effect for a specific state on a given date. Useful for auditing past policies.
=SLTAX.HISTORICALRATE(state, date)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code (e.g., "Iowa" or "IA") |
date |
Text/Date | Yes | Date in YYYY-MM-DD format or Excel date |
Example
=SLTAX.HISTORICALRATE("Iowa", "2025-06-15")
β 0.95
=SLTAX.HISTORICALRATE("IA", "2025-06-15")
β 0.95 (state codes work!)
Function: SLTAX.HISTORICALRATE_DETAILS
Get detailed historical tax rate information for a specific state and date, including all fee components and effective dates.
=SLTAX.HISTORICALRATE_DETAILS(state, date, [multiline])
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code |
date |
Text/Date | Yes | Date in YYYY-MM-DD format or Excel date |
multiline |
Boolean | No | If TRUE, returns data vertically (15 rows). Default: FALSE (horizontal) |
Returns
15-column array with: state, date, tax_rate, stamping_fee, filing_fee, service_fee, surcharge, regulatory_fee, fire_marshal_tax, slas_clearinghouse_fee, flat_fee, effective_from, effective_to, legislative_source, confidence
Example
=SLTAX.HISTORICALRATE_DETAILS("Texas", "2024-01-01")
β Texas | 2024-01-01 | 4.85% | 0.18% | ... (15 columns)
=SLTAX.HISTORICALRATE_DETAILS("Texas", "2024-01-01", TRUE)
β Returns vertically with labels (15 rows Γ 1 column):
State: Texas
Date: 2024-01-01
Tax Rate: 4.85%
...
Test Template
Download our pre-configured Excel workbook to quickly test all functions. The template includes 5 worksheets with example formulas.
What's Included
- Calculator Sheet β Tax calculations with SLTAX.CALCULATE, CALCULATE_DETAILS, and CALCULATE_WITHPREMIUM
- Rates Sheet β Single state rate lookups and complete rates table
- All States Sheet β Complete list of 53 jurisdictions
- Detailed Rates Sheet β Full fee breakdown with SLTAX.RATES_DETAILS
- Historical Sheet β Historical rate lookups with SLTAX.HISTORICALRATE and HISTORICALRATE_DETAILS
Quick Start
- Download the template above
- Install the Surplus Lines Tax Add-in (see Installation)
- Configure your API key
- Open the templateβformulas will calculate automatically!
Usage Examples
Simple Tax Calculation
| A | B | C |
|---|---|---|
| State | Premium | Tax |
| Texas | 10000 | =SLTAX.CALCULATE(A2, B2) |
| California | 25000 | =SLTAX.CALCULATE(A3, B3) |
Detailed Breakdown
=SLTAX.CALCULATE_DETAILS("California", 10000)
Results in 4 cells:
| California | 10000 | 318 | 10318 |
Create a Rate Reference Table
=SLTAX.RATES()
Automatically fills a 53-row, 2-column table with all states and their rates.
Troubleshooting
"API key not configured"
Open the Settings panel (click the Surplus Lines Tax button in the ribbon) and enter your API key.
Functions not appearing
- Make sure the add-in is loaded (check Insert β Add-ins)
- Try restarting Excel
- Type
=SLTAX.and check if autocomplete appears
"#VALUE!" error
Check that:
- State name is valid (use full names like "Texas" or 2-letter codes like "TX")
- Premium is a positive number
- You have API credits remaining
FAQ
Does it work on Mac?
Yes! The add-in works on Excel for Mac, Windows, and Web.
Do I need a Microsoft 365 subscription?
The add-in works with Excel 2016 or later, including standalone versions. Microsoft 365 is not required but recommended for the best experience.
How is this different from Google Sheets?
This is a native Excel add-in with proper custom functions (like built-in Excel functions). Google Sheets uses Apps Script. Both provide the same calculation functionality.
Can I use state abbreviations?
Yes! You can use either full state names (e.g., "Texas") or 2-letter state codes (e.g., "TX"). Both formats work in all functions.
Pricing
- 100 free calculations included when you sign up
- $0.38 per calculation after free tier
- $18/month minimum for active accounts
- $50 initial deposit (credited to your balance)
- Add credits anytime at app.surpluslinesapi.com