+ Reply to Thread
Results 1 to 3 of 3

IFERROR and IF together in same formula

  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    Queensland, Australia
    MS-Off Ver
    MS365, Version 2202
    Posts
    73

    IFERROR and IF together in same formula

    Hi Guys,

    I have a formula that reads through our roster and pulls out the managerial staff roster (basically saves me from manually entering this data). it looks like this:

    Please Login or Register  to view this content.
    My problem is that we have about 20 different rosters a manager could be working, with 120+ different 'lines' (specific week). and for the purposes of the database I'm creating, I don't really care which specific line or roster they're working, I just want to know they're in a management role for that week. So the roster code looks like ABCSE1, or ABCMN4 etc etc. I want to add an IF formula to the above formula, that will compare the result (ABCSE1) to the full list of manager roster codes, and if true, instead display 'Manager' in the cell.

    They will often not be working a managers role, then their roster code might look like ABCDR1, or ABCBE3. In this situation I want the IF formula to compare their code to the full list of manager roster codes, and if false, cell to either be blank, or display 'free'

    any and all help appreciated!

    Thanks guys!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: IFERROR and IF together in same formula

    Assuming you have the Manager roster codes in a list named MRC then try this version

    =IFERROR(IF(COUNTIF(MRC,VLOOKUP($C133,'[ManagementRoster.xlsm]ManagementRoster'!$E$23:$FL$800,COLUMNS($E:CY),FALSE)),"Manager","Free"),"")
    Audere est facere

  3. #3
    Registered User
    Join Date
    10-16-2013
    Location
    Queensland, Australia
    MS-Off Ver
    MS365, Version 2202
    Posts
    73

    Re: IFERROR and IF together in same formula

    Thank you so much! instantly fixed! wonderful!

    The only thing I forgot was their leave! There are a few codes that stand for leave (AL, AT and similar) that I still want shown as AL or AT. Is there anyway to tell this formula to ignore those examples and leave them unchanged?

+ 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. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  2. IFERROR Formula HELP PLEASE
    By jonnykhan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-13-2013, 09:52 AM
  3. [SOLVED] IFERROR Formula
    By Bear01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-19-2012, 02:15 PM
  4. [SOLVED] #DIV/0 IFERROR formula
    By rlkerr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-03-2012, 10:33 AM
  5. [SOLVED] Inserting Formula IFERROR
    By havenzhiv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2012, 02:51 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