+ Reply to Thread
Results 1 to 2 of 2

Multiple IF arguments per cell error?

  1. #1
    Registered User
    Join Date
    01-08-2017
    Location
    Hobart, Tasmania, Australia
    MS-Off Ver
    2013
    Posts
    4

    Multiple IF arguments per cell error?

    Hi All,

    I am trying to do multiple if arguments, per cell, is this possible?

    current IF formula is =IF(A44=Lists!D2,Lists!E2, "")

    but I would like it to be =IF(A44=Lists!D2,Lists!E2, "") then for it to also look at =IF(A44=Lists!D3,Lists!E3, "") and so on.

    Is this possible, I have tried =IF(A44=Lists!D2,Lists!E2, "", IF(A44=Lists!D3,Lists!E3, "")) but it tells me I have entered to many arguments.

    Cheers,
    Kat

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,189

    Re: Multiple IF arguments per cell error?

    You have to nest IF statements like this:

    =IF(A44=Lists!D2,Lists!E2,IF(A44=Lists!D3,Lists!E3, ""))

    and

    =IF(A44=Lists!D2,Lists!E2,IF(A44=Lists!D3,Lists!E3,IF(A44=Lists!D3,Lists!E3 "")))

    and so on.

    However, it might be easier this way:

    =IFNA(VLOOKUP(A44,$D$2:$E$3,2,0),"")

    Extend the lookup array to suit your requirements.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Multiple IF/IFERROR statements, resulting in "too many arguments" error
    By agraham in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2016, 09:27 AM
  2. Multiple arguments search and result from another cell
    By igornachov in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2015, 04:18 PM
  3. Having Trouble dividing multiple arguments in the same cell
    By taxx411 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2014, 01:17 AM
  4. [SOLVED] Multiple IF arguments in the one cell
    By rooboyz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2013, 08:53 PM
  5. Vlookup of 1 cell containing multiple search arguments
    By MSazza in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-22-2011, 09:40 AM
  6. Multiple IF arguments in single cell
    By rideahonda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2010, 05:30 PM
  7. If then multiple arguments for single cell
    By MSTARS in forum Excel General
    Replies: 8
    Last Post: 11-15-2008, 06:31 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