+ Reply to Thread
Results 1 to 4 of 4

IF function with multiple Trues, multiple outcomes

  1. #1
    Registered User
    Join Date
    06-13-2014
    Posts
    2

    IF function with multiple Trues, multiple outcomes

    Hello All,

    First off I would like to say hello. I have found this forum very useful in the past but this is my first post! I am relatively novice at excel, so I apologize for that. Thank you for all of the help you guys have provided and for the help I can hopefully get on this question. So here we go

    So I have a column of different dollar values and an adjacent column that will just be Yes or No for each dollar value. Only one value will every come out as "Yes." I just want a function for a cell on a seperate sheet that shows the dollar value for whichever one is currently chosen (Says Yes).

    Does this make sense? Sorry if this is a very simple question and thank you very much for any help you can provide.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: IF function with multiple Trues, multiple outcomes

    you can use an index match if there will only ever be 1 yes in the column

    =index(column with values, ("yes", column with yes in , 0))
    change column with values / yes to the range you have
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-13-2014
    Posts
    2

    Re: IF function with multiple Trues, multiple outcomes

    Wayne,

    Thank you, the index match worked perfectly. In this instance there will not ever be more than one yes. Just out of curiosity, is there a way to write it so that if there were two "Yes"s, it would sum those two values?

    Again thanks for the help!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: IF function with multiple Trues, multiple outcomes

    you would then use a sumif()

    =sumif( criteria range , "yes", the range to sum )


    =sumif(column with yes, "yes", column with values)

+ 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. IF Function multiple possible outcomes?
    By Nomadski in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 02-11-2013, 05:41 PM
  2. Multiple logical functions resulting in multiple outcomes
    By PaddyG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2012, 12:20 PM
  3. Replies: 1
    Last Post: 12-04-2012, 01:59 AM
  4. [SOLVED] If Function with multiple outcomes and accumulating numbers
    By Brainstorm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-27-2012, 07:04 PM
  5. IF statement using multiple variables to give multiple outcomes
    By stujordan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2009, 06:46 AM

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