+ Reply to Thread
Results 1 to 7 of 7

Need cell with formula to show as blank instead of error message when no data is entered

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2016
    Location
    Seattle, WA
    MS-Off Ver
    2013
    Posts
    2

    Need cell with formula to show as blank instead of error message when no data is entered

    Problem solved, thank you all!

    I am using a formula in column E to show me the last date a field report was logged per project. Here is an example of my formula from cell E3:

    =OFFSET(F3,0,MATCH(MAX(F3:AAC3)+1,F3:AAC3,1)-1)


    However, with hundreds of projects initiated but no field report started, I am hoping to clean up my spreadsheet and eliminate the #N/A error from displaying until I enter the first date.

    I have used a formula in the past to keep a cell with a formula blank until data is entered, but I cannot figure out how to do that with this particular formula. I can't figure out where I need to insert the appropriate functions into my formula.

    I am a self-taught Excel user and typically just play around until I figure something out, but this one really has me stumped. I want to apologize in advance if there is a simple solution that I'm just missing and this is cluttering up the forum! I appreciate your understanding and your assistance.
    Last edited by jaiverson; 01-05-2016 at 07:05 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    wrap the formula in an IFERROR

    ie
    =IFERROR(OFFSET(F3,0,MATCH(MAX(F3:AAC3)+1,F3:AAC3,1)-1),"")
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,608

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    Use IFERROR.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,434

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    Try it like this:

    =IFERROR(OFFSET(F3,0,MATCH(MAX(F3:AAC3)+1,F3:AAC3,1)-1),"")

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    01-05-2016
    Location
    Seattle, WA
    MS-Off Ver
    2013
    Posts
    2

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    You guys are the best! You taught me a new function that solves a lot of issues for me. Thanks a million!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,434

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    Well, that's great - thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,608

    Re: Need cell with formula to show as blank instead of error message when no data is enter

    You're welcome. Thanks for the 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. making my error message show a blank cell when printed
    By jimsake01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2015, 03:25 PM
  2. [SOLVED] making my error message show a blank cell when printed
    By jimsake01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-08-2015, 04:30 PM
  3. [SOLVED] Formula for a cell value to show as blank till the varible has been entered
    By arkadd61 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2013, 09:46 PM
  4. [SOLVED] If one cell contains #, & other cell is blank, show message & require blank be resolved
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-19-2012, 02:23 PM
  5. macro - Save in .xls format/to specific location/name from entered data/show message
    By mimichan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2012, 10:38 AM
  6. Cell to show blank until data entered ?
    By conks in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2008, 09:12 AM
  7. Show cell as blank until value is entered
    By Ltat42a in forum Excel General
    Replies: 7
    Last Post: 06-16-2008, 01:50 PM

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