XML 46 R34.htm IDEA: XBRL DOCUMENT
v3.21.1

SEGMENT REPORTING (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2021
Segment Results [Member] |
SEGMENT REPORTING (Tables) [Line Items] |
Schedule of Segment Reporting Information, by Segment [Table Text Block] | The following tables summarize segment and other results and assets (amounts in thousands):
|  | Fiscal Year |
|  | 2020 |  |  | 2019 |  |  | 2018 |
Net sales and revenue: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 372,664 |  |  | $ | 417,700 |  |  | $ | 485,885 |
Refined coal 1 |  |  | 182 |  |  |  | 334 |  |  |  | 786 |
Total net sales and revenue |  | $ | 372,846 |  |  | $ | 418,034 |  |  | $ | 486,671 |
Segment gross profit (loss): |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 19,533 |  |  | $ | 20,402 |  |  | $ | 43,856 |
Refined coal |  |  | (5,672) |  |  |  | (7,917) |  |  |  | (13,641) |
Total gross profit |  | $ | 13,861 |  |  | $ | 12,485 |  |  | $ | 30,215 |
(Loss) income before income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 6,696 |  |  | $ | 8,469 |  |  | $ | 31,545 |
Refined coal |  |  | (5,826) |  |  |  | (7,778) |  |  |  | (15,204) |
Corporate and other |  |  | (2,352) |  |  |  | (1,860) |  |  |  | (1,753) |
Total (loss) income before income taxes |  | $ | (1,482) |  |  | $ | (1,169) |  |  | $ | 14,588 |
Benefit (provision) for income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | (31) |  |  | $ | 1,528 |  |  | $ | (2,343) |
Refined coal |  |  | 6,554 |  |  |  | 10,828 |  |  |  | 24,674 |
Corporate and other |  |  | 577 |  |  |  | 457 |  |  |  | 591 |
Total benefit for income taxes |  | $ | 7,100 |  |  | $ | 12,813 |  |  | $ | 22,922 |
Net income attributable to REX common shareholders: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 3,788 |  |  | $ | 5,439 |  |  | $ | 23,346 |
Refined coal |  |  | 988 |  |  |  | 3,391 |  |  |  | 10,148 |
Corporate and other |  |  | (1,775) |  |  |  | (1,403) |  |  |  | (1,849) |
Net income attributable to REX common shareholders |  | $ | 3,001 |  |  | $ | 7,427 |  |  | $ | 31,645 |
1 Sales in the refined coal segment are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal is sold.
|  | Fiscal Year |
|  | 2020 |  |  | 2019 |  |  | 2018 |
Sales of products, ethanol and by-products segment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol |  | $ | 284,191 |  |  | $ | 321,434 |  |  | $ | 368,319 |
Dried distillers grains |  |  | 71,774 |  |  |  | 71,755 |  |  |  | 85,417 |
Non-food grade corn oil |  |  | 15,066 |  |  |  | 17,135 |  |  |  | 20,097 |
Modified distillers grains |  |  | 2,626 |  |  |  | 7,240 |  |  |  | 11,950 |
Derivative financial instruments losses |  |  | (1,167) |  |  |  | - |  |  |  | - |
Other |  |  | 174 |  |  |  | 136 |  |  |  | 102 |
Total sales |  | $ | 372,664 |  |  | $ | 417,700 |  |  | $ | 485,885 |
Sales of products, refined coal segment: |  |  |  |  |  |  |  |  |  |  |  |
Refined coal |  | $ | 182 |  |  | $ | 334 |  |  | $ | 786 |
Interest income: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 675 |  |  | $ | 2,949 |  |  | $ | 2,460 |
Refined coal |  |  | - |  |  |  | - |  |  |  | - |
Corporate and other |  |  | 289 |  |  |  | 1,171 |  |  |  | 1,054 |
Total interest income |  | $ | 964 |  |  | $ | 4,120 |  |  | $ | 3,514 |
Depreciation expense: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 18,081 |  |  | $ | 20,182 |  |  | $ | 22,004 |
Refined coal |  |  | 2,790 |  |  |  | 2,790 |  |  |  | 2,784 |
Corporate and other |  |  | 35 |  |  |  | 35 |  |  |  | 40 |
Total depreciation expense |  | $ | 20,906 |  |  | $ | 23,007 |  |  | $ | 24,828 |
Equity in income of unconsolidated affiliates: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 500 |  |  | $ | 1,392 |  |  | $ | 1,536 |
Refined coal |  |  | - |  |  |  | - |  |  |  | - |
Corporate and other |  |  | - |  |  |  | - |  |  |  | - |
Total equity in income of unconsolidated affiliates |  | $ | 500 |  |  | $ | 1,392 |  |  | $ | 1,536 |
Segment Assets [Member] |
SEGMENT REPORTING (Tables) [Line Items] |
Schedule of Segment Reporting Information, by Segment [Table Text Block] |
|  | January 31, |
Assets: |  | 2021 |  |  | 2020 |
Ethanol and by-products |  | $ | 397,281 |  |  | $ | 408,746 |
Refined coal |  |  | 2,861 |  |  |  | 6,101 |
Corporate and other |  |  | 79,203 |  |  |  | 85,655 |
Total assets |  | $ | 479,345 |  |  | $ | 500,502 |
Additions to property and equipment: |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 10,409 |  |  | $ | 3,776 |
Refined coal |  |  | - |  |  |  | - |
Corporate and other |  |  | 3 |  |  |  | - |
Total additions to property and equipment |  | $ | 10,412 |  |  | $ | 3,776 |

X
- References No definition available. + Details
Name: | rex_SEGMENTREPORTINGTablesLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 + Details
Name: | us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=rex_SegmentResultsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=rex_SegmentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |