XML 55 R40.htm IDEA: XBRL DOCUMENT
v3.8.0.1

SEGMENT REPORTING (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2018
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 |
|  | 2017 |  |  | 2016 |  |  | 2015 |
Net sales and revenue: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 452,153 |  |  | $ | 453,799 |  |  | $ | 436,488 |
Refined coal 1 |  |  | 433 |  |  |  | — |  |  |  | — |
Total net sales and revenue |  | $ | 452,586 |  |  | $ | 453,799 |  |  | $ | 436,488 |
Segment gross profit (loss): |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 51,509 |  |  | $ | 71,039 |  |  | $ | 50,834 |
Refined coal |  |  | (7,348 | ) |  |  | — |  |  |  | — |
Total gross profit |  | $ | 44,161 |  |  | $ | 71,039 |  |  | $ | 50,834 |
Income (loss) before income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 38,352 |  |  | $ | 59,447 |  |  | $ | 53,469 |
Refined coal |  |  | (10,021 | ) |  |  | — |  |  |  | — |
Corporate and other |  |  | (2,938 | ) |  |  | (2,536 | ) |  |  | (1,951 | )
Total income (loss) before income taxes |  | $ | 25,393 |  |  | $ | 56,911 |  |  | $ | 51,518 |
Benefit (provision) for income taxes: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 3,245 |  |  | $ | (18,259 | ) |  | $ | (14,690 | )
Refined coal |  |  | 15,168 |  |  |  | — |  |  |  | — |
Corporate and other |  |  | 1,106 |  |  |  | 866 |  |  |  | 582 |
Total benefit (provision) for income taxes |  | $ | 19,519 |  |  | $ | (17,393 | ) |  | $ | (14,108 | )
Segment profit (loss): |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 35,880 |  |  | $ | 33,950 |  |  | $ | 32,734 |
Refined coal |  |  | 5,628 |  |  |  | — |  |  |  | — |
Corporate and other |  |  | (1,802 | ) |  |  | (1,617 | ) |  |  | (1,298 | )
Net income attributable to REX common shareholders |  | $ | 39,706 |  |  | $ | 32,333 |  |  | $ | 31,436 |
|  | Fiscal Year |
|  | 2017 |  |  | 2016 |  |  | 2015 |
Sales of products, ethanol and by-products segment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol |  | $ | 359,239 |  |  | $ | 358,349 |  |  | $ | 333,200 |
Dried distillers grains |  |  | 63,120 |  |  |  | 71,204 |  |  |  | 81,116 |
Non-food grade corn oil |  |  | 21,195 |  |  |  | 18,518 |  |  |  | 15,510 |
Modified distillers grains |  |  | 8,525 |  |  |  | 5,326 |  |  |  | 5,999 |
Other |  |  | 74 |  |  |  | 402 |  |  |  | 663 |
Total sales |  | $ | 452,153 |  |  | $ | 453,799 |  |  | $ | 436,488 |
Sales of products, refined coal segment: |  |  |  |  |  |  |  |  |  |  |  |
Refined coal |  | $ | 433 |  |  | $ | — |  |  | $ | — |
Interest income: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 878 |  |  | $ | 212 |  |  | $ | 176 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | 678 |  |  |  | 222 |  |  |  | 205 |
Total interest income |  | $ | 1,556 |  |  | $ | 434 |  |  | $ | 381 |
Depreciation expense: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 20,037 |  |  | $ | 19,464 |  |  | $ | 18,559 |
Refined coal |  |  | 1,385 |  |  |  | — |  |  |  | — |
Corporate and other |  |  | 40 |  |  |  | 55 |  |  |  | 79 |
Total depreciation expense |  | $ | 21,462 |  |  | $ | 19,519 |  |  | $ | 18,638 |
Equity in income of unconsolidated affiliates: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 3,232 |  |  | $ | 6,144 |  |  | $ | 8,984 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total equity in income of unconsolidated affiliates |  | $ | 3,232 |  |  | $ | 6,144 |  |  | $ | 8,984 |
(Loss) gain on sale of investment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | (13 | ) |  | $ | 192 |  |  | $ | 10,385 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total gain on sale of investment |  | $ | (13 | ) |  | $ | 192 |  |  | $ | 10,385 |
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.
Assets [Member] |
SEGMENT REPORTING (Tables) [Line Items] |
Schedule of Segment Reporting Information, by Segment [Table Text Block] |
|  | January 31, |
Assets: |  | 2018 |  |  | 2017 |  |  | 2016 |
Ethanol and by-products |  | $ | 384,997 |  |  | $ | 371,464 |  |  | $ | 348,779 |
Refined coal |  |  | 12,165 |  |  |  | — |  |  |  | — |
Corporate and other |  |  | 81,702 |  |  |  | 82,560 |  |  |  | 65,906 |
Total assets |  | $ | 478,864 |  |  | $ | 454,024 |  |  | $ | 414,685 |
Additions to other long lived assets: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 796 |  |  | $ | 832 |  |  | $ | 696 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total additions to other long lived assets |  | $ | 796 |  |  | $ | 832 |  |  | $ | 696 |
Additions to property and equipment: |  |  |  |  |  |  |  |  |  |  |  |
Ethanol and by-products |  | $ | 24,017 |  |  | $ | 14,208 |  |  | $ | 15,495 |
Refined coal |  |  | — |  |  |  | — |  |  |  | — |
Corporate and other |  |  | — |  |  |  | — |  |  |  | — |
Total additions to property and equipment |  | $ | 24,017 |  |  | $ | 14,208 |  |  | $ | 15,495 |

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -URI http://asc.fasb.org/extlink&oid=68060357&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=68060357&loc=d3e8813-108599 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=68060357&loc=d3e8721-108599 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=68060357&loc=d3e8736-108599 + Details
Name: | us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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