+ Reply to Thread
Results 1 to 9 of 9

IF Nested formula

  1. #1
    Registered User
    Join Date
    11-07-2023
    Location
    Connecticut, USA
    MS-Off Ver
    Microsoft 365 and Office
    Posts
    43

    IF Nested formula

    Hi- I need a formula with the following criteria in the attached spreadsheet example:

    On column E if column A is equal to ABZ or SOL then I need to get the six right characters from column C.
    However, if column C if empty for ABZ or SOL then I need to get the six right characters from Column B.
    If not meet with any of this criteria then column E should be blank

    Thank you.
    Attached Files Attached Files
    Last edited by Ladyj07; 03-25-2024 at 03:36 PM.

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: IF Nested formula

    In E2 then drag down:

    =IF(OR(A2="ABZ",A2="SOL"),RIGHT(C2,6),RIGHT(B2,6))
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    11-07-2023
    Location
    Connecticut, USA
    MS-Off Ver
    Microsoft 365 and Office
    Posts
    43

    Re: IF Nested formula

    @Dosydos is there a way to get blanks if not meet with the any of the criteria I mentioned above. For example if is not ABZ or SOL then I want column E to be blank

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: IF Nested formula

    Try this.
    Are you sure that you want the 6 characters from the right?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by DJunqueira; 03-25-2024 at 03:41 PM.

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: IF Nested formula

    What do you want if column A is not "ABZ" or "SOL"
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Registered User
    Join Date
    11-07-2023
    Location
    Connecticut, USA
    MS-Off Ver
    Microsoft 365 and Office
    Posts
    43

    Re: IF Nested formula

    @Popipipo I want to be blank if not meet with the criteria

  7. #7
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: IF Nested formula

    try this in E2 and drag down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: IF Nested formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Registered User
    Join Date
    11-07-2023
    Location
    Connecticut, USA
    MS-Off Ver
    Microsoft 365 and Office
    Posts
    43

    Re: IF Nested formula

    Thank you @dosydos and @John Topley!!

+ 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. VLOOKUP formula fails in formula with multiple nested IF functions
    By rps1969 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-05-2022, 12:09 PM
  2. Value of cell formula not working in nested IF formula.
    By dschierman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2019, 04:59 PM
  3. [SOLVED] Nested IF and nested Concatenation formula
    By VisionSmart in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-09-2018, 08:00 AM
  4. Help with a nested, nested, nested formula
    By duanrd2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-09-2017, 04:43 PM
  5. Replies: 2
    Last Post: 08-24-2014, 04:56 AM
  6. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  7. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 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