Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2024, 12:17 PM
artmusicstudio2 artmusicstudio2 is offline Exclude Cells with Formulas in a sum Windows 10 Exclude Cells with Formulas in a sum Office 2019
Novice
Exclude Cells with Formulas in a sum
 
Join Date: Mar 2021
Posts: 7
artmusicstudio2 is on a distinguished road
Default Exclude Cells with Formulas in a sum

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
Reply With Quote
  #2  
Old 11-16-2024, 11:32 PM
ArviLaanemets ArviLaanemets is offline Exclude Cells with Formulas in a sum Windows 8 Exclude Cells with Formulas in a sum Office 2016
Expert
 
Join Date: May 2017
Posts: 932
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

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.
Reply With Quote
  #3  
Old 11-17-2024, 06:39 AM
p45cal's Avatar
p45cal p45cal is offline Exclude Cells with Formulas in a sum Windows 10 Exclude Cells with Formulas in a sum Office 2021
Expert
 
Join Date: Apr 2014
Posts: 948
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

try:
Code:
=SUM(FILTER(AR12:AR14;ISERROR(FORMULATEXT(AR12:AR14))))
or in German if I've got it right:
Code:
=SUMME(FILTER(AR12:AR14;ISTFEHLER(FORMELTEXT(AR12:AR14))))
edit: Ach, I just realised you're using Excel 2019... I'll think again.
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)
Reply With Quote
  #4  
Old 11-25-2024, 12:45 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Exclude Cells with Formulas in a sum Windows 10 Exclude Cells with Formulas in a sum Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

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
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclude Cells with Formulas in a sum How to duplicate a block of cells that contain formulas without losing reference? 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
Exclude Cells with Formulas in a sum How to transfer multiple cells from excel to word by formulas justziggy Word 5 05-23-2009 02:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft