SUM a sequence

Sanjin

New Member
Joined
Sep 16, 2014
Messages
2
Hello everybody,

I am desparately looking for a solution to my problem.

I somehow need to apply this formula to a sequence of cells (for example) =SUM(ROUNDUP(A1/2;0);ROUNDUP(A2/2;0);...;ROUNDUP(An/2;0)).

Is there a way to insert this automatically, and not one by one?

I am trying to sum the number of packages needed for all orders. Usually, two products are shipped in one packaging, but it is possible to order only one product, and in that case it is, obviously, shipped in one packaging. And that formula above would solve that problem, if only I could enter it automatically.

The only solution I could think of, is to make a new column in which I would calculate this part ROUNDUP(A1/2;0) and then just sum everything later on.

Thank you in advance for your help.

Regards,
Sanjin
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi Sanjin
Welcome to the board

Try, for ex. for values in A1:A10:

=SUMPRODUCT(ROUNDUP(A1:A10/2,0))
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,853
Members
449,051
Latest member
excelquestion515

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