Please help with formula

firstWeMeet

Board Regular
Joined
Feb 8, 2011
Messages
200
Hello forum, just looking for help with this formula.
I have row1 which: C1 formula is =SUM(A1+F7-G7) and I want to maintain the cell format like this
25167892.png
but when A1,F7,G7 has no numbers C1 showing "0" I want C1 just show blank cell when the A,F,G1 is 0 number, note that F1 and G1 has a formula too.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Code:
=if(and(A1<>0,F7<>0,G7<>0),SUM(A1+F7-G7),"")
 
Upvote 0
try
Code:
=IF(AND(A1="",F7="",G7=""),"",SUM(A1+F7-G7))
 
Upvote 0
@MM too slow. get a faster pidgeon. LOL
 
Upvote 0
Hi P.......that's as fast as I can pedal !!
 
Upvote 0
How if a multiple cell like in row1 AF1 formula is =SUM(A1,C1,E1,G1,and many more. the if AF1 = 0 should show blank.
 
Upvote 0
Not sure if I understand right: but this should work:
AF1:
=IF(SUM(A1,C1,E1,G1,and many more)=0,"",SUM(A1,C1,E1,G1,and many more))
 
Upvote 0
Do I need to put all cells? cause cells is about 50+ cells so formula will take longer, I am wondering about this formula but not working
since the formula located at AF1
=IF(AF1>0,SUM(A1,C1,E1,G1,and many more),"") but this is not working
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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