+ Reply to Thread
Results 1 to 8 of 8

Table Filter Formula, No data, return words "No Data"

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Table Filter Formula, No data, return words "No Data"

    Hello,

    I am trying to add a No Data return value to the below, but I still get a #NAME? returned when no data is found within the filter results.

    =FILTER(INDEX(TData,SEQUENCE(ROWS(TData)),{3,2,1,5}),IF(B4="All",1,TData[Charity Name]=B4)*(TData[Unit Date]>=C2)*(TData[Unit Date]<=C3)*IF(B5="All",1,TData[Unit ID]=B5),?No Data?)

    I appreciate any help.

    Thank you,
    Nick

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Table Filter Formula, No data, return words "No Data"

    how about:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,083

    Re: Table Filter Formula, No data, return words "No Data"

    You need to replace the ? marks around No Data with quotes "

  4. #4
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Table Filter Formula, No data, return words "No Data"

    Best guess, based on your formula, is that you are using curly quotes. Make sure they are straight:

    =FILTER(INDEX(TData,SEQUENCE(ROWS(TData)),{3,2,1,5}),IF(B4="All",1,TData[Charity Name]=B4)*(TData[Unit Date]>=C2)*(TData[Unit Date]<=C3)*IF(B5="All",1,TData[Unit ID]=B5),"No Data")
    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.

  5. #5
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Table Filter Formula, No data, return words "No Data"

    Interesting, on my formula it is "No Data", but when I copied it over here it copied with ?No Data?

  6. #6
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Table Filter Formula, No data, return words "No Data"

    But when I retyped the formula, it decided to work now. Thank you everyone!

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,083

    Re: Table Filter Formula, No data, return words "No Data"

    Glad to help & thanks for the feedback.

  8. #8
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,978

    Re: Table Filter Formula, No data, return words "No Data"

    Interesting, on my formula it is "No Data", but when I copied it over here it copied with ?No Data?
    That's how I knew you'd used curly quotes - the forum will not display anything but straight ones.

+ 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] Formula to count "low", "med", or "high" in 4 columns of data split by fiscal quarter
    By Kerry1980 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-11-2022, 06:58 AM
  2. Replies: 0
    Last Post: 08-09-2021, 04:33 PM
  3. Replies: 4
    Last Post: 01-22-2020, 06:31 AM
  4. Filter Specific Pivot Table Field based on "Contains Words in Cell Range x:x"
    By morangeman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2017, 12:48 AM
  5. [SOLVED] Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-30-2015, 04:52 AM
  6. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  7. "Criteria Range" in the "Data/Filter/Advanced Filter" to select Du
    By TC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-11-2005, 10: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