Issue with dynamic chart mapping out blank info

N

Nessygirl

I have created a rolling 12 month graph which looks at the data on a table
and determines which is the most up to date data to use and constantly will
update itself with the new month and remove the oldest month when new data is
entered......however, the data that I have is a lookup to another spreadsheet
which I have used a formula to retrieve, problem is that the dynamic chart is
assuming that because there is a formula in the table that it needs to be
charted even when the formula returns a null value. My excel skills are
average to say the best, so in laymans terms would be helpful :)
Thanks so much
 
M

macb

I have created a rolling 12 month graph which looks at the data on a table
and determines which is the most up to date data to use and constantly will
update itself with the new month and remove the oldest month when new data is
entered......however, the data that I have is a lookup to another spreadsheet
which I have used a formula to retrieve, problem is that the dynamic chart is
assuming that because there is a formula in the table that it needs to be
charted even when the formula returns a null value.  My excel skills are
average to say the best, so in laymans terms would be helpful :)
Thanks so much

If I unerstand you correctly the following tweak will work.

Instead of getting Null value in the formula cell try a if condition.
IF there is no value try try the second condition as N/A in the cell.
N/A will not plot on the chart.


Regards


Mac
 
S

Shane Devenshire

Hi,

You should show us the formula you are using. But lets assume its something
like

=IF(VLOOKUP(A1,Sheet2!A1:D100,3,FALSE)="",NA(),VLOOKUP(A1,Sheet2!A1:D100,3,FALSE))
 
N

Nessygirl

Hi Shane, thanks for this, I am not using a VLOOKUP - would that be a better
idea than the formula I am using: =IF('[Sheet'!AC8=0," ",'Sheet'!AC8), which
does work and returns a blank cell, the issue comes when I am charting and it
updates thinking that there is data in there due to the formula.
Does this make sense?!?
Regards
 
J

Jacob Skaria

" " is a space
Blank should be "" (without a space)

=IF('[Sheet'!AC8=0,"",'Sheet'!AC8)
OR
=IF('[Sheet'!AC8=0,NA(),'Sheet'!AC8)

If this post helps click Yes
---------------
Jacob Skaria


Nessygirl said:
Hi Shane, thanks for this, I am not using a VLOOKUP - would that be a better
idea than the formula I am using: =IF('[Sheet'!AC8=0," ",'Sheet'!AC8), which
does work and returns a blank cell, the issue comes when I am charting and it
updates thinking that there is data in there due to the formula.
Does this make sense?!?
Regards
--
Nessygirl
"I really hate this machine, I wish that they would sell it, it never does
what I want, only what I tell it"


Shane Devenshire said:
Hi,

You should show us the formula you are using. But lets assume its something
like

=IF(VLOOKUP(A1,Sheet2!A1:D100,3,FALSE)="",NA(),VLOOKUP(A1,Sheet2!A1:D100,3,FALSE))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire
 
N

Nessygirl

ok, changed the formula to incorporate "" not " ", formula works (of course),
but with the same result of the charts extending to the end of the formula
set rather than where the data ends........really appreciate your answers
though.
I have defined names for the charts, perhaps I am doing something wrong
there....

Data being charted:
=OFFSET('sheet'!$A$3,0,COUNTA('sheet'!$3:$3)-1,1,-MIN('sheet'!MONTHS,COUNTA('sheet'!$3:$3)-1))

Months: ='sheet'!$A$1

Date range:
=OFFSET('sheet'!$A$2,0,COUNTA('sheet'!$3:$3)-1,1,-MIN('sheet'!MONTHS,COUNTA('sheet'!$3:$3)-1))

as you can probably tell I am not the most excel savvy person :)
--
Nessygirl
"I really hate this machine, I wish that they would sell it, it never does
what I want, only what I tell it"


Jacob Skaria said:
" " is a space
Blank should be "" (without a space)

=IF('[Sheet'!AC8=0,"",'Sheet'!AC8)
OR
=IF('[Sheet'!AC8=0,NA(),'Sheet'!AC8)

If this post helps click Yes
---------------
Jacob Skaria


Nessygirl said:
Hi Shane, thanks for this, I am not using a VLOOKUP - would that be a better
idea than the formula I am using: =IF('[Sheet'!AC8=0," ",'Sheet'!AC8), which
does work and returns a blank cell, the issue comes when I am charting and it
updates thinking that there is data in there due to the formula.
Does this make sense?!?
Regards
--
Nessygirl
"I really hate this machine, I wish that they would sell it, it never does
what I want, only what I tell it"


Shane Devenshire said:
Hi,

You should show us the formula you are using. But lets assume its something
like

=IF(VLOOKUP(A1,Sheet2!A1:D100,3,FALSE)="",NA(),VLOOKUP(A1,Sheet2!A1:D100,3,FALSE))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


:

I have created a rolling 12 month graph which looks at the data on a table
and determines which is the most up to date data to use and constantly will
update itself with the new month and remove the oldest month when new data is
entered......however, the data that I have is a lookup to another spreadsheet
which I have used a formula to retrieve, problem is that the dynamic chart is
assuming that because there is a formula in the table that it needs to be
charted even when the formula returns a null value. My excel skills are
average to say the best, so in laymans terms would be helpful :)
Thanks so much
 
N

Nessygirl

I am still having issues with this in that it is still charting till March
2013. I believe that this is caused by the fact that it sees a formula in
the last 12 months, rather than looking to see if there is actual data to be
charted....so essentially it is charting up to the last lot of data (June
2008 to May 2009), however attributing the data to the last 12 months (April
2012 to March 2013).....Please help..... :-(
I can email the spreadsheet if required.
Regards
Nessygirl
--
Nessygirl
"I really hate this machine, I wish that they would sell it, it never does
what I want, only what I tell it"


Jacob Skaria said:
" " is a space
Blank should be "" (without a space)

=IF('[Sheet'!AC8=0,"",'Sheet'!AC8)
OR
=IF('[Sheet'!AC8=0,NA(),'Sheet'!AC8)

If this post helps click Yes
---------------
Jacob Skaria


Nessygirl said:
Hi Shane, thanks for this, I am not using a VLOOKUP - would that be a better
idea than the formula I am using: =IF('[Sheet'!AC8=0," ",'Sheet'!AC8), which
does work and returns a blank cell, the issue comes when I am charting and it
updates thinking that there is data in there due to the formula.
Does this make sense?!?
Regards
--
Nessygirl
"I really hate this machine, I wish that they would sell it, it never does
what I want, only what I tell it"


Shane Devenshire said:
Hi,

You should show us the formula you are using. But lets assume its something
like

=IF(VLOOKUP(A1,Sheet2!A1:D100,3,FALSE)="",NA(),VLOOKUP(A1,Sheet2!A1:D100,3,FALSE))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


:

I have created a rolling 12 month graph which looks at the data on a table
and determines which is the most up to date data to use and constantly will
update itself with the new month and remove the oldest month when new data is
entered......however, the data that I have is a lookup to another spreadsheet
which I have used a formula to retrieve, problem is that the dynamic chart is
assuming that because there is a formula in the table that it needs to be
charted even when the formula returns a null value. My excel skills are
average to say the best, so in laymans terms would be helpful :)
Thanks so much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top