We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel Formula Help - combining with sentence
 
            
                
                    aj9648                
                
                    Posts: 1,388 Forumite
         
             
         
         
             
                         
            
                         
         
         
             
         
                
                                    
                                  in Techie Stuff             
            
                    Hi
Struggling with combining text and formulas in excel. I have in cell A1 £165.97 and in A2 £0. Cell B1 is £20.03 and in B2 £0. I am trying to automate the sentence:
Basic gross pay above is inclusive of £20.03 (£165.97 plus 12.07%) holiday pay.
I have so far got the following:
="Basic gross pay above is inclusive of "&TEXT(A1+A2,"0.00")&" (B1+B2 plus 12.07%) holiday pay.
But the B1+B2 formula does not seem to work and also how do I get the £symbol in front of each?
Any excel experts?
                Struggling with combining text and formulas in excel. I have in cell A1 £165.97 and in A2 £0. Cell B1 is £20.03 and in B2 £0. I am trying to automate the sentence:
Basic gross pay above is inclusive of £20.03 (£165.97 plus 12.07%) holiday pay.
I have so far got the following:
="Basic gross pay above is inclusive of "&TEXT(A1+A2,"0.00")&" (B1+B2 plus 12.07%) holiday pay.
But the B1+B2 formula does not seem to work and also how do I get the £symbol in front of each?
Any excel experts?
0        
            Comments
- 
            ="Basic gross pay above is inclusive of £"&TEXT(A1+A2,"0.00")&" (£"&TEXT(B1+B2,"0.00")&" plus 12.07%) holiday pay." 
 If you are going to do this kind of thing a lot, a good tip is to use helper columns to store interim workings, it makes the formulas easier to write and understand. For example, you could put ="£"&TEXT(A1+A2,"0.00") into its own cell (say C1) and then refer to that in your sentence formula.0
- 
            Are your As and Bs the wrong way round to achieve what you want?
 Put the £ inside your text strings, i.e starting:
 ="Basic gross pay above is inclusive of £"
 (I'll get the rest of it in a moment):heartpuls Mrs Marleyboy :heartpuls
 MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote Proud Parents to an Aut-some son Proud Parents to an Aut-some son 0 0
- 
            This just worked for me:
 ="Basic gross pay above is inclusive of £"&SUM(A1:A2)&" (£"&SUM(B1:B2)&" plus 12.07%) holiday pay.":heartpuls Mrs Marleyboy :heartpuls
 MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote Proud Parents to an Aut-some son Proud Parents to an Aut-some son 0 0
- 
            Thanks - that's great. How do I make sure the result in formula is always only 2 dp?0
- 
            You can use the concagnate function, Google it Debt Free as of December 2020 👏 Debt Free as of December 2020 👏
 Save 12k in 2025 #6 - £300 / £3000
 MFW - 24 months shaved off the mortgage0
- 
            CreditCardJunkie wrote: »You can use the concagnate function, Google it 
 you mean CONCATENATE0
- 
            you mean CONCATENATE
 Who knows. Somebody has used the word concagnation in a few patent applications
 From https://patents.justia.com/patent/20110307171The process essentially concactinates co-linear segments and breaks the concagnation at points where the vehicle has turned.0
- 
            
 Go with Kuratowski's suggestion of having the sum somewhere else and fixing that to two decimal places before your full sentence?Thanks - that's great. How do I make sure the result in formula is always only 2 dp?
 Sorry, brain switched off from Excel at midnight and I don't have to think about it again until tomorrow now!:heartpuls Mrs Marleyboy :heartpuls
 MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote Proud Parents to an Aut-some son Proud Parents to an Aut-some son 0 0
- 
            
 Priceless.unforeseen wrote: »Who knows. Somebody has used the word concagnation in a few patent applications
 From https://patents.justia.com/patent/20110307171 Retired at age 56 after having "light bulb moment" due to reading MSE and its forums. Have been converted to the "budget to zero" concept and use YNAB for all monthly budgeting and long term goals.0 Retired at age 56 after having "light bulb moment" due to reading MSE and its forums. Have been converted to the "budget to zero" concept and use YNAB for all monthly budgeting and long term goals.0
This discussion has been closed.
            Confirm your email address to Create Threads and Reply
 
Categories
- All Categories
- 352.2K Banking & Borrowing
- 253.6K Reduce Debt & Boost Income
- 454.3K Spending & Discounts
- 245.3K Work, Benefits & Business
- 600.9K Mortgages, Homes & Bills
- 177.5K Life & Family
- 259.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards
 
         
 
         
