Home

How to SUM cells with ISBLANK=FALSE ''''

%3CLINGO-SUB%20id%3D%22lingo-sub-484432%22%20slang%3D%22en-US%22%3EHow%20to%20SUM%20cells%20with%20ISBLANK%3DFALSE%20''''%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-484432%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20all%3C%2FP%3E%3CP%3EIam%20applying%20this%20Formula%20in%20cell%20D3%3A%3C%2FP%3E%3CP%3E%3DIF(ISBLANK(B3)%3DFALSE%2CISBLANK(C3)%3DFALSE)%2CSUM(-B3-C3%2BD2)%2C%22%22)%20%3CEM%3E%3D%3D%26gt%3B%20Answer%20is%201000%3C%2FEM%3E%3C%2FP%3E%3CP%3Ethe%20same%20formula%20is%20applied%20in%20cells%20G9%20(%3CEM%3EAnswer%20is%20''''%2C%20meaning%20there%20is%20nothing%20to%20sum%20in%20cells%20E3%2C%20F3%20and%20G2%3C%2FEM%3E).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20then%20in%20H3%20to%20SUM%20(D9%2BG9)%20%3D%3D%26gt%3B%20%3CEM%3EAnswer%20is%20%23VALUE!%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EI%20want%20to%20have%201000%20instead%20of%20%23VALUE%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAs%20the%20Revenues%20for%20this%20year%20is%201000%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20448px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F110570i2EC94E7E1500F51B%2Fimage-dimensions%2F448x103%3Fv%3D1.0%22%20width%3D%22448%22%20height%3D%22103%22%20alt%3D%22Pb%20in%20Excel.PNG%22%20title%3D%22Pb%20in%20Excel.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot%20for%20your%20help%20!%3C%2FP%3E%3CP%3EAnto%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-484432%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-484807%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20SUM%20cells%20with%20ISBLANK%3DFALSE%20''''%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-484807%22%20slang%3D%22en-US%22%3EModify%20your%20formula%20in%20H3%20from%20%3DSUM(D3%2BG3)%20to%20%3DSUM(D3%2CG3).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-484956%22%20slang%3D%22en-US%22%3ERE%3A%20How%20to%20SUM%20cells%20with%20ISBLANK%3DFALSE%20''''%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-484956%22%20slang%3D%22en-US%22%3EThanks%20!%20That%20was%20a%20mistake.%20Same%20formula%20for%20line%204%20gives%20me%200.%20How%20can%20I%20have%20a%20BLANK%20cell%20instead%3C%2FLINGO-BODY%3E
Amat3ur
New Contributor

Dear all

Iam applying this Formula in cell D3:

=IF(ISBLANK(B3)=FALSE,ISBLANK(C3)=FALSE),SUM(-B3-C3+D2),"") ==> Answer is 1000

the same formula is applied in cells G9 (Answer is '''', meaning there is nothing to sum in cells E3, F3 and G2).

 

I want then in H3 to SUM (D9+G9) ==> Answer is #VALUE!

I want to have 1000 instead of #VALUE

As the Revenues for this year is 1000

Pb in Excel.PNG

 

Thanks a lot for your help !

Anto

 

3 Replies
Modify your formula in H3 from =SUM(D3+G3) to =SUM(D3,G3).
Thanks ! That was a mistake. Same formula for line 4 gives me 0. How can I have a BLANK cell instead
In that case, you may construct your formula in H3, this way:
=IF((D3="")*(G3=""),
"",
SUM(D3,G3)
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies