Anzeige
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Anzeige
Inhaltsverzeichnis

Dynamic chart range with text labels as x axis

Forumthread: Dynamic chart range with text labels as x axis

Dynamic chart range with text labels as x axis
21.05.2017 20:37:31
Rx1600
Dear all,
I carefully read though Forum postings regarding dynamic chart ranges using this Function for defined Ranges. =OFFSET(DynamicChart1!$B$2,0,0,COUNTA(DynamicChart1!$B:$B)-1)
This normally ensures that the Charts get resized not reflecting empty rows.
However, one of the column uses a vlookup function and returns text contents in the cell even for blank cells because these return empty strings like "". The chart treats this as additional row. Unfortunately, this column is nexessary as Text values are the Labels for the x Axis. Any idea how to make the chart ignore the Text Labels that are ""?
I can read answers in German as well.
Many many thanks.
Regards
Rx1600
Anzeige

2
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: mit VERWEIS() bzw. LOOKUP() ...
21.05.2017 21:00:52
...
Hallo Rx1600,
... wenn ich Dich richtig verstanden habe, so:
=OFFSET(DynamicChart!B2,0,0,LOOKUP(9,1/(DynamicChart!B1:B99""),ROW(DynamicChart!B:B))-1)
oder besser mit INDEX(), denn diese Funktion ist nicht volatil:

=DynamicChart!B2:INDEX(DynamicChart!B:B,LOOKUP(9,1/(DynamicChart!B1:B99""),ROW(DynamicChart!B:B)))

Gruß Werner
.. , - ...
Anzeige
AW: mit VERWEIS() bzw. LOOKUP() ...
21.05.2017 22:31:40
Rx160
Perfekt! Hat funktioniert. Vielen vielen Dank!

Forumthreads zu verwandten Themen

Anzeige