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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel help
keithdc
Posts: 459 Forumite
in Techie Stuff
I have a large spreadsheet in excel.
For each row, i want to create a cell that contains key from other cells in the row. For example, i want to include the first cell characters from the cell in coumn two, and the last two characters from cell in column four.
Is there a formula to achieve this??
Thanks in advance for any help.
For each row, i want to create a cell that contains key from other cells in the row. For example, i want to include the first cell characters from the cell in coumn two, and the last two characters from cell in column four.
Is there a formula to achieve this??
Thanks in advance for any help.
0
Comments
-
I didn't understand the bit in bold. How many characters?I have a large spreadsheet in excel.
For each row, i want to create a cell that contains key from other cells in the row. For example, i want to include the first cell characters from the cell in coumn two, and the last two characters from cell in column four.
Is there a formula to achieve this??
Thanks in advance for any help.
=left(A2,n)&right(A4,2)
where n is the required number of characters.0 -
Thank you.... Is it possible to do something similar for, for example, the second, forth and fifth charcaters???0
-
=MID(A2,2,1)&MID(A2,4,2)
Explanation:
MID(A2,2,1) : go to A2, start at the second character, copy one character (i.e. just the second)
MID(A2,4,2) : go to A2, start at the fourth character, copy 2 characters (i.e. the fourth and fifth)
& : bung the two strings together into 1
so if A2 contains keithdc that'll return eth0 -
Nicely worked example there, Cookie.0
-
Thanks zenmaster, I know how scary complicated lots of Excel can look if it's a function you've not seen before.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards