Love Numbers Hate Graphs.

Irwell

Board Regular
Joined
May 24, 2012
Messages
54
Office Version
  1. 365
Platform
  1. Windows
I love data tables but hate graphs but naturally most people love a good graph so I'll do as I'm requested :)

I have a data table with headings of week commencing dates (Horizontal Axis) then under that I have numbers (Vertical Axis)..

Now at the moment only the first 4 weeks have valid data in, the rest are formulas awaiting future data.

My line graph that I quickly created obviously shows a drop and a flat line post the 4 weeks, hope that makes sense.

I'd like it to be that when the data updates or we pass a specific date that it automatically updates the chart without ever having the drop and flatline. The only way I know of is adapting the table week on week which is what I've been doing but was wondering if there is a simpler way that I don't know about?


1586338770279.png


1586338954833.png



Many thanks,
Simon
 

Attachments

  • 1586338880401.png
    1586338880401.png
    13.7 KB · Views: 7
  • 1586338946417.png
    1586338946417.png
    16.2 KB · Views: 6
You're a star mate. Surely there is a neater way of doing it though :)
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
One snag... What if one of the numbers is actually a 0...
 
Upvote 0
Ignore me, I'm now looking at an average formula which it wont work for. So need to rethink for this one. :)
 
Upvote 0
IF(AVERAGEIFS('Nurse Triage'!$BA:$BA,'Nurse Triage'!$BB:$BB,Data!B$7)

So this one is returning a div if in BB there is no week number matching current or future weeks.

I think I need something to make it ignore the DIV

Thoughts.
 
Upvote 0
Done it :D

=IF(ISERROR(AVERAGEIF('Nurse Triage'!$BB:$BB,Data!B$7,'Nurse Triage'!$BA:$BA)),NA(),(AVERAGEIF('Nurse Triage'!$BB:$BB,Data!B$7,'Nurse Triage'!$BA:$BA)))
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,383
Members
449,445
Latest member
JJFabEngineering

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