+ Reply to Thread
Results 1 to 7 of 7

Formula to get another result if cell is blank

  1. #1
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Formula to get another result if cell is blank

    Hi all,

    Need a formula for my price list. Lets say that the costumer has a discount of 10% on all products. I would like to give the costumer a special discount (lets say 20%) on some specific product(s). If no special discount is given, I would like the standard discounted price to be listed in "Final price" column and not the ordinary price.

    To be clear: If column E is set to 0 or blank, I would like the discounted price in column D to be listed in column F (final price) instead of the ordinary price in column C.

    Is this possible?

    Please see attached.
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to get another result if cell is blank

    Try this in F3 of your sample
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula to get another result if cell is blank

    try:
    =IF(OR(E2="",E2=0),D2,(C2-C2*E2/100))

  4. #4
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Formula to get another result if cell is blank

    I tried to add the formulas above but unfortunately I got an error code on both.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula to get another result if cell is blank


  6. #6
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Formula to get another result if cell is blank

    Quote Originally Posted by sandy666 View Post
    Ohh my.. Forgot to translate it. Thank you sandy!

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula to get another result if cell is blank

    you are welcome

+ 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. [SOLVED] If formula in one cell refers to another cell which is blank result is a blank cell
    By M-Tommo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-03-2014, 08:29 AM
  2. 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
  3. Blank cell if formula result is zero
    By excelbobabc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-08-2010, 01:18 PM
  4. Blank cell if result of formula is zero
    By nergui77 in forum Excel General
    Replies: 1
    Last Post: 05-04-2008, 12:47 AM
  5. How to get a formula result zero as blank cell
    By Excelerate-nl in forum Excel General
    Replies: 4
    Last Post: 11-22-2005, 12:40 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