Contact

DGET in FreeOffice PlanMaker: Syntax and Worked Examples

Database Beginner SoftMaker FreeOffice PlanMaker 2024

Retrieve one matching database field, distinguish unique matches from duplicate records, and preserve exact criteria structure.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer

With the database and criteria below, =DGET(A10:D16,"Value",F1:F2) is expected to return 4, the Value for unique ID 2. DGET retrieves a field from a matching record; it does not add, average or choose arbitrarily among multiple matches.

The official help explicitly states that more than one matching value produces #NUM!. A unique-looking output field is not a substitute for criteria that identify one record.

Syntax and field selection

=DGET(DatabaseArea, Column, SearchCriteriaArea)

All three arguments are required. The first row of DatabaseArea contains field names. Column can be a quoted field label such as "Value" or a relative field number. In A10:D16, Value is field 3 even though it happens to be worksheet column C; relative field numbering starts at the left edge of the database.

SearchCriteriaArea is a range with its own field headings and conditions. It is not a quoted condition directly inside the function.

Build a headed database and criteria above it

Enter the following database in A10:D16, including its header row:

Row A: ID B: Region C: Value D: Status
10 ID Region Value Status
11 1 East 2 Open
12 2 East 4 Closed
13 3 East 6 Open
14 4 West 8 Open
15 5 West 0 Closed
16 6 South −2 Open

Create these small criteria blocks above the database, leaving the blocks separate:

Criteria range Header cells Condition cells Meaning
D1:D2 D1: Region D2: East East records
A1:B2 A1: Region; B1: Status A2: East; B2: Open East AND Open
F1:F2 F1: ID F2: numeric 2 Unique ID 2
H1:H3 H1: Region H2: East; H3: West East OR West
A5:A6 A5: Region A6: North No matching record
C5:C6 C5: Region C6: South One South record
E5:F6 E5: Value; F5: Value E6: >=0; F6: <=4 Value between 0 and 4 inclusive

Enter comparison criteria such as >=0 as cell content, not as a formula beginning with =. Header labels must correspond to the database fields. The repeated Value headings let two conditions apply to the same field in one criteria row.

The official database-function instructions require the criteria area to be above the database and not overlap it. Conditions on the same row combine with AND; separate criteria rows combine with OR. The database reference includes its headings; the criteria reference includes its own headings and the intended condition rows. Do not include an extra blank criteria row casually, because it changes the criteria structure.

Step-by-step: retrieve one record

  1. Confirm F1 contains ID and F2 contains numeric 2.
  2. Enter =DGET(A10:D16,"Value",F1:F2) outside the database and criteria.
  3. Expected result: 4 from row 12.
  4. Compare =DGET(A10:D16,3,F1:F2), also expected to return 4.
  5. Change only the selected field to Region: =DGET(A10:D16,"Region",F1:F2) is expected to return East.

The last example shows the difference between selecting a record and choosing a field within it. The criteria still select ID 2; the Column argument decides which value to retrieve.

Duplicate matches are a useful warning

=DGET(A10:D16,"Value",D1:D2) selects the three East records and is expected to return #NUM!. Narrowing the condition to East/Open still selects IDs 1 and 3, so =DGET(A10:D16,"Value",A1:B2) is also expected to return #NUM!.

Do not suppress that error merely to show a report value. It indicates that the query has not established the single record required for retrieval. Add an appropriate identifier or other conditions rather than assuming the first matching record will be chosen.

Practical use: keyed retrieval and missing records

DGET can support a small, structured report in which a criteria block selects one ID and the formula retrieves a named field. Keep the ID criteria visible and validate uniqueness in the source data. Repeated identifiers can turn a previously successful retrieval into a multiple-match error.

The South criterion selects one record whose Value is −2, so =DGET(A10:D16,"Value",C5:C6) is expected to return −2. A negative retrieved value is not an error in itself.

The North criterion selects no records. The cited function page does not specify the no-match error token; the native check below records #VALUE! for this case. Do not assume that a blank-looking result or zero means a record was found. Blank fields, Boolean fields and embedded errors also need separate checks before their behavior is generalized.

Maintenance and compatibility

If columns are reordered, a numeric field index can point to a different field. A field label can be clearer, but it depends on accurate, consistent headers. Keep database and criteria headings synchronized and inspect the selected records when a result is unexpected.

An identical function name in another spreadsheet does not establish identical criteria parsing, text matching or empty-result behavior. The examples use literal labels, a numeric ID and explicit ranges rather than unverified wildcard or case-sensitivity assumptions.

Native unique, multiple and missing matches

Seven DGET formulas were calculated in FreeOffice PlanMaker 2024 revision F1238.1005 using the exact database and criteria shown above. The outputs in screenshot row order were 4, 4, East, #NUM!, #VALUE!, −2 and #NUM!. The missing North record returned #VALUE!, while the multi-record East and East/Open selections returned #NUM!. The text field for unique ID 2 was retained as text. All formulas and typed inputs survived native PMDX save and reopen. These observations do not establish behavior for blank or Boolean return fields.

DGET database results in FreeOffice PlanMaker 2024

Selected J10 shows the unique-ID Value result 4. J12 contains the text East; J13 and J16 show multiple-match #NUM!, while J14 shows the no-match #VALUE! result. The criteria remain above the database, including the East/West OR block in H1:H3; results occupy J10:J16 outside both input areas.

Version and verification scope

The official FreeOffice PlanMaker 2024 reference was checked October 18, 2026. The installed application is FreeOffice PlanMaker 2024 revision F1238.1005. The original introduction version is not established by this evidence; the current reference does not identify the function as deprecated or retired. No availability claim for a different edition or a 2026 release is implied.

The native section reports the exact tested subset and results from revision F1238.1005 after native PMDX save and reopen. Independent arithmetic is distinguished from saved observations. No Excel-export test was performed. English formulas in this guide use commas; use the separators required by your formula settings.