<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>028 - Disclosure - Inventory (Tables)</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>Context_FYE__30-Jun-2013</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001362718</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2012-07-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>us-gaap_InventoryDisclosureAbstract</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Inventory [Abstract]</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>us-gaap_ScheduleOfInventoryCurrentTableTextBlock</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>verboseLabel</PreferredLabelRole><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="Context_FYE__30-Jun-2013" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;div align="justify" style="color: #000000; font-family: 'times new roman'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0pt; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: block; margin-left: 27pt; margin-right: 0pt;"&gt;&amp;#160;&lt;/div&gt;
&lt;div align="justify" style="color: #000000; font-family: 'times new roman'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0pt; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; display: block; margin-left: 27pt; margin-right: 0pt;"&gt;
&lt;div align="left"&gt;
&lt;table style="width: 90%; font-family: 'times new roman'; font-size: 10pt;" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td width="66%" valign="bottom" style="padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="10%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: center;" colspan="2"&gt;
&lt;div style="text-align: center; text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 0pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&lt;font style="display: inline;"&gt;June 30, 2013&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="10%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: center;" colspan="2"&gt;
&lt;div style="text-align: center; text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 0pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&lt;font style="display: inline;"&gt;June 30, 2012&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt; font-weight: bold;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="66%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="10%" valign="bottom" colspan="2"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="10%" valign="bottom" colspan="2"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#cceeff"&gt;
&lt;td align="left" width="66%" valign="bottom"&gt;
&lt;div align="left" style="text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 12.6pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;Raw materials&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;748,296&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;931,768&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="white"&gt;
&lt;td align="left" width="66%" valign="bottom"&gt;
&lt;div align="left" style="text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 12.6pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;Packaging supplies&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;369,143&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;460,198&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr
 bgcolor="#cceeff"&gt;
&lt;td align="left" width="66%" valign="bottom"&gt;
&lt;div align="left" style="text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 12.6pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;Work in process&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;1,871,093&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;2,243,517&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="white"&gt;
&lt;td align="left" width="66%" valign="bottom" style="padding-bottom: 2px;"&gt;
&lt;div align="left" style="text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 12.6pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;Finished goods&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&lt;font style="display: inline;"&gt;3,047,482&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 2px; border-bottom-style: solid; text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&lt;font style="display: inline;"&gt;2,227,530&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 2px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#cceeff"&gt;
&lt;td align="left" width="66%" valign="bottom" style="padding-bottom: 4px;"&gt;
&lt;div align="left" style="text-indent: 0pt; display: block; margin-left: 0pt; margin-right: 12.6pt;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Total&lt;/font&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 4px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 4px; border-bottom-style: double; text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 4px; border-bottom-style: double; text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&lt;font style="display: inline;"&gt;6,036,014&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 4px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td align="left" width="1%" valign="bottom" style="padding-bottom: 4px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 4px; border-bottom-style: double; text-align: left;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;$&lt;/font&gt;&lt;/td&gt;
&lt;td width="9%" valign="bottom" style="border-bottom-color: black; border-bottom-width: 4px; border-bottom-style: double; text-align: right;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&lt;font style="display: inline;"&gt;5,863,013&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td width="1%" nowrap="nowrap" valign="bottom" style="text-align: left; padding-bottom: 4px;"&gt;&lt;font style="display: inline; font-family: 'times new roman'; font-size: 10pt;"&gt;&amp;#160;&lt;/font&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef

 -Publisher SEC

 -Name Regulation S-X (SX)

 -Number 210

 -Section 2

 -Paragraph 6

 -Subparagraph a,b,c

 -Article 5



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Schedule of inventory</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>Inventory (Tables)</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://www.tianyinpharma.com/role/InventoryTables</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
