MightyQuinn
Board Regular
- Joined
- Dec 28, 2007
- Messages
- 152
Hello experts,
Im trying to pull certain data from this "data table" (example below) and have certain parts import into a report (separate excel sheet). I tried several times with different combinations of formulas and I dont think its possible unless it uses complex combinations of formulas which I dont want to use. Also the data table may update from time to time but the overall layout should stay the same. I think the best way is VBA.
-For example if given "ZIM0001" I will need to pull out almost all of the corresponding information (data next to the cells labeled "ZIM0001") into certain cells in the report. For example, when given "ZIM0002" in one cell I may need to pull in "Test Location 1" and "Mid Thickness" and "Elongation test 1" and "18.000" and "35.000" all into certain cells in the report.
With VBA this shouldnt be too hard but it would need to be easy enough for me to work with and change cells around in (which I could easily do).
(I can email this example data table if needed, I couldnt get the HTML maker)
Any help greatly appreciated,
Im trying to pull certain data from this "data table" (example below) and have certain parts import into a report (separate excel sheet). I tried several times with different combinations of formulas and I dont think its possible unless it uses complex combinations of formulas which I dont want to use. Also the data table may update from time to time but the overall layout should stay the same. I think the best way is VBA.
-For example if given "ZIM0001" I will need to pull out almost all of the corresponding information (data next to the cells labeled "ZIM0001") into certain cells in the report. For example, when given "ZIM0002" in one cell I may need to pull in "Test Location 1" and "Mid Thickness" and "Elongation test 1" and "18.000" and "35.000" all into certain cells in the report.
With VBA this shouldnt be too hard but it would need to be easy enough for me to work with and change cells around in (which I could easily do).
(I can email this example data table if needed, I couldnt get the HTML maker)
HTML:
ZIM0001 Impact 100 Structural/Bar IM100 CH1_SMP1 Charpy - test 1 sample 1 330 20.000000000 999.000000000
ZIM0001 Impact 100 Structural/Bar IM100 CH1_SMP2 Charpy - test 1 sample 2 340 20.000000000 999.000000000
ZIM0001 Impact 100 Structural/Bar IM100 CH1_SMP3 Charpy - test 1 sample 3 350 13.300000000 999.000000000
ZIM0001 Impact 100 Structural/Bar IM100 CH1_AVG Average Charpy test 1 360 20.000000000 999.000000000
ZIM0001 Impact 100 Structural/Bar IM100 CH1_TEMP Charpy Test Temp. test 1 370 -40.000000000 -40.000000000
ZIM0002 Impact 100 No CVN IM100N TENSLOC1 Test Location 1 210 Mid Thickness 0.000000000 0.000000000
ZIM0002 Impact 100 No CVN IM100N TENORIN1 Test Orientation 220 Longitudinal 0.000000000 0.000000000
ZIM0002 Impact 100 No CVN IM100N YIELD_1 Yield Strength test 1 230 100.000000000 999.000000000
ZIM0002 Impact 100 No CVN IM100N TENSIL_1 Tensile Strength test 1 240 110.000000000 135.000000000
ZIM0002 Impact 100 No CVN IM100N ELONG_1 Elongation test 1 250 18.000000000 35.000000000
ZIM0002 Impact 100 No CVN IM100N ELGAGE_1 Elongation Gage Lgth test 1 260 2.000000000 8.000000000
ZIM0002 Impact 100 No CVN IM100N REDAREA1 Reduction of Area test 1 270 40.000000000 999.000000000
ZIM0003 Impact 100 -50F CVN IM100M TENSLOC1 Test Location 1 210 Mid Thickness 0.000000000 0.000000000
ZIM0003 Impact 100 -50F CVN IM100M TENORIN1 Test Orientation 220 Longitudinal 0.000000000 0.000000000
ZIM0003 Impact 100 -50F CVN IM100M YIELD_1 Yield Strength test 1 230 100.000000000 999.000000000
ZIM0003 Impact 100 -50F CVN IM100M TENSIL_1 Tensile Strength test 1 240 110.000000000 135.000000000
ZIM0003 Impact 100 -50F CVN IM100M ELONG_1 Elongation test 1 250 18.000000000 35.000000000
ZIM0003 Impact 100 -50F CVN IM100M ELGAGE_1 Elongation Gage Lgth test 1 260 2.000000000 8.000000000
Any help greatly appreciated,