+ Reply to Thread
Results 1 to 2 of 2

IFERROR formula

  1. #1
    Registered User
    Join Date
    02-12-2018
    Location
    Malta
    MS-Off Ver
    2010
    Posts
    5

    IFERROR formula

    I have this excel sheet and I would like it to

    1. Once a treatment is written in the treatment column , it is copied into the "treatment dispensed" sheet and the GU Code copied accordingly. If there is no value that it is not copied.

    Example -

    with medication A I would have dispensed it to code 1 and therefore on medication dispensed sheet i'd see

    "Code - 1 " "medication - A "

    Could you please help?

    tried creating an IFERROR formula but got stuck.

    Thanks


    A
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: IFERROR formula

    For GU Code, put this on Sheet "Treatment Dispensed" on cell A2 then copied down:
    =IFERROR(INDEX('Consult Sheet - Investigations'!$A$9:$A$33,AGGREGATE(15,6,(ROW('Consult Sheet - Investigations'!$A$9:$A$33)-MIN(ROW('Consult Sheet - Investigations'!$A$9:$A$33))+1)/('Consult Sheet - Investigations'!$T$9:$T$33<>""),ROW(A1))),"")

    For Treatment, put this on cell B2 then copied down:
    =IFERROR(INDEX('Consult Sheet - Investigations'!$T$9:$T$33,AGGREGATE(15,6,(ROW('Consult Sheet - Investigations'!$T$9:$T$33)-MIN(ROW('Consult Sheet - Investigations'!$T$9:$T$33))+1)/('Consult Sheet - Investigations'!$T$9:$T$33<>""),ROW(B1))),"")
    Attached Files Attached Files

+ 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/Then Formula of IFERROR
    By sclinger13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2017, 03:31 AM
  2. [SOLVED] Multiple IFERROR or IFERROR w/ If Statements
    By SanchoPanza1 in forum Excel General
    Replies: 4
    Last Post: 03-31-2016, 08:09 PM
  3. [SOLVED] IFERROR(MATCH & IFERROR(SMALL Help Needed
    By chad328 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-17-2016, 06:34 AM
  4. Iferror or other formula
    By sarahqputra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2015, 07:31 AM
  5. 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
  6. [SOLVED] IFERROR Formula
    By Bear01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-19-2012, 02:15 PM
  7. [SOLVED] #DIV/0 IFERROR formula
    By rlkerr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-03-2012, 10:33 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