+ Reply to Thread
Results 1 to 6 of 6

How to combine Left formula with IF isblank

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

    How to combine Left formula with IF isblank

    Hi guys,

    In the attached spreadsheet, I want to combine the left formula with IF isblank. For example, on column C I want to give me the 3 first characters from the left but keeping in mind that if the cell on column B is empty, then copy results from column A, but only the 3 first characters from the left. Does someone know how to do this please? I will appreciate any help.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: How to combine Left formula with IF isblank

    You can use this formula in cell C2:

    =IF(B2="",LEFT(A2,3),LEFT(B2,3))

    then copy down.

    Hope this helps.

    Pete

  3. #3
    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
    30,656

    Re: How to combine Left formula with IF isblank

    And if column B is only 2 characters?
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: How to combine Left formula with IF isblank

    Please try in C2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-07-2023
    Location
    Florida, USA
    MS-Off Ver
    Microsoft 365 and Office
    Posts
    70

    Re: How to combine Left formula with IF isblank

    Thank you Pete!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: How to combine Left formula with IF isblank

    You're welcome - thanks for the rep.

    Pete

+ 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] How to combine Upper Left and substitute in one formula?
    By MI3operations in forum Excel General
    Replies: 4
    Last Post: 03-20-2015, 02:26 PM
  2. Can I combine COUNTIFS with other formula (e.g. LEFT)
    By mrmcmillanrevis in forum Excel General
    Replies: 3
    Last Post: 02-25-2015, 03:48 PM
  3. Is it possible to combine ISNA with ISBLANK
    By boynejs in forum Excel General
    Replies: 5
    Last Post: 11-08-2014, 01:15 AM
  4. [SOLVED] Help needed on how to combine LEFT into a VLOOKUP formula
    By TomP1988 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2014, 06:37 AM
  5. [SOLVED] Using If and isblank and Left text error
    By bigash17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2013, 06:31 PM
  6. Help with ISBLANK function referring to a cell with another ISBLANK formula
    By camdameron in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-23-2011, 12:45 PM
  7. combine vlookup,isblank,isna in one formula
    By kollasphotis in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-29-2009, 04:16 AM

Tags for this Thread

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