• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Dynamic Named Ranges and Formulas|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Dynamic Named Ranges and Formulas|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Dynamic Named Ranges and Formulas
sp_PrintTopic sp_TopicIcon
Dynamic Named Ranges and Formulas
Avatar
maced62
Member
Members
Level 0
Forum Posts: 7
Member Since:
August 19, 2016
sp_UserOfflineSmall Offline
1
February 4, 2022 - 11:00 am
sp_Permalink sp_Print

Folks,

First time posting so I will make as brief and succinct as possible.  Using Excel 2016 desktop version on Windows 10.  My question/issue revolves around dynamic named ranges and the ability for them to ignore cells with formulas.  

I did some searching and reading and found that using =OFFSET(Data!$C$2,0,0,COUNTIF(Data!$C$3:$C$25,"?*") would ignore blanks and/or cells that have formulas but no data.  My attached sample file contains additional information regarding the issue and the bottom line is that if I use line pivot chart with running totals, it includes blank cells in the running total and causes a flat line where the after the last point with data.  With a regular chart, I can plot the graduate data with an end and a projection line that begins where that line ends.  

So, back to the dynamic range issue that underlies all of this; I can't get the dynamic ranges to correctly ignore those blank cells with formulas and wanted to see if anyone has a suggestion or workaround.

Thanks in advance,

DougRegularChart.PNGImage Enlarger

PivotTableChart.PNGImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage RegularChart.PNG (22 KB)
  • sp_PlupImage PivotTableChart.PNG (25 KB)
sp_AnswersTopicSeeAnswer See Answer
Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 618
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
2
February 4, 2022 - 7:36 pm
sp_Permalink sp_Print

For Requirement and Graduates, you only want the numeric cells so you can use COUNT:

=OFFSET(Visuals!$D$6,0,0,COUNT(Visuals!$D$6:$D$31),1)

=OFFSET(Visuals!$E$6,0,0,COUNT(Visuals!$E$6:$E$31),1)

For Projection, you could then just use something like:

=OFFSET(Requirement,0,2)

sp_AnswersTopicAnswer
Answers Post
Avatar
maced62
Member
Members
Level 0
Forum Posts: 7
Member Since:
August 19, 2016
sp_UserOfflineSmall Offline
3
February 6, 2022 - 1:44 am
sp_Permalink sp_Print

Velouria,

Simple yet elegant and if my knee could bend backwards, I would kick myself in the shorts for not exploring the other COUNT functions.  One final question and if I need a new thread I will do so.  I want to get a running total of the SUMPRODUCT; I have been using for example:  =SUM($B$2:B2 ) and copying that formula down the range of cells.  I tried wrapping the SUMPRODUCT in this formula and hitting CTRL-SHIFT-ENTER to make it an array formula but no luck.  Suggestions?

maced62

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 618
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
4
February 7, 2022 - 7:11 pm
sp_Permalink sp_Print

I'd make your data source into a table, called say SourceData, then use a formula like:

 

=IF(SUMPRODUCT(SUMIFS(SourceData[Grad_Proj],SourceData[Class Year],$B$1,SourceData[Location],$B$2,SourceData[Phase],$B$3,SourceData[Class],$C$6:$C6))=0,"",SUMPRODUCT(SUMIFS(SourceData[Grad_Proj],SourceData[Class Year],$B$1,SourceData[Location],$B$2,SourceData[Phase],$B$3,SourceData[Class],$C$6:$C6)))

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Dieneba NDIAYE, Alexandra Radu, Natasha Smith, Monique Roussouw
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6216
Posts: 27250

 

Member Stats:
Guest Posters: 49
Members: 31897
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.