DO NOT Count Cells With Formula Without Data In Them For Dynamic Chart Range

PPriest

New Member
Joined
Jun 11, 2018
Messages
36
I am trying to create a chart with a dynamic range pointing to cells that have formulas in them (in this example - the yellow range). If the formula returns no data, I want those cells to be ignored.

This video (How to Create a Dynamic Chart Range in Excel) shows what I am trying to do, and it would work if I could get the OFFSET COUNTIF formula to work.

Any suggestions or different approaches? I should mention that the data the formula will be returning in Column D could be either numeric or alphabetic or a combination of both.

1587559520542.png
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Maybe in your case by replacing the COUNTIF(E3:E23,"<>*") with COUNTIF(E3:E23,">0")
 
Upvote 0
Because you have not only numbers in your range... Not the same picture as before.

Maybe this works =OFFSET(E3,,,COUNTA(E3:E23)-COUNTIF(E3:E23,""))
 
Upvote 0
or =OFFSET(E3,,,MATCH(TRUE,E3:E23="",0)-1)
 
Upvote 0
Cool, glad it finally worked. Thx for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,946
Members
449,198
Latest member
MhammadishaqKhan

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