+ Reply to Thread
Results 1 to 2 of 2

Needhelp on Concatenate

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    33

    Needhelp on Concatenate

    Hi,

    I have the following formula: =TEXT(A2,"$ L34#,##0;;@")&","&TEXT(B2,"$ #,##0;;@")&CHAR(10)&TEXT(A3,"$ #,##0;;@")&","&TEXT(B3,"$ #,##0;;@")&CHAR(10)&TEXT(A4,"$ #,##0;;@")&","&TEXT(B4,"$ #,##0;;@")&CHAR(10)&TEXT(A5,"$ #,##0;;@")&","&TEXT(B5,"$ #,##0;;@")&CHAR(10)&TEXT(A6,"$ #,##0;;@")&","&TEXT(B6,"$ #,##0;;@") and works perfect. However if there is no $Value input and left blank it still shows the $ Sign with Value as 0. What I am looking is If the cell Is left blank I don't want to see any value.

    This is what I am getting:
    "London,$ 450,000
    Ontario,$ 0
    Paris,$ 0
    Brooklyn,$ 0
    Owensound,$ 300,000"


    And what I would like to see is:
    "London,$ 450,000
    Ontario,
    Paris,
    Brooklyn,
    Owensound,$ 300,000"
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Needhelp on Concatenate

    Try this:

    =TEXT(A2,"$ L34#,##0;;@")&","&TEXT(IF(B2="","",B2),"$ #,##0;;@")&...

    Or this, perhaps:

    =TEXT(A2,"$ L34#,##0;;@")&IF(B2="","",","&TEXT(iB2,"$ #,##0;;@"))&...
    Last edited by AliGW; 04-05-2021 at 01:24 PM.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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 and Concatenate or INDEX/MATCH and Concatenate
    By naumanxkhan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2020, 09:44 PM
  2. Auto concatenate and reverse concatenate & Remove duplicates .
    By Andy308 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2016, 12:38 PM
  3. Concatenate with Double Info in Concatenate Cell
    By MRoz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 02:07 PM
  4. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  5. needhelp creating pricing sheet
    By Skygod49 in forum Excel General
    Replies: 7
    Last Post: 01-27-2014, 07:10 AM
  6. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  7. [SOLVED] [SOLVED] I know how to concatenate ,can one de-concatenate to split date?
    By QUICK BOOKS PROBLEM- in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-26-2005, 01: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