+ Reply to Thread
Results 1 to 2 of 2

combination of multiple statements into an IF statement

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    baltimore, maryland
    MS-Off Ver
    Excel 2007
    Posts
    16

    combination of multiple statements into an IF statement

    I have a data set where a1 is the starting cell and it needs to equal cells b9 or b6 and if the cells in the a column match the data in b9 or b6 it should be assigned an 1 if the cell data in column a does not match the data in cells b9 or b6 it should be assigned a 0. I've tried multiple formulas and have not been able to find the right one, any help would be greatly appreciated, Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: combination of multiple statements into an IF statement

    You want something like this but your description is not very clear, Hon . You want to test whether A1 matches B9 or B6 but I'm not sure what cell this formula is supposed to go in.

    =IF(OR(A1=B6,A1=B9),1,0)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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