+ Reply to Thread
Results 1 to 4 of 4

How to display total IF other cell value euqals 1

  1. #1
    Registered User
    Join Date
    07-17-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    21

    How to display total IF other cell value euqals 1

    Hello,

    I am displaying a total from a formula (shown below) in cell B20.

    If the value of cell F26 equals 1 the calculation is shown in B20.

    I want to add the following to it - If F26 equals 2 then display a message "No Discount Applied" in cell B20.

    =IF(F26=1,B18-(B18*0.2),B18)


    How should I do this?
    Last edited by tomkilbourn; 09-26-2009 at 07:08 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to display total IF other cell value euqals 1

    try this:

    =IF(F26=2,"No Discount Applied",IF(F26=1,B18*0.8,B18))

  3. #3
    Registered User
    Join Date
    07-17-2009
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: How to display total IF other cell value euqals 1

    Thats it, thankyou

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How to display total IF other cell value euqals 1

    Please make thread [solved]

+ 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