+ Reply to Thread
Results 1 to 7 of 7

Remove zero values from Transpose function

  1. #1
    Registered User
    Join Date
    04-28-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    3

    Remove zero values from Transpose function

    I am using the transpose function to create a list for a data validation. But I can't seem to figure out how to remove the zero value from the array and so it appears in my validation. How can I make change the zeros to blanks.

    This is the formula I am using:

    =IFNA(TRANSPOSE(INDEX($B$2:$K$12,,MATCH('SheetA'!I3, $B$1:$K$1,0))),"")

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

    Re: Remove zero values from Transpose function

    If the formula is returning text rather than numbers/dates you can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    132

    Re: Remove zero values from Transpose function

    Quote Originally Posted by Fluff13 View Post
    If the formula is returning text rather than numbers/dates you can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Question, what does $B$2:$K$12&"" do in the INDEX function?

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

    Re: Remove zero values from Transpose function

    It prevents a blank cell from becoming 0, but will also convert a numbers/dates into text.

  5. #5
    Forum Contributor
    Join Date
    06-12-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    132

    Re: Remove zero values from Transpose function

    Quote Originally Posted by Fluff13 View Post
    It prevents a blank cell from becoming 0, but will also convert a numbers/dates into text.
    Thanks for the explanation.

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

    Re: Remove zero values from Transpose function

    You're welcome & thanks for the feedback.

  7. #7
    Registered User
    Join Date
    04-28-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    3

    Re: Remove zero values from Transpose function

    Quote Originally Posted by Fluff13 View Post
    If the formula is returning text rather than numbers/dates you can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you! This works perfectly!

+ 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. Function to remove duplicate values from a column
    By Rahul15292000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2019, 12:28 PM
  2. [SOLVED] How to get corresponding values in transpose function
    By genetist in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-01-2016, 10:08 AM
  3. [SOLVED] Use the TRANSPOSE() function to transpose a range as an input to the UDF
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-09-2015, 09:35 PM
  4. [SOLVED] The TRANSPOSE() function resulted in cells with unnecessary #N/A values
    By zjianguk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2013, 04:55 PM
  5. Transpose column to row but remove / delete certain values
    By rbrookov in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2011, 12:40 PM
  6. Remove spaces and transpose
    By Luck in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-02-2011, 07:29 PM
  7. Replies: 5
    Last Post: 12-02-2009, 08:02 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