+ Reply to Thread
Results 1 to 5 of 5

Need Formula from I2 column for Each Federation Each Code

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

    Need Formula from I2 column for Each Federation Each Code

    Each Federation Name should be come with separate state and federation code like mentioned I column
    Need Formula from I2 column
    Attached Files Attached Files

  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,858

    Re: Need Formula from I2 column for Each Federation Each Code

    In I2:

    =LEFT(VLOOKUP(F2,TRIM($G$2:$H$13),2,0),2)&SUM(IF(F$2:F2=F2,1/(COUNTIFS(F$2:F2,F2,J$2:J2,J$2:J2)),0))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

    Then copy down.
    Attached Files Attached Files
    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 Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Need Formula from I2 column for Each Federation Each Code

    Or try in I2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is also an Array-formula, so confirm the formula with Ctrl+Shift+Enter.
    Attached Files Attached Files
    Last edited by HansDouwe; 12-19-2023 at 04:56 AM.

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

    Re: Need Formula from I2 column for Each Federation Each Code

    Its not working mam, K14 and K16 and K17 should be TN1 but it shows TN2. Aligw mam.

  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,858

    Re: Need Formula from I2 column for Each Federation Each Code

    Then go with the other option offered by Hans.

+ 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] Need VBA code to fill formula across row and column end
    By MicroTees in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2023, 10:22 AM
  2. [SOLVED] VB Code to create Formula in each cell of column
    By rmomin in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-10-2022, 02:22 PM
  3. Merge 2 formula for specified column in vba code
    By fakhteh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2020, 07:39 AM
  4. [SOLVED] VBA Code For shifting of formula to next Column
    By leo73pk in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-04-2020, 12:23 PM
  5. writing vba code to fill in column of sheet, formula works vba code will not
    By pdx2245 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2019, 05:15 PM
  6. Need a VBA formula or code to extract a name from a column onto a new one.
    By obimon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2018, 08:07 PM
  7. Need a code that looks at the results of a formula in column A and copies row
    By AndyMay in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-29-2012, 04:07 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