+ Reply to Thread
Results 1 to 4 of 4

IF formula

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    IF formula

    I have the following in Y10 and would like to modify it based on the content of D8

    =IFERROR(+H16*Y8,"")

    If D8=Yes then the above would apply

    If D8 = NO or blank then the entry would be 0

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF formula

    Hi

    One way

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

    I have assumed 'No' or blank are the only two other options.Otherwise

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: IF formula

    Try this:

    =IF(D8="yes",IFERROR(H16*Y8,""),0)

    This doesn't test explicitly for No or blank (assumes those are the alternatives to Yes).

    Next time consider a thread title which is a bit more descriptive of your problem.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: IF formula

    Thanks for your reply

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. 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