Concantenate problem

LIVERBIRD

New Member
Joined
Feb 18, 2016
Messages
6
Hi All , and thankyou in advance for looking at this problem. I am adding 2 cells together for an email address , first name , last name with a . inbetween , then the email address ;EG STEVE SMITH , it should read as steve.smith@blah.com.
However only on a few occasions there appears a space in between the
first name and last name EG: steve .smith@blah.com
I can't seem to work this out , can anybody help please.
Thanks again.
 

kweaver

Well-known Member
Joined
May 8, 2018
Messages
731
You may have inadvertently put a space after "steve"...click in the formula bar to see.

Or you could try this: =TRIM(H1)&"."&TRIM(I1)&"@"&TRIM(J1)&".com" where I have the first name in H1, last name in I1, and the domain in J1
 
Last edited:

LIVERBIRD

New Member
Joined
Feb 18, 2016
Messages
6
Hi kweaver, Thankyou it seems to work perfectly . I'm currently just testing it on 1000 lines .
 

LIVERBIRD

New Member
Joined
Feb 18, 2016
Messages
6
Hi kweaver, i tried replacing my Concantenate function in my table , and its not working .When i tried in a normal excel sheet it worked , but also it didnt have the underlined blue line. Hmm ill keep trying .
 

LIVERBIRD

New Member
Joined
Feb 18, 2016
Messages
6
Hi kweaver, it seems it's a formatting issue. It works when i start a new table .Thanks for you help . Jst trying to find where to close this thread !
 

Forum statistics

Threads
1,081,691
Messages
5,360,631
Members
400,592
Latest member
badgergurl

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top