Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Mark and copy the holes in 2DRing: [Hole Mode] >Edit >Copy Marked Holes
2) Sort the data tables, as defined in the SORT table below: [2 - Sort Data]
3) Add new formulas to the data tables as defined in the FORMULAS table below: [3 - Add Formulas]
4) Expand the report sheets as defined in the EXPAND table below: [4 - Expand Reports]
If required, convert all report sheets to values only, to reduce file size when saved: [Reports to Values]
Use [Clear Reports] and [Clear Data] to reset the report and data sheets.
EXPAND
-(end)-
SORT
-(end)-
FORMULAS
table target range formula1
-(end)-
NOTES
The {source} sheet finds the location of the values and table lists in the 2DFace data, by searching for the text using MATCH fo
If there are any changes to the 2DFace data, modify the "field" column to match the changed text, and add new rows for new d
On each of the report sheets in this workbook, create the report tables from formulas in the cells that look up the values in the 2
Single values are retrieved directly on the {source} sheet in the yellow cells - use VLOOKUP to report these values.
Ranges for each field column in the data tables are calculated on the {source} sheet - use VLOOKUP with INDIRECT to use the
On each report sheet, create enough rows or columns of formulas for one set of data, e.g. for the first hole for a drilling report.
The [Expand Tables] macro will copy those rows or columns down or to the right. Any cells below or to the right of the copied c
In the EXPAND table, enter the name of each report sheet, with the range of cells to be copied and the number of extra rows or
In the SORT table, enter a reference name for each data table, with up to three ranges of key cells to be sorted and the sort ord
The report sheets are expanded in the order of the EXPAND table, and data tables sorted in the order of the SORT table, from
To add new ranges, select the entire row with the yellow cells and insert a row.
Do not move the EXPAND or SORT tables! They must be on this {menu} sheet. Do not change the layout of the columns, beca
If [Reports to Values] is run, "X_" is added before each sheet name, and the 'check' value will show an error, to indicate that it c
[Clear Reports] will reset each report sheet by removing the extra rows and columns.
[Clear Data] will clear all data from the {data} sheet.
[Reset Status Bar] will remove any messages from the status bar, in case a macro has crashed.
This workbook was written in Excel 2007. ©Soft-Blast Pty Ltd 2011. May be freely used by any and all JKSimBlast users.
EXAMPLES
will return the corresponding value for "Num_Holes_Nodes" from the 2nd column on the {source} sheet
where: VLOOKUP finds a value in the first column of a range, and returns the value from the same row in an
"Num_Holes_Nodes" is the lookup value to search for on the {source} sheet in the "name" colum
source!$A:$B is the range of columns on the {source} sheet - the first column is searched
2 is the column in the search range to return the corresponding value from (th
NOTE: before creating the formula, check that the lookup value in the "name" column has a corresponding single value in the "
will sum the Hole Lengths from the data, by re-directing to the corresponding range for "Hole_Length" from the 2nd
VLOOKUP finds a value in the first column of a range, and returns the value from the same row in an
"Hole_Length" is the lookup value to search for on the {source} sheet in the "name" colum
source!$A:$B is the range of columns on the {source} sheet - the first column is searched
2 is the column in the search range to return the corresponding value from (th
NOTE: before creating the formula, check that the lookup value in the "name" column has a corresponding range value in the "
to get a single value from an array of values - e.g. the length of a hole
will get the Hole Length for the hole 1 from the data, by re-directing to the corresponding range for "Hole_Length" f
VLOOKUP finds a value in the first column of a range, and returns the value from the same row in an
"Hole_Length" is the lookup value to search for on the {source} sheet in the "name" colum
source!$A:$B is the range of columns on the {source} sheet - the first column is searched
2 is the column in the search range to return the corresponding value from (th
$A82 refers to the cell that contains the index number of the hole length to return
NOTE: before creating the formula, check that the lookup value in the "name" column has a corresponding range value in the "
alternative, use a drop-down box to select a lookup value and then return the corresponding value or range with the INDEX fun
will return the corresponding value for "Num_Holes_Nodes" from the "result" column on the {source} sheet
Formulas]
s to Values]
check reference
#REF! Num_Holes
#REF! Deck_Order
#REF! Num_Holes
#N/A 1 #N/A 1
#N/A 1 #N/A 1
rows check reference
ed and the number of extra rows or columns to be added (or copied to).
nge the layout of the columns, because the macro reads the tables in sequence.
s the value from the same row in another column in the range
s the value from the same row in another column in the range
sponding range for "Hole_Length" from the 2nd column on the {source} sheet
s the value from the same row in another column in the range
22
Area_Closed
Area_Closed
#N/A
FORMULAS
2DFACE HOLE DATA
Hole CounteHole ID Display LabIs Node? ( Type Index Type DescriHole NumbCollar X (m Collar Y (m Diameter
purpose
find times at points (e.g. surface initiation) within a radius of the specified hole that initiate after a time difference from
arguments
rDetTimes a cell range of times to compare
rX a cell range of East / X coordinates, corresponding to rDetTimes
rY a cell range of North / Y coordinates, corresponding to rDetTimes
rZ a cell range of Level / Z coordinates, corresponding to rDetTimes
dDeto the detonation time at the specified hole
dXo East / X coordinate of the specified hole
dYo North / Y coordinate of the specified hole
dZo Level / Z coordinate of the specified hole
dInterval an extra time interval between time at point and hole detonation time
dDistance the circle radius around the specified hole
iReport the value to return:
1 = count of points that match conditions
2 = index in ranges of earliest point that matches conditions
3 = index in ranges of nearest point to hole that matches conditions
notes
- ranges must be a single row or column, and have same number of cells in each range
- to find points that initiate after the selected hole detonates, enter dInterval = 0
- use the returned index value, for iReport = 2 or 3, to get other details for the hole from the corresponding data tables
- dDeto must be >= 0 and less than 32000000000 (~1 year in ms)
- dInterval must be >= 0
- dDistance must be >= 0
- to calculate only for distances in 2D, use the corresponding null column for one of the coordinate ranges
Length (m) Relative Di Relative Be Collar East Collar Nort Collar Leve Toe East (mToe North Toe Level ( Absolute Di
DetonationNom. Det. Det. Seque Collar East Collar Nort Collar Leve Total DetonSuccessful Hole ID ExpHole ID Ine
#N/A #N/A #N/A #N/A
RWS RBS Min. Hole VOD (m/s) Cost (per k Colour (RG User CommType Hole CountDeck Count
#N/A #N/A #N/A
Nom. Det. Det. Seque Collar East Collar Nort Collar Leve Flags DH ElementDH ConnectPrimer Ind Hole-Eleme
#N/A #N/A #N/A #N/A
Cost (per u Colour (RG User CommLine Style ( Line Width Hole ID Hole Label Row Hole in Ro Distance fr
#N/A #N/A #N/A #N/A #N/A
Mass (gramNom. PressCost (per u Colour (RG User CommHole CountPrimer Count
#N/A #N/A
ConnectionAv. Det. Ti DetonationNom. Det. Det. Seque From CollarFrom Colla From CollarTo Collar E To Collar N
Cost (per u Colour (RG User CommLine Style ( Line Width From Hole To Hole Co Delay Count
#N/A #N/A #N/A
From Hole To Hole Co Delay CounTotal Lengt Total Length Used (m)
#N/A #N/A #N/A #N/A #N/A
ble, dYo As Double, dZo As Double, dInterval As Double, dDistance As Double, iReport As Integer) As Integer
Hole-ElemeHole-ConneHole-ConneHole-PrimeHole-Primer Count
#N/A #N/A #N/A #N/A #N/A
Hole_To-CoHole_To-CoHole_From-Hole_From-To Count
#N/A #N/A #N/A #N/A
DRILLING SHEET
Blast #N/A
# Holes #N/A
Total #N/A #N/A
Hole Diameter Hole Dip Bearing Collar East Collar North Collar Level Cost Comment
hole_index Depth
#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
CHARGE SHEET
Blast #N/A
#N/A