+ Reply to Thread
Results 1 to 4 of 4

Function to put space and comma in-between numbers

  1. #1
    Registered User
    Join Date
    06-25-2021
    Location
    Australia
    MS-Off Ver
    Office- 365
    Posts
    29

    Function to put space and comma in-between numbers

    Hi Experts
    I am unable to get space & comma in between two numbers when "if" function is used
    I am using following "if function"; end results numbers are all together,
    Any suggestions? & lengthy function to make tidy? ( not VBA trained)

    IF(B20=A20+1,A20&B20,"")&IF(C20=B20+1,B20&C20,"")&IF(D20=C20+1,C20&D20,"")&IF(E20=D20+1,D20&E20,"")&IF(F20=E20+1,E20&F20,"")&IF(G20=F20+1,F20&G20,"")

    please see attached file

    Thanks
    jm
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,098

    Re: Function to put space and comma in-between numbers

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It will probably need to be confirmed with Ctrl Shift Enter, rather then just Enter

  3. #3
    Registered User
    Join Date
    06-25-2021
    Location
    Australia
    MS-Off Ver
    Office- 365
    Posts
    29

    Re: Function to put space and comma in-between numbers

    Hi, Fluff13,
    Brilliant function. My function was lengthy and tedious
    Suggested by you is awesome! solved my issue
    Thanks
    JM

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,098

    Re: Function to put space and comma in-between numbers

    Glad to help & thanks for the feedback.

+ 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] Vlookup value after comma+space and add the values till last comma+space in the series
    By sandeepsandeep in forum Excel Formulas & Functions
    Replies: 49
    Last Post: 12-23-2017, 05:49 AM
  2. Replies: 10
    Last Post: 05-08-2015, 11:38 AM
  3. Comma delimited numbers with space after comma
    By Cicada in forum Excel General
    Replies: 5
    Last Post: 04-23-2015, 09:32 AM
  4. [SOLVED] Convert space between first and last name to comma
    By Vaslo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2014, 03:06 PM
  5. [SOLVED] Replace space to comma
    By rarementality in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2014, 09:15 AM
  6. Replies: 4
    Last Post: 07-25-2013, 05:28 AM
  7. [SOLVED] Removing a space after a comma
    By DebbieK9 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-01-2005, 06:06 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