Excel Chat

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,134
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
this is the chat data from P2 to Q25 the numbers are all calculated. as per the screen shot the chart is not working as dynamic range any soultion then sheet name is table.
should exclude blank from x axis


Cell Formulas
RangeFormula
P2:P25P2=IFERROR(INDEX($L$2:$N$54,MATCH(Q2,$N$2:$N$54,0),1),"")
Q2:Q25Q2=IFERROR(INDEX($N$2:$N$65,MATCH(0,IF($N$2:$N$65<>0,COUNTIF(Q$1:Q1,$N$2:$N$65),1),0)),0)
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
sub_clasifiction=OFFSET(Table!$Q$2,0,0,COUNT(Table!$Q$2:$Q$65),1)Q3:Q25, P2


1700562997057.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What range are you using for the category axis values? If you use a dynamic range like =OFFSET(sub_clasifiction,0,-1) it should only include cells where there is a number in column Q.
 
Upvote 0
What range are you using for the category axis values? If you use a dynamic range like =OFFSET(sub_clasifiction,0,-1) it should only include cells where there is a number in column Q.
yes using offset
 
Upvote 0
yes using offset
I just noticed that your value formulas are returning 0 not "" so presumably you have set the sheet or range to not display 0 values. In that case, your COUNT will include all the cells. You may have to use something like COUNTIF($P$2:$P$65,"?*") instead.
 
Upvote 0
ok got the idea, i will change the formual to values, then it will work, thanks a ton man.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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