![]() |
#1
|
|||
|
|||
![]()
hello community,
after hours of web-search , trials and even chatgpt-not working-solution i have to ask here: i would like to (or must) sum up a column of 300 cells, where some cells are formulas. i tried with many differnet syntaxes (here an example of nly 3 rows, where 1 has a formula in a cell): =SUMME(WENN(ISTZAHL(AR12:AR14);AR12:AR14;0)) =SUMMEWENN(AR12:AR24;">0";AR12:AR24) + SUMMEWENN(AR12:AR24;"<0";AR12:AR24) and different sumifs varations with "isfromula" and so on. but all formulas do not ignore the formula in the cells and the result ist doubled ! can anybody help ? thanx stan |
#2
|
|||
|
|||
![]()
I'd advice to redesign your source table(s)! So that in every column are only either entered data, or formulas (in every column will be only one kind of information). This will help you to avoid not only the current problem, but also a lot of future ones.
|
#3
|
||||
|
||||
![]()
try:
Code:
=SUM(FILTER(AR12:AR14;ISERROR(FORMULATEXT(AR12:AR14)))) Code:
=SUMME(FILTER(AR12:AR14;ISTFEHLER(FORMELTEXT(AR12:AR14)))) edit2: You mention ISFORMULA so your version of Excel is at least 2021? If so the formula above should work. Here's one with ISFORMULA: Code:
=SUMME(NICHT(ISTFORMEL(AR12:AR14))*AR12:AR14) Code:
=SUM(NOT(ISFORMULA(AR12:AR14))*AR12:AR14) |
#4
|
||||
|
||||
![]()
And of course posting a sample sheet would have helped ( no pics please). Thx
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ColtonYYZ | Excel | 2 | 10-31-2022 11:46 AM |
Ctl Shift Arrow to Exclude Formulas | julien | Excel | 3 | 05-11-2018 05:08 AM |
Empty cells with formulas | Mihai Vultureanu | Excel | 2 | 02-01-2018 05:30 PM |
Averaging cells with formulas | petale | Excel | 2 | 08-10-2016 09:44 PM |
![]() |
justziggy | Word | 5 | 05-23-2009 02:33 AM |