+ Reply to Thread
Results 1 to 13 of 13

Need to generate new code and new no. from given L column

  1. #1
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Need to generate new code and new no. from given L column

    Need to generate new code and new no. from given L column

    I have attached excel file and also with sample output i need formula for 2 J & K columns, please suggest me.
    Attached Files Attached Files
    Last edited by maddyrafi1987; 01-05-2024 at 03:33 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need Formula for J&K Column

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do with this formula.

    Please take a moment to consider amending your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Guideline #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need to generate new code and new no. from given L column

    I've looked at the workbook. You need to explain the logic. Once again you have offered the absolute minimum in terms of what you want and expect your halpers to work it out.

    This is not acceptable, especially as you have been told about it before. Explain in DETAIL what you want to happen and the logic you are applying.

  4. #4
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Re: Need to generate new code and new no. from given L column

    Mam, If Federationname column it shows 001 code and it having 3 (001) rows in different fed.name means then fed.code column should be 1,2,3. in fed no. & in fed. Code F1-001, F2-002, F3-003, for next new fed.name it should come like in fed. Code is 4 and fed. No is F4-028(that federation name code) and its repeated to next any rows means it will remain the same otherwise it should come other other rows newly
    Last edited by maddyrafi1987; 01-05-2024 at 03:49 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need to generate new code and new no. from given L column

    Can you please annotate the workbook with an explanation of each of the examples given?

  6. #6
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Re: Need to generate new code and new no. from given L column

    FederationNo FederationCode FederationName
    3 F3-001 001-Singampunari vattara vayalaga kootamaippu
    1 F1-001 001-Kottampatti vattara vayalaga kootamaippu
    2 F2-001 001-Nattarampalli uzhavar mamandram
    4 F4-022 022-Bodi vattara kalanjiam
    4 F4-022 022-Bodi vattara kalanjiam
    5 F5-002 002-Mudhukulathur vattara vayalaga koottamaippu

    If Fed. name is 001-Singampunari vattara vayalaga kootamaippu then fed. no. should be 1 and fed. code is F1-001 suppose it have 3 federation names starts with code 001 means then it should 2, F2-001 & 3, F3-001 etc.
    if another for new fede. is new means then it should be come like 4-F4-___ here what is the federation name code it should be display.. it should be go like this

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need to generate new code and new no. from given L column

    OK - you choose to ignore my request. Therefore I choose not to help. Your choice.

  8. #8
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Re: Need to generate new code and new no. from given L column

    I am having 3 columns fed. no, fed. code, fed. name, here i want to generate fed. no. & fed code to all fed. name given, here i want to generate like for first fed. is 001-Singampunari means then fed. no. is 1 and fed. code is F1-001,
    For second line fed. name is 022-Bodi vattara kalanjiam then fed. no is 2 and fed. code is F2-022
    For Third line fed. name is 022-Bodi vattara kalanjiam then fed. no is 2 and fed. code is F2-022
    For fourth line fed. name is 002-Mudhukulathur vattara then fed no is 3 and fed code is F3-002
    For fifth line fed. name is 003-Kadaladi vattara then fed. no is 4 and fed code is F4-003
    For sixth line fed. name is 010-Sedapatti vattara then fed no is 5 and fed code is F5-010
    For seventh line fed. name is 003-Kadaladi vattara then fed. no is 4 and fed code is F4-003

    Hope its clear

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need to generate new code and new no. from given L column

    I asked you to annotate the workbook. If you do that, I'll have another look. If you ignore the request, I won't.

  10. #10
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Re: Need to generate new code and new no. from given L column

    Mam, I have updated my earlier post, please have a look

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: Need to generate new code and new no. from given L column

    I asked you to update the workbook with annotations - this is NOT what you have done.

    Good luck! I have run out of time and patience, I am afraid.

  12. #12
    Forum Contributor
    Join Date
    04-11-2017
    Location
    Madurai
    MS-Off Ver
    2016
    Posts
    239

    Re: Need to generate new code and new no. from given L column

    I have given inputs in sheet2 page but i need answer in sheet 1 J&K column as like sheet 2 mentioned
    Attached Files Attached Files

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Need to generate new code and new no. from given L column

    In the file, on Sheet2, it states: "If 001 code having 3 rows means then fed.code column should be 1,2,3. in fed no. & in fed. Code F1-001, F2-002, F3-003..."
    However, in cell D2 displays 3 and cell E2 displays F3-001 instead of 1 and F1-001 respectively, which is what the above statement indicates.
    Please explain.
    I feel that once we understand how the Federation number column should be populated the Federation code column could be populated using: ="F"&D2&"-"&LEFT(F2,3)
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Formula to compare column duplicates in a column & second column with dates
    By lancelotlink in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-15-2022, 05:38 PM
  2. [SOLVED] Insert a new column and copy the column with formula in the left column to the latest col
    By Sakurayuki in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-27-2021, 11:29 AM
  3. Formula to look Column A and Column C and place Desired Outcome in Column E
    By bjnockle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2021, 11:22 PM
  4. Replies: 7
    Last Post: 11-03-2019, 07:57 PM
  5. [SOLVED] Formula to compare column 1 to column 2 and list items not in column 2.
    By mahalek1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-23-2016, 12:55 PM
  6. Replies: 2
    Last Post: 05-21-2015, 10:41 PM
  7. [SOLVED] need formula to this logic, A column number B column blank then C column desired name
    By vengatvj in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-02-2013, 10:30 PM

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