+ Reply to Thread
Results 1 to 3 of 3

Formula not working in Google Sheets

  1. #1
    Registered User
    Join Date
    01-17-2023
    Location
    Berlin, Germany
    MS-Off Ver
    Google Cloud
    Posts
    2

    Formula not working in Google Sheets

    Hello,

    I am having trouble getting a formula to work in Google Sheets. The formula I am using is:

    =IF(NOT(ISBLANK(Kalender!L28)), Kalender!$L$1&" "&Kalender!L28 , "")

    The formula is supposed to check if the cell L28 on the sheet "Kalender" is empty and if it's not, it should concatenate the content of cell L1 on the sheet "Kalender" with a space and the content of cell L28 on the sheet "Kalender", and if the cell L28 is empty, it should not insert any content. However, when I enter this formula in a cell, it gives me an error message "Error parsing formula".

    I have checked that the sheet name "Kalender" and cell addresses L1 and L28 are spelled correctly and that they exist in my spreadsheet. I also have the necessary permissions to access these cells. I also tried an alternative formula:

    =IF(LEN(Kalender!L28)>0, Kalender!$L$1&" "&Kalender!L28, "")

    But it also gave me the same error.
    I've noticed that the formula =Kalender!$L$1&" "&Kalender!L28 does work, but I need to check if the cell L28 is not empty before concatenating.

    I am not sure what the problem is and would appreciate any help or suggestions.

    Thank you.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,820

    Re: Formula not working in Google Sheets

    I don't replicate the error. When I set up a new sheet and copy those formulas in, I get no error, and I get the expected result.

    One somewhat common "error" (related to locale settings) is using commas to separate the function arguments. Is it possible that your locale settings are requiring semi-colons or some other character as the argument separator? =IF(NOT(ISBLANK(Kalender!L28)); Kalender!$L$1&" "&Kalender!L28 ; "")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    01-17-2023
    Location
    Berlin, Germany
    MS-Off Ver
    Google Cloud
    Posts
    2

    Re: Formula not working in Google Sheets

    Thank you so much for your help, the formula you provided: =IF(NOT(ISBLANK(Kalender!L28)); Kalender!$L$1&" "&Kalender!L28 ; "") worked perfectly and solved the problem.

    I apologize for not mentioning the possibility of the separator character being the issue earlier. Your suggestion to change the separator character to a semicolon was the key to solving the problem.

    Thank you again for your help and for taking the time to assist me.

+ 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. Countifs not working in Google Sheets
    By acruthi in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 12-02-2021, 12:11 AM
  2. Formula not working when linking data from google sheets
    By nataliem-r in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2021, 07:47 PM
  3. [SOLVED] Google Sheets - SORT formula working but data not visible
    By Ian99099 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 11-30-2020, 06:57 PM
  4. Array formula not working in Google Sheets
    By nappy1001 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 04-20-2018, 12:14 PM
  5. Google Sheets Script not working
    By jsmity in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 02-02-2017, 11:36 AM
  6. From Excel working to Google Sheets no longer working
    By rad1964 in forum Excel General
    Replies: 5
    Last Post: 07-19-2016, 10:23 PM

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