+ Reply to Thread
Results 1 to 4 of 4

If value is missing in any column, then cannot perform operation

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    871

    If value is missing in any column, then cannot perform operation

    Hi, i need some help in figuring out this formula:
    in cell H3 i have:

    =SI(D3="","",D3-(E3+G3+C3))

    but i want to see if there is missing value in C3 and/or D3 then the formula will output "Missing Value" instead of perfroming the operation. I have attached the excell sheet. Please help , thanks in advanced.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: If value is missing in any column, then cannot perform operation

    Try this in cell H2

    =IF(D2="","",IF(OR(C2="",D2=""),"Missing Value",D2-(E2+G2+C2)))
    Drag it down

    Hope that helps!


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    871

    Re: If value is missing in any column, then cannot perform operation

    that worked for C2, but when a value is missing in d2, its blank, how can you make it to print "Missing Value in D2" when nothing is entered in d2?
    Thanks in advance.
    Last edited by chubbychub; 10-24-2012 at 05:08 PM.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: If value is missing in any column, then cannot perform operation

    Try this in cell H2

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


    Hope that helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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