+ Reply to Thread
Results 1 to 2 of 2

Combining two separate if statements depending on a condition

  1. #1
    Registered User
    Join Date
    11-24-2013
    Location
    Durham, NC
    MS-Off Ver
    Excel 2003
    Posts
    1

    Combining two separate if statements depending on a condition

    I'm trying to combine two separate IF strings dependent on a the response in a certain cell - M (male) or F (female).

    so, If(A2=F) and IF(B2<=I5,"A",IF('B2<=I6,"B",IF(B2<=I7,"C",IF(B2<='I8,"D","E")))) But If(A2=M) And IF(B2<=J5,"A",IF('B2<=J6,"B",IF(B2<=J7,"C",IF(B2<='J8,"D","E"))))

    Basically, trying to figure out how to apply and combine in one string the appropriate IF statement depending on IF A2 is a Male (M) or Female (F).

    Your help is greatly appreciated.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Combining two separate if statements depending on a condition

    Try this…

    =IF(A2="F",IF(B2<=I5,"A",IF(B2<=I6,"B",IF(B2<=I7,"C",IF(B2<=I8,"D","E")))),IF(A2="M",IF(B2<=J5,"A",IF(B2<=J6,"B",IF(B2<=J7,"C",IF(B2<=J8,"D","E")))),""))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. Excel 2007 : Combining 2 If Statements
    By Milani1213 in forum Excel General
    Replies: 1
    Last Post: 02-01-2012, 11:07 AM
  2. VBA help combining if statements
    By jarretth17 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2011, 04:36 PM
  3. Combining separate IF Statements
    By mgollwit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2011, 12:43 PM
  4. combining two if statements to one
    By excel_help_needed in forum Excel General
    Replies: 7
    Last Post: 10-28-2010, 07:04 AM
  5. Help combining IF statements
    By Excel-erate2004 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2007, 11:32 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