+ 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
    49

    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 2013
    Posts
    5,147

    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
    49

    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)

Similar Threads

  1. [SOLVED] If the IF function result is false then check the next cell until get a true result
    By Beag air Bheag in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-10-2017, 08:55 AM
  2. If Function to get a result based off a range of cells
    By Mgahan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2017, 12:46 AM
  3. [SOLVED] how can i get the result of counta function without counting the blank cells
    By sumesh56 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2014, 03:20 PM
  4. Function to compare multiple cells and provide a result
    By cfeedback in forum Excel General
    Replies: 3
    Last Post: 01-08-2010, 03:44 PM
  5. [SOLVED] [SOLVED] In excels if function can i ask excel to shade cells on result?
    By The Badger in forum Excel General
    Replies: 2
    Last Post: 07-18-2006, 03:45 AM
  6. [SOLVED] A correct IF function doesn't show the function's result in cell
    By Michael in forum Excel General
    Replies: 1
    Last Post: 04-10-2006, 04:15 AM
  7. Using Min function with cells in a Row returns incorrect result.
    By Gaurav in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-07-2005, 09:06 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