+ Reply to Thread
Results 1 to 4 of 4

do this in B Column but if C has value and is not empty do in C instead! please help

  1. #1
    Registered User
    Join Date
    06-13-2022
    Location
    United States
    MS-Off Ver
    2016
    Posts
    36

    do this in B Column but if C has value and is not empty do in C instead! please help

    I dont know how to explain correctly ) so I have A, B and C columns in A column I am using this formula ="("&MID(B1,8,LEN(B1)-15)&")" it takes value from B removes first and last characters and puts () signs, how can I do modify this formula to look at C value also and if C is not empty take values from C but I dont want first and last characters removed like in formula, just add () signs.
    Thanks!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: do this in B Column but if C has value and is not empty do in C instead! please help

    is this what you are looking for?...
    =IF(C1<>"","("&C1&")","("&MID(B1,8,LEN(B1)-15)&")")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    06-13-2022
    Location
    United States
    MS-Off Ver
    2016
    Posts
    36

    Re: do this in B Column but if C has value and is not empty do in C instead! please help

    yes! thank you so much really appreciate it.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: do this in B Column but if C has value and is not empty do in C instead! please help

    You're welcome, AND thank you for the rep!

+ 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] Find 1st Empty Cell in Column D Only If Column B On same Row as Empty Cell, is Not Empty
    By Zedcars in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2022, 05:46 PM
  2. [SOLVED] Formula to return empty string instead of null when column table is empty
    By jaryszek in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 02-14-2020, 06:37 AM
  3. [SOLVED] Using macro to find first empty cell in column. If range is empty returns error.
    By A440 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-23-2019, 11:03 AM
  4. [SOLVED] Count number of empty columns in a row since non-empty column
    By misterad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-14-2018, 02:32 PM
  5. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  6. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  7. Copy/Paste to Next Empty Row Overwriting Previous Row When Column A Is Empty
    By grantfitz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 04:34 PM

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