+ Reply to Thread
Results 1 to 11 of 11

How do I return specific results based on information in other cells.

  1. #1
    Registered User
    Join Date
    07-17-2014
    Location
    Nashville, TN
    MS-Off Ver
    2010
    Posts
    20

    How do I return specific results based on information in other cells.

    Hello -

    I am creating an attendance tracker for work but currently I am having brain freeze and can figure out how to create a formula that tells me the following.

    In Column D - I want it state, "Review of Expectations", "PIP Required" or just be "blank" based on information in Column AU as well as Columns E,F and G.

    If Employee 1 has 2.5 in column AU15 then "Review of Expectations" should appear in Column D15. Once the Supervisor selects "YES" in Cell E15 then Cell D15 should return to blank.

    If Employee 1 has 3 in Column AU15 then "Verbal Required" should display in D15 until the supervisor inputs "YES" in Cell E15 then Cell D15 will return to Blank.

    If Employee 1 has 4 in column AU15 then, "Written Required" should display in D15 until the supervisor inputs "YES" in Cell F15 then Cell D15 will return to blank.

    Finally, If employee 1 has 6 in column AU15 then, "Final Required" should display in D15 until the supervisor inputs "Yes" in cell G15 then cell D15 will return to blank.

    Please review the attached and give me some assistance.

    If asked for a Password, please input "MoonPie".

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,700

    Re: How do I return specific results based on information in other cells.

    This looks like it should work based on what you wrote...
    =IF(OR(E15="yes",F15="yes"),"",IF(AND(AU15>=2,AU15<3),"Review of Expectations",IF(AND(AU15>=3,AU15<4),"Verbal Required",IF(AND(AU15>=4,AU15<6),"Written Required",IF(AU15>=6,"Final Required","")))))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: How do I return specific results based on information in other cells.

    [D15] =IF(E15="",IF(F15="",IF(G15="",CHOOSE(MIN(INT(AU15)+1,7),"","","Review of Expectations","Verbal Required","Written Required","Final Required","Unknown Value in AU"&ROW()),""),IF(AND(AU15=6,G15=""),"Final Required",IF(AU15=3,"PIP Required",""))),"")

    If AU15 is 7 or more, it generates the message "Unknown Value in AU15".

  4. #4
    Registered User
    Join Date
    07-17-2014
    Location
    Nashville, TN
    MS-Off Ver
    2010
    Posts
    20

    Re: How do I return specific results based on information in other cells.

    Thank you - This is certainly in the correct direction.

    The only difference is, with the above formula, putting "YES" in any of the 3 cells will clear D15. I only need it to clear based on the warranted action.

    If "Verbal" is recommended, then the only action that would clear "Verbal in cell D15 would be by placing "YES" in cell E15. If Written is recommended, then "YES" would need to be selected in cell F15 and the same for Final and using G15.

    May have to be multiple IF statements but I am an excel novice.

  5. #5
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How do I return specific results based on information in other cells.

    =IF(AU15<=2.5,IF(E15="YES","","Review of Expectations"),IF(AU15<=3.5,IF(E15="YES","","Verbal Required"),IF(AU15<=4,IF(F15="YES","","Written Required"),IF(AU15<=6,IF(G15="YES","","Final Required")))))

    Please describe completely the range of values in AU15. Is it ever blank, and if so, what to return? Do the values ever exceed 6? Are the given values exact matches or just endpoints to establish ranges?
    Last edited by leelnich; 02-28-2018 at 05:20 PM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  6. #6
    Registered User
    Join Date
    07-17-2014
    Location
    Nashville, TN
    MS-Off Ver
    2010
    Posts
    20

    Re: How do I return specific results based on information in other cells.

    Thanks for the assistance.

    Unfortunately, this formula is only looking for the required documentation but does not clear the cell once the "YES" indicator has been placed in Cells E,F and G.

    Quote Originally Posted by leelnich View Post
    =IF(AU15<=2.5,IF(E15="YES","","Review of Expectations"),IF(AU15<=3.5,IF(E15="YES","","Verbal Required"),IF(AU15<=4,IF(F15="YES","","Written Required"),IF(AU15<=6,IF(G15="YES","","Final Required")))))

  7. #7
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How do I return specific results based on information in other cells.

    You can clearly see the "YES" tests in the formula. Please describe completely the range of values in AU15. Is it ever blank, and if so, what to return? Do the values ever exceed 6? Are the given values exact matches or just endpoints to establish ranges?

  8. #8
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How do I return specific results based on information in other cells.

    This sets ranges from the opposite end, perhaps it suits:
    =IF(AU15>=6,IF(G15="YES","","Final Required"),IF(AU15>=4,IF(F15="YES","","Written Required"),IF(AU15>=3.5,IF(E15="YES","","Verbal Required"),IF(AU15>=2.5,IF(E15="YES","","Review of Expectations"),"UNKNOWN"))))

    AU15 as posted equals 4.5. What is the correct returned value for that in D15, assuming no "YES"?
    Last edited by leelnich; 02-28-2018 at 05:37 PM.

  9. #9
    Registered User
    Join Date
    07-17-2014
    Location
    Nashville, TN
    MS-Off Ver
    2010
    Posts
    20

    Re: How do I return specific results based on information in other cells.

    Quote Originally Posted by leelnich View Post
    You can clearly see the "YES" tests in the formula. Please describe completely the range of values in AU15. Is it ever blank, and if so, what to return? Do the values ever exceed 6? Are the given values exact matches or just endpoints to establish ranges?
    Let me see if I can clear up my original post.

    Column D is a "Pending Action" column which indicates what level of corrective action an employee should receive based on total number of 'points' in Column AU. If an employee has 2.0 to 2.9 in Column AU then Column D should populate "Review of Expectations". Once this conversation has been had the Sup/Manager will select "Yes" in column E at which time Column D should return to blank.

    When an employee has 3.0 to 3.9 points in column AU then Column D should populate "Verbal Required". Once the sup/manager has the conversation and selects "Yes" in column F then column D should return to 'blank'.

    When an employee has 4.0 to 4.9 in column AU then column D should populate "Written Required". Once the Sup/mgr has this conversation and Selects 'Yes' in column F then Column D should return to Blank.

    Finally, if Column Au has 5+ points, then Column D should populate "Final Required". Once the Sup/Mgr has this conversation and selects 'YES" in column G then Column D should return to Blank..

    I hope this helps.

  10. #10
    Registered User
    Join Date
    07-17-2014
    Location
    Nashville, TN
    MS-Off Ver
    2010
    Posts
    20

    Re: How do I return specific results based on information in other cells.

    Quote Originally Posted by leelnich View Post
    This sets ranges from the opposite end, perhaps it suits:
    =IF(AU15>=6,IF(G15="YES","","Final Required"),IF(AU15>=4,IF(F15="YES","","Written Required"),IF(AU15>=3.5,IF(E15="YES","","Verbal Required"),IF(AU15>=2.5,IF(E15="YES","","Review of Expectations"),"UNKNOWN"))))

    AU15 as posted equals 4.5. What is the correct returned value for that in D15, assuming no "YES"?
    Let me see if I can clear up my original post.

    Column D is a "Pending Action" column which indicates what level of corrective action an employee should receive based on total number of 'points' in Column AU. If an employee has 2.0 to 2.9 in Column AU then Column D should populate "Review of Expectations". Once this conversation has been had the Sup/Manager will select "Yes" in column E at which time Column D should return to blank.

    When an employee has 3.0 to 3.9 points in column AU then Column D should populate "Verbal Required". Once the sup/manager has the conversation and selects "Yes" in column F then column D should return to 'blank'.

    When an employee has 4.0 to 4.9 in column AU then column D should populate "Written Required". Once the Sup/mgr has this conversation and Selects 'Yes' in column F then Column D should return to Blank.

    Finally, if Column Au has 5+ points, then Column D should populate "Final Required". Once the Sup/Mgr has this conversation and selects 'YES" in column G then Column D should return to Blank..

    I hope this helps.

  11. #11
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How do I return specific results based on information in other cells.

    I believe this fits:
    =IF(AU15<2,"",IF(AU15<3,IF(E15="YES","","Review of Expectations"),IF(AU15<4,IF(E15="YES","","Verbal Required"),IF(AU15<5,IF(F15="YES","","Written Required"),IF(G15="YES","","Final Required")))))

    a) There is no separate "Yes" column for "Review of Expectations". I assume it shares column E with "Verbal Required" as suggested in post#1?
    b) If fewer than 2 points...? I went with "".
    Last edited by leelnich; 03-01-2018 at 06:06 PM.

+ 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. Replies: 12
    Last Post: 07-28-2015, 03:08 AM
  2. [SOLVED] Formula to return specific text based on multiple cells meeting a single criteria
    By missydanni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2013, 09:48 AM
  3. Populate cells with specific information based on one cell
    By MrMims in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2013, 02:25 PM
  4. [SOLVED] search for specific text in a file and return a value to a cell based on the results
    By JJGF in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-03-2013, 07:00 PM
  5. Replies: 6
    Last Post: 07-26-2012, 06:34 PM
  6. Return a cell value based on specific combinations of cells in an array
    By rmcnam05 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2005, 11:05 PM
  7. Replies: 2
    Last Post: 04-17-2005, 02:06 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