Find formula in cell with text

bigedge02

New Member
Joined
Sep 9, 2014
Messages
5
Hi,

I have a basic formula in a cell that also contains text. The cell contains a rounded subtotal of a range of cells and I placed an "= " text to display in front of the output number.

In cell F111 I have:
="= "&ROUND(SUM(F4:F110), 0)

I have several of these subtotal cells and now I'm trying to get a single overall total of these subtotal cells. For example: =F111+G111+H111. I end up getting the #VALUE! error in this overall total cell.

How can I get the total of F111+G111+H111?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Why do you have the equal sign as text? If it's not needed, then remove it form the formulas. The subtotals should work then.
=ROUND(SUM(F4:F110), 0)

Or replace the equal sign using a custom cell format
"= "0
 
Upvote 0
Why do you have the equal sign as text? If it's not needed, then remove it form the formulas. The subtotals should work then.
=ROUND(SUM(F4:F110), 0)

Or replace the equal sign using a custom cell format
"= "0



Thanks for the reply AlphaFrog. I placed the equal sign in there as text so that the output, in cell F111, reads "= 1000" rather than just "1000"
 
Last edited:
Upvote 0
Are any of those cells returning a formula blank ""?

You might want to use =SUM(F111:H111) instead of =F111+G111+H111
 
Upvote 0
Thanks for the reply AlphaFrog. I placed the equal sign in there as text so that the output, in cell F111, reads "= 1000" rather than just "1000"

You cannot SUM text. Adding the "= " in the formula makes the formula result as text and not numeric. You could remove the equal sign and use a custom cell format as I suggested. That would keep the cell result as numeric and also "display" the equal sign.

Another suggestion is to subtotal the source cells.
=SUM(ROUND(SUM(F4:F110), 0),ROUND(SUM(G4:G110), 0),ROUND(SUM(H4:H110), 0))
 
Upvote 0

Forum statistics

Threads
1,222,436
Messages
6,166,020
Members
452,008
Latest member
Customlogoflipflops

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