• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Add numbers and text in one cell

See attached sheet. In E2, I am trying to combine the amount in column C with an abbreviation of the text in column B. Not sure how, and all I can find online is how to combine one amount with one abbreviation. I need them all in one cell. E2 shows the result I need. Thanks.
 

Attachments

  • Add numbers and text in one cell.xlsx
    8.4 KB · Views: 2
  • Add numbers and text in one cell.xlsx
    8.4 KB · Views: 1
  • Add numbers and text in one cell.xlsx
    8.4 KB · Views: 2
Here is a messy formula for the exact example provided.

=CONCATENATE(C2&VLOOKUP(B2,Sheet2!$A$1:$B$3,2,0)&", ",Sheet1!C3&VLOOKUP(Sheet1!B3,Sheet2!$A$2:$B$2,2,0)&", ",Sheet1!C4&VLOOKUP(Sheet1!B4,Sheet2!$A$1:$B$3,2,0))

This assumes a lookup table on Sheet2 that look like this:
Apples ap
Grapes gp
Oranges og
 
Back
Top