+ Reply to Thread
Results 1 to 8 of 8

If INDEX formula shows 0 then leave cell blank

  1. #1
    Registered User
    Join Date
    05-27-2014
    Posts
    7

    If INDEX formula shows 0 then leave cell blank

    I have an Index formula which is looking up data from a large table, and then showing the data in chronological order in the table column (Test results from the past 2 years). But not all the dates have a data entry and show up 0.

    I want to have the dates which have a 0 value for specific tests to show BLANK so I can use the MIN or MAX function to discount the 0 values and only find the MIN or MAX from the relevant data..OR can I manipulate the MIN formula to discount 0 values?

    Help appreciated thank you

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: If INDEX formula shows 0 then leave cell blank

    I can't see what you've got... but couldn't you use=if(yourformula=0,"",yourformula)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    05-27-2014
    Posts
    7

    Re: If INDEX formula shows 0 then leave cell blank

    So far I have just used an IFERROR so the formula is...

    =IFERROR(INDEX(CSGData[CMJ1],$D4),"")

  4. #4
    Registered User
    Join Date
    05-27-2014
    Posts
    7

    Re: If INDEX formula shows 0 then leave cell blank

    Just used

    =IF(INDEX(CSGDATA[CMJ1],$D4)=0,""(INDEX(CSGDATA[CMJ1],$D4))

    Worked Perfectly thanks!!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: If INDEX formula shows 0 then leave cell blank

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

  6. #6
    Registered User
    Join Date
    05-27-2014
    Posts
    7

    Re: If INDEX formula shows 0 then leave cell blank

    Done and done :D

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: If INDEX formula shows 0 then leave cell blank

    Cheers and cheers...

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: If INDEX formula shows 0 then leave cell blank

    Quote Originally Posted by Rwe5ty1 View Post
    So far I have just used an IFERROR so the formula is...

    =IFERROR(INDEX(CSGData[CMJ1],$D4),"")
    What type of data does the formula return?

    If it's TEXT, try this...

    =IFERROR(T(INDEX(CSGData[CMJ1],$D4)),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Leave cell result blank if blank cell is in formula
    By Grind in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 09-28-2013, 06:15 AM
  2. [SOLVED] Cell referenced in formula has no information displayed (shows blank), return blank cell
    By nunayobinezz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2013, 04:51 PM
  3. Formula to leave a cell blank
    By dandavis1 in forum Excel General
    Replies: 6
    Last Post: 08-25-2009, 05:54 AM
  4. Blank cell shows 0 or 12:00 AM if there is formula
    By fun123 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-25-2009, 03:38 PM
  5. Formula <0 leave cell blank
    By Whit in forum Excel General
    Replies: 3
    Last Post: 08-12-2006, 09:50 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