Convertir funcion si anidada en macro

Status
Not open for further replies.

galileockx

New Member
Joined
Feb 10, 2008
Messages
12
Estimados Expertos, es mi primera pregunta, apenas estoy iniciando el auto-aprendizaje de macros, y tengo dias tratando de convertir una funcion SI anidada en macros, la situacion es que tengo muchos registros y el exceso de formulas vuelve lenta la maquina, asi que tengo que aplicar a la "columna G" la funcion SI anidada con inclusion de funcion Izquierda, y buscar V en otra columna, o en otra hoja un rango llamado rifs.
La funcion en cuestion es
=SI(IZQUIERDA(F2;1)="J";"C";SI(IZQUIERDA(F2;1)="g";"C";(SI(ESERROR(BUSCARV(F2;rifs;1;FALSO));"NC";"C"))))
Agradeceria muchisimo si me pueden orientar como convertirla en Macro que se ejecute automaticamente.
Gracias:)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Status
Not open for further replies.

Forum statistics

Threads
1,223,979
Messages
6,175,757
Members
452,667
Latest member
vanessavalentino83

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