Adsense
martes, 4 de septiembre de 2012
Cambio de funciones en Excel 2010 ¿Qué vendrá en Excel 2012?
La gente de Microsoft no tiene otra cosa que hacer y cambiaron de nombre a diversas funciones en Excel 2010:
Función anterior: BUSCARH
Nueva función: CONSULTARH
Descripción: Busca en la fila superior de una matriz y devuelve el valor de la celda indicada
Función anterior: BUSCARV
Nueva función: CONSULTARV
Descripción: Busca en la primera columna de una matriz y se mueve en horizontal por la fila para devolver el valor de una celda.
Función anterior: CARACTER
Nueva función: CAR
Descripción: Devuelve el carácter especificado por el número de código.
Función anterior: CONVERTIR
Nueva función: CONVERT
Descripción: Convierte un número de un sistema de medida a otro.
Función anterior: DERECHA, DERECHAB
Nueva función: DERECHA
Descripción: Devuelve los caracteres del lado derecho de un valor de texto.
Función anterior: ENCONTRAR, ENCONTRARB
Nueva función: ENCONTRAR
Definición: Busca un valor de texto dentro de otro (distingue mayúsculas de minúsculas)
Función anterior: EXTRAE
Nueva función: MED
Definición: Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique
Función anterior: FECHANUMERO
Nueva función: VALFECHA
Definición: Convierte una fecha con formato de texto en un valor de número de serie.
Función anterior: HALLAR, HALLARB
Nueva función: HALLAR
Definición: Busca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas).
Función anterior: IZQUIERDA, IZQUIERDAB
Nueva función: IZQUIERDA
Definición: Devuelve los caracteres del lado izquierdo de un valor de texto.
Función anterior: LARGO, LARGOB
Nueva función: LARGO
Definición: Devuelve el número de caracteres de una cadena de texto
Función anterior: REEMPLAZAR, REEMPLAZARB
Nueva función: REEMPLAZAR
Definición: Reemplaza caracteres de texto
Función anterior: RESIDUO
Nueva función: RESTO
Definición: Devuelve el resto de la división
Función anterior: SI.ERROR
Nueva función: SIERROR
Definición: Devuelve un valor que se especifica si una fórmula lo evalúa como un error; de lo contrario, devuelve el resultado de la fórmula
Fuente: Ideas de Excel
Así que tus archivos viejos puede que no trabajen correctamente si emplean funciones como las antes mencionadas. Ahora como uno no tiene cosas importantes que hacer, debe cambiarlas. Gracias Microsoft =) Ya veremos con qué otra salen en Excel 2012
jueves, 30 de junio de 2011
Agregar ceros a la izquierda en excel
=CONCATENAR("RADI";REPETIR("0"; 6 - LARGO(A2)); A2)
y A2=80
ENTONCES PRODUCE: RADI000080
FIN
sábado, 5 de junio de 2010
Como Generar y leer archivos Excel en php: phpexcel

miércoles, 25 de junio de 2008
Export cxGrid (QuantumGrid) to Excel
Debe estar la unidad
cxGridExportLink
se lama el procedimiento:
procedure ExportGridToExcel(const AFileName: string; AGrid: TcxGrid; AExpand: Boolean = True; ASaveAll: Boolean = True; AUseNativeFormat: Boolean = True; const AFileExt: string = ‘xls’);
Y listo. a continuación lo que dice la ayuda:
Description
Use the ExportGridToExcel method to export the grid control’s content into an XLS file. The target file’s name is specified by the AFileName parameter. Note that you should not specify the file’s extension using this parameter. The extension will be automatically replaced with the AFileExt parameter value.
The grid control whose content is to be copied is specified by the AGrid parameter. Note that only the currently active root level’s content will be exported. Excel export doesn’t support master-detail data.
The AExpand parameter indicates whether to export all records displayed within the exported level including records hidden within collapsed groups. If this parameter value is True, the grid expands all group and master records before exporting. If this parameter value is False, the records’ expanded state remains unchanged and only visible records’ content is written to the file.
The ASaveAll parameter indicates whether to export all or selected records. Set the parameter to False to export only the current selection. In grid mode, this parameter value is ignored and all records are exported.
If the AUseNativeFormat parameter is True, the export routine tries to convert display text of grid cells to the corresponding Excel format (Currency, Date, Time or Float). If you specify an editor to an item, the display text of all cells in the item is converted to a proper MS Excel format according to the following table:
An editor assigned to a grid cell The corresponding MS Excel format
TcxCurrencyEdit Currency
TcxMaskEditProperties or TcxCalcEditProperties Currency, if the editor is bound to the field whose values are formatted as currency values (see the field’s Currency property).Otherwise, Number.
TcxDateEdit Date
TcxTimeEdit Time
TcxSpinEdit Number
Note: if columns don’t use editors listed above, values from that columns are exported as strings regardless of the AUseNativeFormat parameter value. If a particular cell’s text cannot be converted to the required format (if the cell contains invalid characters, for instance) or the data type of an underlying data field does not exactly correspond to the data type associated with the assigned editor (for instance, a numeric data field used to store currency values), it is exported as a string.
If the AUseNativeFormat parameter value is False, all values are exported as strings.
martes, 1 de enero de 2008
Generar Archivo Excel usando PHP
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=reporteremesa.xls");
Echo "<Table>";
Echo "<Tr>";
Echo "<Td>";
Echo "Capullito";
Echo "</Td>";
Echo "<Tr>";
Echo "</Table>";