+ Reply to Thread
Results 1 to 4 of 4

IF Formula

  1. #1
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    IF Formula

    Looking for formula for the following: Column C cells can only be "IN" or "OUT". IF C1 is "IN" then E1=D1. IF C1 is "OUT" then E1= D1-10. IF D1 is empty then E1 remains empty.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: IF Formula

    =if(D1="","",if(C1="in",D1,if(C1="out",D1-10)))
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,533

    Re: IF Formula

    Try

    =IF(D1="",E1="",IF(C1="IN",D1,D1-10))

  4. #4
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: IF Formula

    As always, the responses to my requests are quick and correct...many thanks again,

+ 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. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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