+ Reply to Thread
Results 1 to 3 of 3

Need RESULT of two cells in another cell with if function

  1. #1
    Registered User
    Join Date
    08-13-2016
    Location
    NAGPUR
    MS-Off Ver
    MS OFFICE 2007
    Posts
    32

    Lightbulb Need RESULT of two cells in another cell with if function

    Sir,

    A B C D
    1 32 08 "Full"
    2 31 08 "Pr"
    3 32 07 "Th"
    4 31 07 " "
    5

    As shown above in the Cell 'C' I need the value that,
    if A1 is greater than or equal to 32 and B1 is greater than or equal to 08, then show C1="Full";
    if A1 is less than 32 and B1 is greater than or equal 08, then show C1="Pr";
    if A1 is greater than or equal to 32 and B1 is less than 08, then show C1="Th";
    if A1 is less than 32 and B1 is less than 08, then show C1=" "

    Please help me...

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2007, 2010
    Posts
    4,973

    Re: Need RESULT of two cells in another cell with if function

    welcome to the forum. do upload an excel sample so that we do not have to manually key in your data to do a testing.

    input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand.

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    if i really guessed it wrongly, please upload something according to my recommendations in my signature. try to use the solution i have given and we'll help to advise what went wrong.

    my guess is either:
    =IF(AND(A1>=32,--B1>=8),"Full",IF(AND(A1<32,--B1>=8),"Pr",IF(AND(A1>=32,--B1<8),"Th","")))

    or:
    =IF(A1>=32,IF(--B1>=8,"Full","Th"),IF(AND(A1<32,--B1>=8),"Pr",""))

    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
    Registered User
    Join Date
    08-13-2016
    Location
    NAGPUR
    MS-Off Ver
    MS OFFICE 2007
    Posts
    32

    Re: Need RESULT of two cells in another cell with if function

    Thank You Sir... You are Genius... Thank You Very very very very much...

+ 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