Closed Thread
Results 1 to 6 of 6

IF and AND Nested Formulae

  1. #1
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    304

    IF and AND Nested Formulae

    Added amended Workbook
    Further to the previous solution from Haluk,
    [HTML](https://www.excelforum.com/excel-programming-vba-macros/1305739-how-to-use-wingdings-in-formulae.html#post5276267 [HTML] , I am trying to add more functions to the original solution.
    I am unsure where to go her so would appreciate a formula to include the original plus more functions.
    I believe IF & AND functions would probably be involved, but I don’t understand how to place these in the correct sequence.

    The attached WorkBook –C has example and expected outcome in Sheet1(2).
    Attached Files Attached Files
    Last edited by VisionSmart; 02-14-2020 at 08:04 AM. Reason: Amended Workbook

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,771

    Re: IF and AND Nested Formulae

    There is some sort of error in your attachment. I'm sure the error is on our side. Can you please try to attach it again?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: IF and AND Nested Formulae

    No attached workbook, see yellow band near the top of this page to see how to attach a workbook
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    304

    Re: IF and AND Nested Formulae

    Please see attached
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: IF and AND Nested Formulae

    =IFERROR(INDEX(R2:S4,IF(E10="ü",1,IF(F10="ü",2,IF(G10="X",3,""))),IF(C10="Sargeant",1,IF(C10="Corporal",2,""))),"")

    perhaps, but if other ranks are to be added I would label r1 as sergeant, s1 as corporal etc and use a match function match(c10,r10:u10,0) as the second dimension of the index

  6. #6
    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,404

    Re: IF and AND Nested Formulae

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. Your questions are merely follow-ons and do not require a new thread.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: http://www.excelforum.com/excel-prog...-formulae.html
    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.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA code to replace formulae in cells and then re-enter same formulae again after run
    By excel_msa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2017, 06:56 AM
  2. [SOLVED] Nested IFS and multiple logical formulae
    By jdohlinger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2012, 01:41 PM
  3. Replies: 6
    Last Post: 05-20-2012, 02:37 PM
  4. Nested Formulae IF->AND
    By ZuttySingleton in forum Excel General
    Replies: 4
    Last Post: 10-09-2010, 08:34 AM
  5. Replace nested IF with other formulae...
    By contaminated in forum Excel General
    Replies: 3
    Last Post: 08-08-2009, 04:04 PM
  6. Nested If Formulae
    By stanleds in forum Excel General
    Replies: 15
    Last Post: 07-15-2009, 05:19 PM
  7. [SOLVED] Nested functions in conditional formatting formulae
    By Joseph in forum Excel General
    Replies: 3
    Last Post: 10-20-2005, 07:05 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