You can put a dividend ex-date in Google Sheets simply by typing it into a cell, but the date only stays useful if the cell is formatted as a date (not plain text) so that sorting, filtering and calendar formulas work correctly. The short version: select the cell, type the date in your locale's short format such as 12/5/2026 or 5/12/2026, press Enter, then confirm the format via Format > Number > Date. If Sheets keeps flipping the day and month, set the locale first. Everything below covers that path plus the tracking setup that makes ex-dates actually useful for a dividend portfolio.
What You'll Need
- A Google account and a spreadsheet in Google Sheets (web or the mobile app).
- The ex-dividend date for each holding, taken from the company's investor relations page, your broker's dividend schedule, or an exchange listing. Do not guess it.
- A known date order: whether your region writes dates as day/month/year or month/day/year. This decides whether you type
5/12/2026or12/5/2026. - Optionally, a separate column for the pay date and one for the amount per share, so the ex-date has context.
- For anyone reading the sheet on a phone, the Google Sheets app installed from the official app store.
Step-by-Step
- Set the spreadsheet locale first. Open the file and go to File > Settings. Under the General tab, check the Locale. If it is set to a country that writes dates differently from what you will type, change it and save. This single setting prevents most of the day/month confusion that follows. Menu labels can vary slightly by version, device and region, but the locale option lives in this settings dialog on both desktop and mobile.
- Label your columns. In row 1, put headings such as Ticker, Ex-Date, Pay Date, Amount per Share, Shares and Estimated Payment. Naming the columns now means filtering and sorting later will not leave orphaned data.
- Type the date into the ex-date cell. Click the first empty cell under Ex-Date and enter the date using the short numeric form that matches your locale, for example
12/5/2026. Press Enter. If the value jumps to the left side of the cell, it was stored as text, not a date. - Force the date format. Select the column (click the letter at the top) and choose Format > Number > Date. Alternatively use Format > Number > Custom date and time and pick a pattern such as
YYYY-MM-DD. A year-first format avoids all ambiguity if you ever share the sheet across countries. - Check the alignment. Real dates in Google Sheets align to the right by default and can be used in arithmetic. Text stays left. If your entry sits on the left, redo it as described in Troubleshooting rather than fighting the formatting.
- Copy the format down the column. Select the cell you just formatted, copy it, select the cells below, and use Edit > Paste special > Paste format only. Now new entries inherit the date format automatically.
- Add the pay date the same way. Repeat steps 3 to 5 in the Pay Date column so both dates behave identically. Keeping them separate matters because the ex-date and the pay date are usually weeks apart.
- Calculate days until the ex-date. In a new column, enter
=A2-TODAY(), replacing A2 with your actual ex-date cell. Format that column as a plain number (Format > Number > Number). It will now show how many days remain, or a negative number if the date has passed. - Sort or filter by ex-date. Select your data range and use Data > Create a filter, then click the filter icon in the Ex-Date header and sort A to Z. Because the values are true dates, they sort chronologically rather than alphabetically.
- Highlight upcoming dates (optional). Select the ex-date range and open Format > Conditional formatting. Choose Date is and in the next 30 days, then pick a fill colour. You now have a visual reminder of what is coming up.
- Sync to a calendar if you want reminders (optional). Google Sheets does not push dates into Google Calendar on its own, so either re-enter the key dates in Calendar or use a third-party add-on from the Google Workspace Marketplace. Test any add-on on a copy of the sheet before trusting it with your main file.
- Keep a source note. In a spare column, record where each date came from and the date you checked it. Dividend schedules get revised, and a note saves you re-researching everything.
Common Mistakes
- Typing a date that Sheets reads as text. Values like
Dec 5thor5.12.26are often stored as strings. They look fine but break sorting and formulas. - Ignoring the locale. In a day-first locale,
05/12/2026means 5 December; in a month-first locale it means 12 May. Mixing the two silently reverses months and days for any day up to the 12th. - Confusing the ex-date with the pay date or the record date. The ex-date is the first day the stock trades without the right to the coming dividend, and it is normally one business day before the record date. The pay date is when cash arrives. Putting the wrong one in the column gives a false picture of your schedule.
- Using two-digit years.
12/5/26is ambiguous and easy to misread. Use four digits. - Formatting individual cells instead of the column. New rows then revert to whatever the default is, and the column ends up mixed.
- Pasting dates from a website without checking them. Web tables often carry hidden characters. Use Edit > Paste special > Paste values only, then re-apply the date format.
Tips
- Store dates as the real date value and put notes in a separate column. Never hide commentary inside the date cell.
- Use
YYYY-MM-DDif you share the sheet with people in other regions; it cannot be misread. - Add a helper column with
=TEXT(B2,"ddd")to see the weekday, which helps spot ex-dates that fall on a weekend and will therefore move. - Keep a ticker column and use Data > Sort range with a header row ticked so you can reorder without breaking rows.
- Freeze the header row via View > Freeze > 1 row so headings stay visible as the list grows.
- If you maintain several portfolios, put each in its own tab and reference the date cells from a summary tab instead of retyping.
Troubleshooting
The date stays left-aligned and will not sort. It is stored as text. Select the cell, choose Format > Number > Date, and if nothing changes, retype the value. A leading apostrophe before the date forces text, so delete it.
The day and month are swapped. Check File > Settings > Locale. Change it to your region, save, then re-enter the dates. Existing text entries will not correct themselves; they must be retyped.
The cell shows a row of hash marks. The column is too narrow. Drag the column border to widen it, or use Format > Number > Automatic.
The formula shows a strange number like 46000. That column is formatted as a date instead of a number. Apply Format > Number > Number.
The minus formula errors out. One of the two cells is text rather than a date. Test each with =ISNUMBER(B2), which returns TRUE only for a genuine date.
Edits made on the phone do not appear on desktop. Confirm you are signed into the same account and that the file is saved in Drive rather than as an offline copy. Check the sync status icon in the Sheets app.
Frequently Asked Questions
What is an ex-dividend date exactly?
It is the cut-off date for entitlement. If you buy on or after the ex-date, you generally do not receive the declared dividend for that period; the seller does. It usually falls one business day before the record date.
Can Google Sheets pull dividend dates automatically?
Not natively. Sheets has no built-in dividend calendar function, and the finance functions that do exist return price data rather than a full dividend schedule. Enter dates manually or use a Marketplace add-on, and verify anything it fills in.
Why does my ex-date change after I type it?
Sheets is reinterpreting the numbers according to the spreadsheet locale. Set the locale to match how you type, then re-enter the value.
Should I use the ex-date or the pay date for planning?
Both, in separate columns. The ex-date tells you the ownership deadline; the pay date tells you when the cash lands. Tracking only one gives an incomplete schedule.
Does the format affect other people opening my sheet?
Formatting travels with the file, but their locale settings can still change how dates display on their screen. A year-first format is the safest choice for shared files.
Can I sort by ex-date and keep rows intact?
Yes, if you select the whole data range including every column, then use Data > Sort range with the header option enabled. Sorting a single column alone scrambles your rows.