Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / August 2007

Tip: Looking for answers? Try searching our database.

Question about conditional (IF) statements

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan - 31 Aug 2007 17:08 GMT
I have an Excel file (using 2003) that has a row of entries for
actual expenditures for each month (months in columns).  I want to
calculate the cumulative expenditures, plot them when actual
expenditures are entered, and not plot them when actual expenditures
are not entered.  I cannot figure out how to do this with the IF
statement or conditional formatting.  Everything I try leads to a "$0"
which is then plotted.  (The fields are formatted as currency, so the
"$" is there.)

   If I just leave the cumulative expenditures field blank, then it
is not plotted, but I have to enter the formula for the last month
each month when I update the spreadsheet.

   Is there a way to do this?     Thanks, Alan
Alan - 31 Aug 2007 17:10 GMT
Never mind.  The formula =IF(ISBLANK(C16),"",B15+C16) works.
Alan - 31 Aug 2007 17:13 GMT
I was wrong.  This still plots 0`s for the cumulative spending
value.

      Can anyone help?
Dave Peterson - 31 Aug 2007 17:25 GMT
try:
=if(c16="",na(),b15+c16)

You can use format|conditional formatting to hide the #n/a's or you could put
this formula in a different column (and use it in the chart), then hide that
column.

(The only chart answer I know!)

There is a dedicated newsgroup for charting, though.  
microsoft.public.excel.charting

(If you get more advanced question about charts.)

> Never mind.  The formula =IF(ISBLANK(C16),"",B15+C16) works.

Signature

Dave Peterson


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.