+ Reply to Thread
Results 1 to 4 of 4

[Google Sheet] Query not to include empty cell

  1. #1
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    [Google Sheet] Query not to include empty cell

    Dear All.
    How do you write a query formula with the condition not to include empty cells in column C. I've tried using this formula =QUERY(A2:D20,"SELECT C, WHERE C IS NOT EMPTY,COUNT(C) GROUP BY C") but it didn't work and give me #VALUE.
    Here I attach the link of my GSheet file.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: [Google Sheet] Query not to include empty cell

    Try this;

    Please Login or Register  to view this content.
    Last edited by Haluk; 02-03-2023 at 10:09 AM.

  3. #3
    Forum Contributor
    Join Date
    12-01-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 365
    Posts
    109

    Re: [Google Sheet] Query not to include empty cell

    Dear Haluk,
    Thank you for your response and it is work.

  4. #4
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: [Google Sheet] Query not to include empty cell

    You're welcome, thanks for your response and rep.

+ 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] Google Sheet : Query Formula Based On Date (Only format mm-yyyy)
    By Jhon Mustofa in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 11-25-2021, 09:05 AM
  2. Google sheet: Help to attachment file from Google Drive and send email fill in Google Form
    By sbv1986 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-01-2021, 10:47 PM
  3. Move last cell in column to the next right empty cell if row in sheet is empty
    By Daijhan97 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2019, 07:05 AM
  4. [SOLVED] Trouble copying 1st empty cell from one sheet to 1st empty cell in 2nd sheet.
    By BobW1952 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-29-2014, 02:56 PM
  5. Query refresh problem if cell is empty
    By hugohonda in forum Excel General
    Replies: 1
    Last Post: 09-25-2012, 03:40 PM
  6. Replies: 0
    Last Post: 07-13-2012, 02:26 PM
  7. [SOLVED] How do I not include empty cell value chart labels in pie charts?
    By JMarble in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-13-2005, 04:06 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