+ Reply to Thread
Results 1 to 4 of 4

Combined IF Statement

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Toms River, NJ
    MS-Off Ver
    Excel 2010
    Posts
    37

    Combined IF Statement

    Refer to attached spreadsheet. In B1 is the day of the month and I want to match it to the number in the grid and return a Y or N in the Occupied column if a code is in that row. So on the attached spreadsheet, all would be Y except for Row 15.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Combined IF Statement

    welcome to the forum, AndreaJean. try in AF5:
    =IF(INDEX(A5:AE5,MATCH($B$1,$A$4:$AE$4,0))<>"","Y","N")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Combined IF Statement

    Another variation........

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    04-15-2014
    Location
    Toms River, NJ
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Combined IF Statement

    Excellent! That worked perfectly. Thank you so very much for your help.

+ 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. Help with IF, AND, OR combined statement
    By Justxan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 09:26 AM
  2. how to declare an If statement combined with another?
    By impartrudie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-19-2011, 05:54 AM
  3. Excel 2007 : If statement and Vlookup combined
    By Peter101 in forum Excel General
    Replies: 6
    Last Post: 03-21-2010, 07:49 PM
  4. Nested IF statement, combined with OR?
    By HelenW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2009, 07:15 AM
  5. IF statement combined with AND/OR
    By gillywilly in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2007, 05:30 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