+ Reply to Thread
Results 1 to 6 of 6

If cell is MT, then value coming ERROR

  1. #1
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    If cell is MT, then value coming ERROR

    Hi friends,

    I have below formula in my worksheet, If any one cell not contain any value, then formula getting error like

    Please Login or Register  to view this content.
    any suggestions.

    Eg : If I have any MT cells in CG7, CI7, CK7, CS7, CU7, CW7, CY7; then formula answer getting error.

    Actually I want : If any cell is MT, then value can be 0 and total formula will work.
    Last edited by rajeshn_in; 11-08-2016 at 05:35 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If cell is MT, then value coming ERROR

    You could put this in at the beginning... IF(OR(CG7,CI7,CK7,CS7,CU7,CW7,CY7)="MT",0,then the remainder of your formula.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Re: If cell is MT, then value coming ERROR

    MT means, "No value is there", not MT words, can I use above formula

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: If cell is MT, then value coming ERROR

    It would be better if there was a sample file on which to test possible solutions. To upload a sample select the GO ADVANCED button and scroll down to MANAGE ATTACHMENTS (the paperclip icon doesn't work).
    That said and though it is a bit on the tedious side, but it seems you could preface each addend segment with an IF function so that if the lookup value isn't blank it will preform the vlookup and if the lookup value is blank that addend segment will evaluate to zero as in:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Re: If cell is MT, then value coming ERROR

    Thank you JeteMc

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: If cell is MT, then value coming ERROR

    You're Welcome. Thank You for the feedback and for marking the thread as solved. I hope that you have a blessed day.

+ 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. Replies: 6
    Last Post: 03-19-2013, 11:41 AM
  2. Every Error Message from VBA is coming back as "Out of Memory", while it is not!
    By TopXorGuy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2013, 10:57 PM
  3. Replies: 4
    Last Post: 12-28-2012, 04:38 PM
  4. Macro coming back with Run Time Error
    By amasulli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2012, 10:44 AM
  5. type mismatch error coming
    By kshitij_dch in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-31-2012, 11:19 AM
  6. Over coming a div/o and NA error
    By bopsgtir in forum Excel General
    Replies: 2
    Last Post: 12-18-2010, 06:33 PM
  7. Values not coming in few cell but coming in rest all cells
    By rashmib in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 11:19 AM
  8. Macro coming up with debug error,
    By donnydorko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2009, 11:56 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