finding data date wise

azii

Board Regular
Joined
May 26, 2011
Messages
80
Respected All
I have data in excel table 1 [e.g horizontally moving date wise and in between there are three companies (Fatima, Engro and Sona/ffc) ]
I need if I enter a date in a cell then data in shape of table 2 should be appear. I am stuck and couldn't find any way to solve it. please help me.


Table 1
Receiving Date 16-Nov-201226-Nov-2012 27-Dec- 201228-Feb-20135-Mar-201322-03-13
ParametersUnitFatimaFatima Fatima Fatima Fatima Fatima
Moisture% 0.180.11 0.140.25 0.220.21
Biuret% 0.970.97 1.121.03 0.911
Mesh Size
+2.80 mm% 2.56.5 2.1 2.0 5.73.8
+2.40 mm% 16.417.5 14.0 13.6 17.720.4
+2.00 mm% 46.739.4 46.7 45.8 40.244.1
+1.70 mm% 25.331.1 29.0 24.3 24.124.5
+1.40 mm% 5.64.5 5.2 8.0 7.0 5.0
+1.00 mm% 2.50.9 1.5 4.3 2.51.4
+0.50 mm% 0.80.1 0.8 1.7 1.90.7
-0.50 mm% 0.20 0.7 0.3 0.90.1
1 ~ 2.4 mm% 96.593.4 96.4 96.0 91.595.5
Fines% 1.00.1 1.5 2.0 2.80.8
Avg. Prill Sizemm 2.112.17 2.09 2.05 2.112.16
Avg. Crush StrengthGrams8071231 806806 802817
ParametersUnitEngroEngro Engro Engro Engro Engro
Moisture% 0.210.14 0.220.32 0.240.27
Biuret% 1.030.8 0.991.19 0.941.02
Mesh Size
+2.80 mm% 5.579.1 4.6 0.9 6.3 5.8
+2.40 mm% 14.614.7 13.3 9.0 17.3 17.1
+2.00 mm% 34.24.7 34.2 28.4 36.1 32.3
+1.70 mm% 35.04.4 36.4 50.3 29.6 37.1
+1.40 mm% 8.40.3 9.4 6.0 8.5 6.0
+1.00 mm% 1.60.1 1.6 2.6 1.5 1.0
+0.50 mm% 0.50 0.4 1.8 0.5 0.6
-0.50 mm% 0.20 0.1 1.0 0.2 0.1
1 ~ 2.4 mm% 93.820.9 94.9 96.3 93.0 93.5
Fines% 0.70 0.5 2.8 0.7 0.7
Avg. Prill Sizemm 2.092.94 2.07 1.95 2.13 2.1
Avg. Crush StrengthGrams8194645 804801 806 812.0
ParametersUnitSona/ffcSona/ffc Sona/ffc Sona/ffc Sona/ffc Sona/ffc
Moisture% 0.100.19 0.160.22 0.230.24
Biuret% 0.880.96 0.910.91 0.920.9
Mesh Size
+2.80 mm% 5.73 3.9 7.8 5.33.3
+2.40 mm% 15.914.5 10.3 18.7 17.910.6
+2.00 mm% 31.960.8 70.0 52.0 41.162.8
+1.70 mm% 34.718.8 13.1 13.0 25.420.2
+1.40 mm% 9.61.9 1.6 4.9 7.21.8
+1.00 mm% 1.50.9 0.7 2.4 2.10.8
+0.50 mm% 0.50.1 0.3 1.1 0.90.4
-0.50 mm% 0.20 0.1 0.1 0.10.1
1 ~ 2.4 mm% 93.696.9 95.7 91.0 93.796.2
Fines% 0.70.1 0.4 1.2 1.00.5
Avg. Prill Sizemm 2.092.18 2.19 2.21 2.142.16
Avg. Crush StrengthGrams814951 821822 808819

<colgroup><col><col span="3"><col span="2"><col><col></colgroup><tbody>
</tbody>

green date will be typed

Table 2

Receiving Date 22-03-13
ParametersUnit Fatima Engro Sona/ffc
Moisture%0.210.270.24
Biuret%11.020.9
Mesh Size
+2.80 mm%3.8 5.83.3
+2.40 mm%20.4 17.110.6
+2.00 mm%44.1 32.362.8
+1.70 mm%24.5 37.120.2
+1.40 mm% 5.0 6.01.8
+1.00 mm%1.4 1.00.8
+0.50 mm%0.7 0.60.4
-0.50 mm%0.1 0.10.1
1 ~ 2.4 mm%95.5 93.596.2
Fines%0.8 0.70.5
Avg. Prill Sizemm2.16 2.12.16
Avg. Crush StrengthGrams817 812.0819

<colgroup><col><col span="4"></colgroup><tbody>
</tbody>
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
azii,

Have you tried using an INDEX and MATCH formula? Try something like...=index(C:E,3,match(cell you enter date in,C1:E1,0)) and then fill down. Change the row number as needed.
 
Upvote 0
CSyx thank you for this guidance
I put the formula for Fatima which is =INDEX($C$2:$H$50,0,MATCH($K$2,$C2:$H2,0))
formula for Engro is =INDEX($C$2:$H$50,0,MATCH($K$2,C19:H19,0))
and for Sona/ffc is =INDEX($C$2:$H$50,0,MATCH($K$2,C35:H35,0))
as engro starts from row c19 and sona/ffc starts from c35
why #N/A is showing plz help.

see the result

27-12-12
FatimaAngroSona/ffc
0.14#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A
#N/A#N/A#N/A

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
azii,

I believe the first formula for Fatima should be: =index($C$2:$H$50,3,match($K$2,$C$2:$H$2,0)) assuming your data starts in Row 3. Fill down the formula, and then increase the row reference. So the next row should have the formula =index($C$2:$H$50,4,match($K$2,$C$2:$H$2,0)).

Hope this helps!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,179
Members
448,948
Latest member
spamiki

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