Dynamic Charts in Excel 365

crashcoursetrading

New Member
Joined
Feb 22, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Everyone, I am having a problem making a Dynamic graph in 365.

I have tried the following in reference to the following article:

This does not work.

-OFFSET('Summary'!$AT$5,0,0,COUNTA('Summary'!$AT$5:$AT$31))

I have tried the same thing with index that doesnt work either.
It saves it as a named range, but when I come to reference its name as a range for a chart, it flags up an error.

There is an error in the formula you entered: Make sure you've included all of the required parentheses and arguments.
Verify any reference to anther sheet or workbook
if you aren't entering a formula, then avoid an equals to ['='] or minus sign ['-']

As you can see, I am not. I am starting to think I cant make dynamic charts in Excel 365.

If anyone knows how to do this, I would really appreciate knowing. I have done this lots in the past. Absolutely frustrated with this.

Column 1 Column 2
1 500(Formula linked to another cell)
2 (if data is in column 2, +1) 1000

The formula then adds in a 3 when there is new data in column 1 row 3.

I tried to use tables, but it appears that you have to enter the data for it to recognise a new row. The graph should then include the new row.

I would appreciate any help on this or prehaps its not possible in 365. Not very satisfactory. If there is an easier way to do this please let me know.


Cheers,
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
when I come to reference its name as a range for a chart, it flags up an error
How exactly are you doing that? If you are doing it in the select data dialog, you should prefix the name with a sheet name or the workbook name - eg
Excel Formula:
=SomeSheet!Range_name
 
Upvote 0
RoryA,

Really appreciate your assistance. Please have a look at the 3 attachments.

Please see snippets of what I have done.

I tried it and it doesn't like the Summary!Cum_Results
 

Attachments

  • error_messages.JPG
    error_messages.JPG
    78.1 KB · Views: 19
  • name_range1.JPG
    name_range1.JPG
    65.8 KB · Views: 21
  • name_range2.JPG
    name_range2.JPG
    69.1 KB · Views: 21
Upvote 0
Your range includes the header cell in row 5 but that shouldn't really cause the issue - though I'm surprised it isn't showing up as a 0 in the values shown in the Edit Series dialog.
 
Upvote 0
Can you post the actual file somewhere (eg Dropbox or OneDrive) with dummy data in it? I can’t replicate your error
 
Upvote 0
Can you post the actual file somewhere (eg Dropbox or OneDrive) with dummy data in it? I can’t replicate your error
Do you use discord? I have it there.

crashcoursetrading@8128

I will investigate If I can share this with you via onedrive.
Here is the link via dropbox. It has some harmless macros in it to shorten some activities for the book.

 
Upvote 0
It works fine for me using:

=OFFSET(Summary!$AU$6,0,0,COUNT(Summary!$AU$6:$AU$31))

Note: I used COUNT not COUNTA as you have formulas in all the 'blank' cells, which COUNTA would include.

I also removed your INDEX:INDEX names as they were incorrect.
 
Upvote 0
Solution
Please note:

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
RoryA,

I can not thank you enough for the time you have spent on this. I do appreciate it. Cant believe I got frustrated by something so simple and I could not see the way through ;-(.

It works for me too. I have read the rules on Cross Posting. Appreciate them. Will not cross post in the future unless after a few days.

I have commented in the two other places as well that I have an answer that works.

Thank again.

Alex Chatwin
 
Upvote 0

Forum statistics

Threads
1,217,461
Messages
6,136,793
Members
450,025
Latest member
Beginner52

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