Ayuda con una suma complicada

ColdGeorge

Active Member
Joined
Aug 21, 2012
Messages
414
Office Version
  1. 2016
Platform
  1. Windows
Hola a todos

Estoy buscando una fórmula para sumar cantidades en una columna, por ejemplo: sumar desde una celda cualquiera hasta la última celda, de la misma columna, con cantidad a sumar.

Cualquier ayuda será grandemente apreciada
 
Hola de nuevo

No pude utilizar, como hubiera querido, una fórmula. Así que opté por un macro sencillo y simple, este es:

VBA Code:
Dim total As Double
Range(ActiveCell, ActiveCell.End(xlDown)).Select
total = Application.WorksheetFunction.Sum(selection)
MsgBox "La suma de las celdas seleccionadas es: " & total

Saludos a todos, ColdGeorge
 
Upvote 0
Solution

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