Dont show sum value until sheet is in use

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,738
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I have several sheets as example,
Income 1,Income 2,Income 3, Expenses 1,Expenses 2,Expenses 3 etc etc

So at the start of each month i will be adding values on sheet Income 1 & Expenses 1 until that sheet is complete then i move over to say Income 2 etc.

Until i move over all the other sheets in cell K33 will show a value because the code in that cell is as follows,
Code:
=IF(SUM(INCOME1!G32 -EXPENSES7!K32)-MILEAGE!C32=0,"",SUM(INCOME1!G32 -EXPENSES7!K32)-MILEAGE!C32)

So can cell K33 show nothing until i start to use that sheet in question,i mean if cell A4 is empty then K32 shows nothing but if cell A4 has a value then allow cell K33 to show its value.

Make sense ??

Thanks
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
How about wrapping another condition around your current formula in both K32 and K33
=IF(A4="","",CURRENT FORMULA WITHOUT =)
 
Upvote 0
Hi,
How would i go about doing that as currently,
Cell K32 has
Code:
=SUM(D30:F30:G30:H30:I30:J30:K30)

Cell K33 has
Code:
=IF(SUM(INCOME1!G32 -EXPENSES2!K32)-MILEAGE!C32=0,"",SUM(INCOME1!G32 -EXPENSES2!K32)-MILEAGE!C32)

where or how should i apply what you have advised.

Thank
 
Upvote 0
formula in K32 becomes
=IF(A4="","",SUM(D30:F30:G30:H30:I30:J30:K30))

Apply the same technique to the formula in K33
 
Upvote 0
Hi,

Would this be correct,I asked because i get a message to say too many arguments for this function ???

WAS
Code:
=IF(SUM(INCOME1!G32 -EXPENSES2!K32)-MILEAGE!C32=0,"",SUM(INCOME1!G32 -EXPENSES2!K32)-MILEAGE!C32)

NOW
Code:
=IF(A4="","", SUM(INCOME1!G32 -EXPENSES1!K32)-MILEAGE!C32=0,"",SUM(INCOME1!G32 -EXPENSES1!K32)-MILEAGE!C32))
 
Upvote 0
You need to include the WHOLE of your original formula
=IF(A4="","", IF(SUM(INCOME1!G32 .....
 
Upvote 0
Ok thanks.

I have now entered it like so.

Code:
=IF(A4="","",IF(SUM(INCOME1!G32-EXPENSES1!K32)-MILEAGE!C32=0,"",SUM(INCOME1!G32-EXPENSES1!K32)-MILEAGE!C32))
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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