Adding multiple values in a single cell to create a sum in an empty cell

Not applicable

Hello! I am trying to create a formula in which an empty cell returns the sum of values entered in the previous cell. For example, Cell S2 has "1.00 (alt+enter) 1.00 (alt+enter)" and I would like Cell T2 to return "2.00" after adding the figures in Cell S2. It is important to keep the format of S2 as close as possible, as they line up with another field's data.

We are using Microsoft Office Standard 2016, with Windows 10 Pro, Version 22H2.


Thank you very much!


10 Replies


Try this one:

Hi @Patrick2788. Thank you! I'm getting the #NAME? error.
Which version of Excel are you using? It seems to be something other than 365.
We are using Microsoft Office Standard 2016.


This formula will pull  up to 4 numbers and sum them. Another option might be FILTERXML but with no spilling there's going to be some messy extraction either way.





It's doing something, but only returning 1.00 instead of 2.00. I really appreciate your help!

You might have more non-number characters in that cell besides the carriage return. You could use:

This will determine the length of how many characters are in the cell.

best response


Try this:

Select T2.

On the Formulas tab of the ribbon, click Define Name.

Enter Total in the Name box, and in the Refers to box, enter the formula




Click OK.

Enter the formula =Total in T2.

This can be filled down if required.

@Patrick2788 Thank you for your help! I appreciate you!

@Hans Vogelaar Thank you so much! That works perfectly. I really appreciate the help! -Shannon