+ Reply to Thread
Results 1 to 16 of 16

Need help - Multiple if function

Hybrid View

  1. #1
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.100.4 for Mac MS 365
    Posts
    8,724

    Re: Need help - Multiple if function

    If then statements have the elements of IF this condition is true do this, if not do that. So what are you trying to accomplish with if A1=x, then do what with C1 or B1? is this an if AND statement? =IF(A1="x",C1,B1) would be that if A1 equals x then you put the value in C1 somewhere, otherwise you put the value in B1 somewhere. or =IF(AND(A1="x",C1=B1),then do this, otherwise do that)
    Does that make sense?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  2. #2
    Registered User
    Join Date
    09-26-2016
    Location
    Santa Rosa, CA
    MS-Off Ver
    MS 2013
    Posts
    12

    Re: Need help - Multiple if function

    It does make sense. Though it is not exactly what I am trying to accomplish. This is for a private school attendance tracker. They accept students from different districts and here is what I am trying to do: Lets say, I have student X on my roster. In his row, A1 is "Wright School District" and A2 is "P" as in present. There is another tab for invoicing where I want to only populate the attendance of the students from this specific district. The formula I am trying to write is this: If student's school district is "wright", copy A2 (which is P) to cell B2 (which is in another tab) So I want P to populate, not the count. Does that make sense?

  3. #3
    Registered User
    Join Date
    09-26-2016
    Location
    Santa Rosa, CA
    MS-Off Ver
    MS 2013
    Posts
    12

    Re: Need help - Multiple if function

    Quote Originally Posted by Sambo kid View Post
    If then statements have the elements of IF this condition is true do this, if not do that. So what are you trying to accomplish with if A1=x, then do what with C1 or B1? is this an if AND statement? =IF(A1="x",C1,B1) would be that if A1 equals x then you put the value in C1 somewhere, otherwise you put the value in B1 somewhere. or =IF(AND(A1="x",C1=B1),then do this, otherwise do that)
    Does that make sense?
    It does make sense. Though it is not exactly what I am trying to accomplish. This is for a private school attendance tracker. They accept students from different districts and here is what I am trying to do: Lets say, I have student X on my roster. In his row, A1 is "Wright School District" and A2 is "P" as in present. There is another tab for invoicing where I want to only populate the attendance of the students from this specific district. The formula I am trying to write is this: If student's school district is "wright", copy A2 (which is P) to cell B2 (which is in another tab) So I want P to populate, not the count. Does that make sense?

+ 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] how to output multiple results of a single function by running the function only once
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2016, 07:24 PM
  2. If function + Find Function to search for multiple values
    By HabsFan89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-21-2015, 12:11 PM
  3. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  4. Vlookup function to return multiple values from multiple sheets
    By bsamant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:31 AM
  5. Multiple Criteria Function along with Count function
    By Joseph Wee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2013, 12:51 AM
  6. Need help to change multiple criteria from if function to Case function.
    By indkitty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 10:42 PM
  7. Replies: 5
    Last Post: 01-20-2009, 11:56 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