Sum of Row with Letters and Merged Numbers in Different Cells

Apples52

New Member
Joined
Sep 25, 2023
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Hi all, is there a formula I can use to sum a portion of a row where one cell contains a letter, some cells are blank and the numerical cell is merged? In the screenshot attached, I've used a simple concotenate formula, but the layout of the report has now changed where it's not working and returning a "#value" error.

In the screenshot, I want to sum I:M. You can't see this, but cell I272 has the letter "A" in it if you click on the cell. J272, L272 and M272 are blank and K272 with the numerical value is merged with K273.

I've tried unmerging column K, but am still getting that #value error when using concoctenate or sum. I'm assuming it has to do with the letter "A" being in cell I272. Is there a formula that will work with the data as is? I'd like to avoid the extra steps of deleting text and unmerging in those total rows.

Thanks in advance
 

Attachments

  • value error.png
    value error.png
    38.3 KB · Views: 15

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Using "+" on cells with text results in errors. But using the SUM function will ignore all text values.
So try:
Excel Formula:
=SUM(I272:M272)

I am not sure why you would ever try to use Concatenate. That is just used to combined smaller string into one large string. It will never add/sum values.
 
Upvote 0
Solution
Using "+" on cells with text results in errors. But using the SUM function will ignore all text values.
So try:
Excel Formula:
=SUM(I272:M272)

I am not sure why you would ever try to use Concatenate. That is just used to combined smaller string into one large string. It will never add/sum values.
I feel a tad embarrassed, this was far too easy. I swear I tried a simple sum before and it didn't work. But I must not have because I just did and it works perfectly.

Thank you!
 
Upvote 0
You are welcome!

No worries, it happens to all of us at one time or another!
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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