+ Reply to Thread
Results 1 to 10 of 10

Excel tells my formula in new name in name manager has a problem

  1. #1
    Registered User
    Join Date
    01-12-2022
    Location
    Haarlem, The Netherlands
    MS-Off Ver
    MS 365
    Posts
    3

    Excel tells my formula in new name in name manager has a problem

    So, I've been following a guide on how to create an invoice with excel on youtube (can't show you the exact video cause my account is fairly new, but it's the most famous one by the youtube channel: excel for freelancers)

    At around the 14 minute mark he says to put a formula in the'refers to' bar, namely the following formula: =OFFSET([tabname]!$A$2,1,,COUNTA([tabname]!$A$2:$A$999)-1,1
    If I type the EXACT same thing in my formula bar it says that there is something wrong with my formula. I've noticed that I'm using a different excel than in the video, but the video is not THAT old

    Feeling I'm missing something... But not sure what
    Anyone know what to do? Thanks in advance
    Last edited by davquak; 01-12-2022 at 07:28 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,252

    Re: Excel tells my formula in new name in name manager has a problem

    When you have an exclamation mark ( ! ) in a range, that means that whatever is in front is a sheet ( or tab ) name. So, maybe, something like Sheet1. If the sheet name has any spaces in it, you have to put single quotes ( ' ) round it. Something like 'Test Sheet 1'.

    It als looks as though you are missing a closing bracket.

    Which probably means your formula should be, for example,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-12-2022
    Location
    Haarlem, The Netherlands
    MS-Off Ver
    MS 365
    Posts
    3

    Re: Excel tells my formula in new name in name manager has a problem

    I double checked but, as I don't have any spaces, I don't need the single quotes.
    And I've got the closing bracket covered but still the same error.

    When I press enter and I click 'ok' on the error the following is highlighted: $A$2,1,,COUNTA
    Maybe the problem lies in that part?

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,573

    Re: Excel tells my formula in new name in name manager has a problem

    I am pretty sure that if you explain in detail what you want to achieve, someone here will get you a suggestion that works as good as the one in the video.
    A proper explanation is the key.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: Excel tells my formula in new name in name manager has a problem

    Could you attach a screenshot?
    Quang PT

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    45,252

    Re: Excel tells my formula in new name in name manager has a problem

    Try:
    =OFFSET(Sheet1!$A$2,1,,COUNTA(Sheet1!$A$2:$A$999)-1,1)

    But I prefer:
    =Sheet1!$A$3:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A))

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,542

    Re: Excel tells my formula in new name in name manager has a problem

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect - 2111 is a release number, not the version per se. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,377

    Re: Excel tells my formula in new name in name manager has a problem

    Given that you are in the Netherlands, I'd bet you need semicolons, not commas, in that formula.
    Everyone who confuses correlation and causation ends up dead.

  9. #9
    Registered User
    Join Date
    01-12-2022
    Location
    Haarlem, The Netherlands
    MS-Off Ver
    MS 365
    Posts
    3

    Re: Excel tells my formula in new name in name manager has a problem

    Aaah yes this is the solution! I noticed before that my formulas wouldn't show up so I changed the language in Excel from Dutch to English, but it still needs the semicolons to work.
    Thank you so much for your help!!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,542

    Re: Excel tells my formula in new name in name manager has a problem

    Please update your profile with the correct version of Office, as requested above. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA tells me I have a Loop without a Do, but I'm not sure where the problem lies.
    By FZappa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2019, 02:44 PM
  2. [SOLVED] I am in need of a formula, that tells me the attendance of Club members.
    By C21thirlmere in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-22-2015, 11:27 AM
  3. formula which tells me when something is due in days
    By s8lly76 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2015, 06:46 AM
  4. [SOLVED] problem copying images by name manager and match formula
    By dabaron in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2014, 08:48 AM
  5. [SOLVED] Excel formula that tells how much month left to reach target savings.
    By fadu4u in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2014, 01:59 PM
  6. Replies: 0
    Last Post: 05-21-2014, 03:30 PM
  7. [SOLVED] Formula that tells me whether a date is later than the current.
    By VivatMartin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2012, 10:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1