PC Review


Reply
Thread Tools Rate Thread

Adding text to the start of a formula

 
 
Joel
Guest
Posts: n/a
 
      9th Sep 2008
Hi I am trying to add text to the start of a forumula without success below
is what I am trying to use. Please help

Joel

=B2&"sold "&,=sum(D820)
--
N/A
 
Reply With Quote
 
 
 
 
Kent Prokopy
Guest
Posts: n/a
 
      9th Sep 2008
=A1&" Sold " &B1& " Bottles of coke."

returns:
Kent Sold 15 Bottles of coke.



"Joel" wrote:

> Hi I am trying to add text to the start of a forumula without success below
> is what I am trying to use. Please help
>
> Joel
>
> =B2&"sold "&,=sum(D820)
> --
> N/A

 
Reply With Quote
 
IanC
Guest
Posts: n/a
 
      9th Sep 2008
Just get rid of the ",=" before SUM.

=B2 & " sold " & SUM(D820)

The spaces I've added aren't strictly necessary, but makes it easier to
read.

--
Ian
--
"Joel" <(E-Mail Removed)> wrote in message
news:4AAD0040-4A16-4228-BD1A-(E-Mail Removed)...
> Hi I am trying to add text to the start of a forumula without success
> below
> is what I am trying to use. Please help
>
> Joel
>
> =B2&"sold "&,=sum(D820)
> --
> N/A



 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      9th Sep 2008
hi
close
=B2&" "&"sold"&" "&Sum(D820)
the exta " " are for spaces between the words and numbers.
worked in xp on tuesday.

regards
FSt1

"Joel" wrote:

> Hi I am trying to add text to the start of a forumula without success below
> is what I am trying to use. Please help
>
> Joel
>
> =B2&"sold "&,=sum(D820)
> --
> N/A

 
Reply With Quote
 
IanC
Guest
Posts: n/a
 
      9th Sep 2008
> =B2&" "&"sold"&" "&Sum(D820)
> the exta " " are for spaces between the words and numbers.
> worked in xp on tuesday.


A tidier way is to put the spaces either side of the "sold" string (ie "
sold "). it gets rid of 2 amperands and 4 double-quotes.

=B2&" sold "&Sum(D820)

--
Ian
--


 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      9th Sep 2008
Hi thanks for all your help I tried them all and all I get is a blank cell
with a £ sign in it more help would be appreciated

Joel
--
N/A


"IanC" wrote:

> Just get rid of the ",=" before SUM.
>
> =B2 & " sold " & SUM(D820)
>
> The spaces I've added aren't strictly necessary, but makes it easier to
> read.
>
> --
> Ian
> --
> "Joel" <(E-Mail Removed)> wrote in message
> news:4AAD0040-4A16-4228-BD1A-(E-Mail Removed)...
> > Hi I am trying to add text to the start of a forumula without success
> > below
> > is what I am trying to use. Please help
> >
> > Joel
> >
> > =B2&"sold "&,=sum(D820)
> > --
> > N/A

>
>
>

 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      9th Sep 2008
hi
you're right but i wanted them to show. which is why i pointed them out.
also give a better understanding of how it all works. sometimes the hard way
teaches more.

regards
FSt1

"IanC" wrote:

> > =B2&" "&"sold"&" "&Sum(D820)
> > the exta " " are for spaces between the words and numbers.
> > worked in xp on tuesday.

>
> A tidier way is to put the spaces either side of the "sold" string (ie "
> sold "). it gets rid of 2 amperands and 4 double-quotes.
>
> =B2&" sold "&Sum(D820)
>
> --
> Ian
> --
>
>
>

 
Reply With Quote
 
IanC
Guest
Posts: n/a
 
      10th Sep 2008
Hi Joel

What do you have in B2 and in D820?
In a spare cell, type =B2. Do you get what B2 contains?
Try the same thing with =SUM(D820). Is this correct?
Where does the £ sign come from? That's not in your formula, so I'm assuming
you've formatted as currency. If so, it shouldn't show the £ sign unless
there's something after it.

--
Ian
--
"Joel" <(E-Mail Removed)> wrote in message
news:287CAEF5-2763-4064-A070-(E-Mail Removed)...
> Hi thanks for all your help I tried them all and all I get is a blank cell
> with a £ sign in it more help would be appreciated
>
> Joel
> --
> N/A
>
>
> "IanC" wrote:
>
>> Just get rid of the ",=" before SUM.
>>
>> =B2 & " sold " & SUM(D820)
>>
>> The spaces I've added aren't strictly necessary, but makes it easier to
>> read.
>>
>> --
>> Ian
>> --
>> "Joel" <(E-Mail Removed)> wrote in message
>> news:4AAD0040-4A16-4228-BD1A-(E-Mail Removed)...
>> > Hi I am trying to add text to the start of a forumula without success
>> > below
>> > is what I am trying to use. Please help
>> >
>> > Joel
>> >
>> > =B2&"sold "&,=sum(D820)
>> > --
>> > N/A

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula for adding up 3 different start and finish times Shazza Microsoft Excel Worksheet Functions 4 24th May 2010 09:15 PM
adding text to the end of a formula Lodge Microsoft Excel Worksheet Functions 1 26th Jun 2009 12:36 AM
Adding text at the start of a cell N1KO Microsoft Excel Programming 2 11th Feb 2009 12:12 PM
Adding text to a formula =?Utf-8?B?aG9yc2VtYW4=?= Microsoft Excel Misc 3 19th Apr 2006 02:19 PM
adding text at the end of a formula alldreams Microsoft Excel Worksheet Functions 7 5th Feb 2004 03:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 AM.