Fetch corresponding data value

maikeyjohn

Board Regular
Joined
Oct 7, 2013
Messages
66
Hi i need to fetch corresponding data value from a data set which is spread across the sheet
horizontally as well vertically. i need the net sales and net profit figures to fetched to a different worksheet/book. i have quarterly data horizontally and yearly data vertically. Below is a table in a horizontal manner. need your help to do it to automate or less-time-consuming

output required as:
period 6-30-2000 9-30-2000
net sales ........ ............
net profit ....... ............

[TABLE="width: 275"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Un-Audited[/TD]
[/TR]
[TR]
[TD]Date Begin[/TD]
[TD]4-1-2000[/TD]
[/TR]
[TR]
[TD]Date End[/TD]
[TD]6-30-2000[/TD]
[/TR]
[TR]
[TD]Description[/TD]
[TD]Amount (Rs. million)[/TD]
[/TR]
[TR]
[TD]Net Sales[/TD]
[TD]17282.7[/TD]
[/TR]
[TR]
[TD]Other Income[/TD]
[TD]155.3[/TD]
[/TR]
[TR]
[TD]Total Income[/TD]
[TD]17438[/TD]
[/TR]
[TR]
[TD]Expenditure[/TD]
[TD]-13705.3[/TD]
[/TR]
[TR]
[TD]Interest[/TD]
[TD]-1031.1[/TD]
[/TR]
[TR]
[TD]Gross Profit[/TD]
[TD]2701.6[/TD]
[/TR]
[TR]
[TD]Depreciation[/TD]
[TD]-1121.5[/TD]
[/TR]
[TR]
[TD]Profit before Tax[/TD]
[TD]1580.1[/TD]
[/TR]
[TR]
[TD]Tax[/TD]
[TD]-91.2[/TD]
[/TR]
[TR]
[TD]Extraordinary Items[/TD]
[TD]-474.9[/TD]
[/TR]
[TR]
[TD]Net Profit[/TD]
[TD]1014[/TD]
[/TR]
[TR]
[TD]Equity Capital[/TD]
[TD]3679.7[/TD]
[/TR]
[TR]
[TD]Result Type[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



[TABLE="width: 275"]
<tbody>[TR]
[TD][TABLE="width: 275"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Un-Audited[/TD]
[/TR]
[TR]
[TD]Date Begin[/TD]
[TD]4-1-2001[/TD]
[/TR]
[TR]
[TD]Date End[/TD]
[TD]6-30-2001[/TD]
[/TR]
[TR]
[TD]Description[/TD]
[TD]Amount (Rs. million)[/TD]
[/TR]
[TR]
[TD]Gross Sales[/TD]
[TD]16114.1[/TD]
[/TR]
[TR]
[TD]Excise Duty[/TD]
[TD]-2067.7[/TD]
[/TR]
[TR]
[TD]Net Sales[/TD]
[TD]14046.4[/TD]
[/TR]
[TR]
[TD]Other Income[/TD]
[TD]58.9[/TD]
[/TR]
[TR]
[TD]Total Income[/TD]
[TD]14105.3[/TD]
[/TR]
[TR]
[TD]Expenditure[/TD]
[TD]-10947.6[/TD]
[/TR]
[TR]
[TD]Operating Profit[/TD]
[TD]3157.7[/TD]
[/TR]
[TR]
[TD]Interest[/TD]
[TD]-1145.7[/TD]
[/TR]
[TR]
[TD]Interest(Net)[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Gross Profit[/TD]
[TD]2012[/TD]
[/TR]
[TR]
[TD]Depreciation[/TD]
[TD]-1356.4[/TD]
[/TR]
[TR]
[TD]Profit before Tax[/TD]
[TD]655.6[/TD]
[/TR]
[TR]
[TD]Tax[/TD]
[TD]-2.7[/TD]
[/TR]
[TR]
[TD]Profit after Tax[/TD]
[TD]652.9[/TD]
[/TR]
[TR]
[TD]Extraordinary Items[/TD]
[TD]-447.6[/TD]
[/TR]
[TR]
[TD]Net Profit[/TD]
[TD]205.3[/TD]
[/TR]
[TR]
[TD]Equity Capital[/TD]
[TD]3679.7[/TD]
[/TR]
[TR]
[TD]Forex earnings/Exports[/TD]
[TD]1212.7[/TD]
[/TR]
[TR]
[TD]Basic And Diluted EPS after Extraordinary item[/TD]
[TD]0.5[/TD]
[/TR]
[TR]
[TD]Nos. of Shares - Non Promoters[/TD]
[TD]27,13,38,622.00[/TD]
[/TR]
[TR]
[TD]Percent of Shares - Non Promoters[/TD]
[TD]73.78[/TD]
[/TR]
[TR]
[TD]Result Type[/TD]
[TD]Q[/TD]
[/TR]
[TR]
[TD]Notes[/TD]
[TD]Notes[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
it has same respective values but of different quarters namely, 9-30-2000 , 12-31-2000 and 3-31-2001
same for other data sets as well

quarterly data horizontally and yearly data vertically
 
Upvote 0
Formula in H2 copied down and across:


Excel 2010
ABCDEFGHI
1TypeUn-AuditedUn-AuditedUn-AuditedUn-AuditedPeriod06-30-200009-30-2001
2Date Begin04-01-200007-01-200010-01-200001-01-2001Net Sales100007000
3Date End06-30-200009-30-200012-31-200003-31-2001Net Profit1000300
4Net Sales10000110001200013000
5Net Profit1000110012001300
6
7TypeUn-AuditedUn-AuditedUn-AuditedUn-Audited
8Date Begin04-01-200107-01-200110-01-200101-01-2002
9Date End06-30-200109-30-200112-31-200103-31-2002
10Net Sales6000700080009000
11Net Profit200300400500
Sheet1
Cell Formulas
RangeFormula
H2=INDEX(INDEX($B:$E,MATCH(H$1,INDEX($B:$E,0,MONTH(H$1-92)/3),FALSE),MONTH(H$1-92)/3):INDEX($B$1000:$E$1000,MONTH(H$1-92)/3),MATCH($G2,INDEX($A:$A,MATCH(H$1,INDEX($B:$E,0,MONTH(H$1-92)/3),FALSE)):$A$1000,FALSE))
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,127
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top