Dinamic Named ranges error on formula!?


"Excel VBA Help"

 


Play Friv Now - Play Friv Games
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Excel Forum
Our Info Pages:-
The Code Cage - Microsoft Office help

Notices

Microsoft Excel Forum Members Post questions in this forum if they are related to using Microsoft Excel, this includes Worksheet Functions, Excel VBA Programming, Simple Macro Code & Charting, Excel formula etc.

New Reply
Thread Tools Rate Thread Display Modes
  #1  
Unread 10th February 2017, 13:11
silvapereira's Avatar
silvapereira silvapereira is offline
Junior Member
MS Office Version: Ms Office 2013
MS Office Skill Level: Some VBA experience
 
Join Date: Feb 2017
Location: Lisbon, Portugal
Posts: 28
Posts Per Day: 0.24
My Top Tip Count: 0
Thanks to others: 1
Thanked 0 Times in 0 Posts
Reputation: 10 (1) silvapereira is on a distinguished road
Portugal
Default Dinamic Named ranges error on formula!?
     Excel: Functions   


------ Register to get rid of these "In Post" ads! ------

Category: Excel: Functions   

Hi,

I have a problem.
When I try to fulfill the refers to field to make a dinamic named range with the formula: =offset(sheet!$A$1,,, counta(sheet!$A$1:$A$12))
It always returns a error:
The formula you trying to write as an error ...

I've tryed with portuguese:
=desloc(A1,,,cont.Valores(A1,A12))
but I get the same result.

What is the problem??
I attach an image of that.
Hellp me, please
Attached Images To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.

The Code Cage Advertisment
Advertisement
  #2  
Unread 10th February 2017, 14:17
Pete_UK's Avatar
Pete_UK Pete_UK is offline
Solution Centre Professional
MS Office Version: MS Office 2003, 2007
MS Office Skill Level: Proficient with Excel
 
Join Date: Mar 2009
Location: Warrington, England
Age: 65
Posts: 640
Posts Per Day: 0.21
My Top Tip Count: 0
Thanks to others: 8
Thanked 135 Times in 134 Posts
Reputation: 2624 (41) Pete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond reputePete_UK has a reputation beyond repute
Great_Britain
Default Re: Dinamic Named ranges error on formula!?

------ Register to get rid of these "In Post" ads! ------


Try it like this:

=offset(sheet!$A$1,,,counta(sheet!$A$1:$A$12),1)

or in Portuguese:

=desloc(A$1,,,cont.Valores(A$1:A$12),1)

(I would have thought you would use a semicolon ( ; ) instead of the commas ( , ) in the formula).

Hope this helps.

Pete

  #3  
Unread 10th February 2017, 19:22
silvapereira's Avatar
silvapereira silvapereira is offline
Junior Member
MS Office Version: Ms Office 2013
MS Office Skill Level: Some VBA experience
 
Join Date: Feb 2017
Location: Lisbon, Portugal
Posts: 28
Posts Per Day: 0.24
My Top Tip Count: 0
Thanks to others: 1
Thanked 0 Times in 0 Posts
Reputation: 10 (1) silvapereira is on a distinguished road
Portugal
Default Re: Dinamic Named ranges error on formula!?

------ Register to get rid of these "In Post" ads! ------


Hi Pete,
Thanks for your reply.
I've tryied your solution in a computer with english menus, but as you can see on the attachement, it didn't work.
Later at home I will try the portuguese formula that you send (I think you are right about the use of semicolon) and I'll give you some more feedback, Ok.

Nevertheless I think is very frustatting. Why the formula doesn't work??
Several foruns and youtube visualizations, all said the same, but for me the formula just doesn't work?
Why?

Regards
Attached Images To view attachments in this forum your post count must be 2 or greater. You currently have 0 posts.


Last edited by silvapereira; 10th February 2017 at 19:25.
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!

  #4  
Unread 11th February 2017, 09:33
Ingolf's Avatar
Ingolf Ingolf is offline
Junior Member
MS Office Version: Ms Office 2013
MS Office Skill Level: Proficient with Excel
 
Join Date: Oct 2011
Location: KK
Posts: 22
Posts Per Day: 0.01
My Top Tip Count: 0
Thanks to others: 3
Thanked 2 Times in 2 Posts
Reputation: 60 (6) Ingolf will become famous soon enough
Peru
Default Re: Dinamic Named ranges error on formula!?

------ Register to get rid of these "In Post" ads! ------


I don't know your regional settings, try:

=offset(sheet!$A$1;;;counta(sheet!$A$1:$A$12);1)

  #5  
Unread 12th February 2017, 18:51
silvapereira's Avatar
silvapereira silvapereira is offline
Junior Member
MS Office Version: Ms Office 2013
MS Office Skill Level: Some VBA experience
 
Join Date: Feb 2017
Location: Lisbon, Portugal
Posts: 28
Posts Per Day: 0.24
My Top Tip Count: 0
Thanks to others: 1
Thanked 0 Times in 0 Posts
Reputation: 10 (1) silvapereira is on a distinguished road
Portugal
Default Re: Dinamic Named ranges error on formula!?

------ Register to get rid of these "In Post" ads! ------


Hi friends,
After several tries I thinK I had the problema solved:
=DESLOCAMENTO(Lists!$D$4;;;CONTAR.VAL(Lists!$D$4:$D$16))

Thank You to you all
Regards

The Code Cage Advertisment
Advertisement
New Reply
The Code Cage at Facebookhe Code Cage at Twitter


Tags
dinamic, error, formula, named, ranges

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

The Code Cage Affilliates



http://www.thecodecage.com/forumz tested by McAfee Security http://www.thecodecage.com/forumz tested by McAfee Security

All times are GMT +1. The time now is 08:35.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright ©2008 - , Simon lloyd.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
UA-8135493-1
Cultural Forum | Study at Malaysian University