+ Reply to Thread
Results 1 to 2 of 2

Formula - Convert cell information

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Ecuador
    MS-Off Ver
    Excel 2010
    Posts
    46

    Formula - Convert cell information

    Hi,

    I have 2 columns, one which includes the date and the other a sequence. Is there anyway to automatically use this information to create a third column that takes the date and sequence and converts into a standardised code?

    The code is SD-DDMMYY-SEQUENCE.

    So if in column A the date is 4 jan 2012 and the sequence is 02, the code generated would need to be SD-040112-02.

    I have attached an excel which shows what I would like the formula to do..

    Thanks,

    Leo
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Formula - Convert cell information

    D2="sd-"&text(b2,"ddmmyy")&"-"&text(a2,"00")
    try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert Cell Formula to Convert Text to VBA Code
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 05:51 PM
  2. [SOLVED] Need a formula that counts data in one cell based on information in another cell
    By tigergirl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2012, 11:44 AM
  3. [SOLVED] convert all the information from a part of a column to one cell with macro
    By keis386 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-06-2012, 03:37 PM
  4. Using cell information in formula?
    By Gruben in forum Excel General
    Replies: 2
    Last Post: 10-20-2005, 07:05 AM
  5. [SOLVED] Using cell information in formula?
    By Gruben in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-20-2005, 07:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1