Count of items being calculated in a cell?

Ebippity

New Member
Joined
Mar 1, 2019
Messages
6
I'm having to add (and subtract) a lot of numbers in a lot of cells and want to be able to count the number of items being calculated in that cell. It's so I can compare to the document I'm copying the numbers off of as a cross-check.

So: =15+32+50-42+3 would be 5 items being calculated.

Thanks for any help!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Typical we don't want to sum hard values like that.
We prefer to sum and range of cells. Most common function used is SUM()
Then, to count the cells that have values use the function COUNT() using the same range reference.
 
Upvote 0
SpillerBD has a valid point about how to design a good spreadsheet. However, I know a lot of people who use Excel as an impromptu calculator. This might be a similar case. If so, try this:

AB
1585

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
A1=15+32+50-42+3

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
B1{=SUM(--(MID(FORMULATEXT(A1),ROW(INDIRECT("1:"&LEN(FORMULATEXT(A1)))),1)={"+","-","/","*"}))+1}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0
Thank you both! I totally get SpillerBD's point. And thank you Eric for the formula. Really good to have this option!
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,545
Members
449,089
Latest member
davidcom

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