# need help

#### ehsas

##### Board Regular
dataserie1 =OFFSET(sheet1!\$G\$1,COUNTA(sheet1!\$A:\$A)-monthcount,0,monthcount,1)

dataserie2 =OFFSET(sheet1!\$O\$1,COUNTA(sheet1!\$A:\$A)-monthcount,0,monthcount,1)

dataserie3 =OFFSET(sheet1!\$Y\$1,COUNTA(sheet1!\$A:\$A)-monthcount,0,monthcount,1)

dataserie4 =OFFSET(sheet1!\$AG\$1,COUNTA(sheet1!\$A:\$A)-monthcount,0,monthcount,1)

monthcount =IF(COUNT(sheet1!\$A:\$A)<25,COUNT(sheet1!\$A:\$A),25)

xvalues =OFFSET(sheet1!\$A\$1,COUNTA(sheet1!\$A:\$A)-25,0,25,1)

i am trying to do a dynamic chart whech i am using xvalues it is working fine but when I am trying to use the =test.xls!dataserie1 it gives me an error messege that your formula contains an invalie external data reference to workbook.what can be the error.Regards

### Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

#### Andrew Poulsom

##### MrExcel MVP
This SERIES formula works for me:

=SERIES(,test.xls!xvalues,test.xls!dataserie1,1)

with defined names:

dataserie1 =OFFSET(sheet1!\$G\$1,COUNTA(sheet1!\$A:\$A)-monthcount,0,monthcount,1)

monthcount =IF(COUNT(sheet1!\$A:\$A)<25,COUNT(sheet1!\$A:\$A),25)

xvalues =OFFSET(sheet1!\$A\$1,COUNTA(sheet1!\$A:\$A)-25,0,25,1)

#### ehsas

##### Board Regular
When adding the below the formula the yvalues in my chart itgives me error messege:- the series must contains one value in order to creat chart.any one can help.Regards,

=SERIES(,test.xls!xvalues,test.xls!dataserie1,1)

#### Andrew Poulsom

##### MrExcel MVP
What is the name of the workbook containing your chart?

Replies
3
Views
503
Replies
10
Views
323
Replies
9
Views
998
Replies
11
Views
336
Replies
8
Views
316

1,181,446
Messages
5,929,962
Members
436,709
Latest member
cbmxd

### 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?

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