Notices
Non Scooby Related Anything Non-Scooby related

Excel Help

Thread Tools
 
Search this Thread
 
Old 03 October 2001, 09:53 AM
  #1  
Bakerman
Scooby Regular
Thread Starter
 
Bakerman's Avatar
 
Join Date: Jul 2001
Posts: 523
Likes: 0
Received 0 Likes on 0 Posts
Angry

I should know this but ......

cell A1 is A
cell B1 is 4444

if I do ("0000000" + B1) in cell C1 then I have 0004444.

How do I get A0004444 ? Can't use concatenate as it uses the value held by Excel, not the format I have put it in.

Any ideas would be great, thanks
Old 03 October 2001, 10:11 AM
  #2  
Rob B
Scooby Regular
 
Rob B's Avatar
 
Join Date: Nov 2000
Posts: 87
Likes: 0
Received 0 Likes on 0 Posts
Lightbulb

If I'm reading your question correctly then you can put '000 in a cell somewhere away from the data in your columns. eg E1

Then (as long as each B value is 4 digits) enter as the formula CONCATENATE (A1&$E$1&B1). If you then want to copy this down the column for a number of rows you can do so. If some of the figures in column B are more than 4 digits, you'd need to specify another ref cell in the same way as E1, but with one less zero.

If this doesn't make sense, or isn't what you were after I apologise but its still a bit early!

Cheers,

Rob
Old 03 October 2001, 10:45 AM
  #3  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

Excel String formulae again

Use +A1&C1

This will add them together as text strings so keeping any formatting you have imposed.
Old 03 October 2001, 11:25 AM
  #4  
Bakerman
Scooby Regular
Thread Starter
 
Bakerman's Avatar
 
Join Date: Jul 2001
Posts: 523
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks gents, I was trying to use the FORMAT command, if I use the TEXT command it works a treat (don't need to format the cell before using the TEXT cmd).

eg. =A1&text(B1,"0000000") incase anybody else is interested.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: Excel Help



All times are GMT +1. The time now is 10:17 PM.