+ Reply to Thread
Results 1 to 6 of 6

Need a formula

Hybrid View

  1. #1
    Registered User
    Join Date
    01-27-2025
    Location
    Wales
    MS-Off Ver
    365
    Posts
    7

    Lightbulb Need a formula

    Hi, very stuck but determined to find a solution.

    I have on Sheet 1 on Column A a range of data relating to electrical cables. In column E each cable has No of cores. example below

    Cable No Type Size (mm2) No of Cores Counter
    P-MCC-001 4 4
    E-MCC-LET1 2 5
    C-BEA001 1 1 6
    C-SOU001 1 7



    Cable No Type Size (mm2) No of Cores Counter
    P-MCC-001 4 4
    E-MCC-LET1 2 5
    C-BEA001 1 6
    C-SOU001 1 7


    I've used =IFERROR(INDEX(Sheet3!A:A, MATCH(ROWS($A$2:A2) + 3, Sheet3!E:E, 1)),"Error")

    But that is given the wrong amount of rows.

    I'm trying to automatically pick up the data from A2 and transfer it onto Sheet 2 but by the number of cores for example:

    P-MCC-001
    P-MCC-001
    P-MCC-001
    P-MCC-001
    E-MCC-001
    E-MCC-001
    C-BEA001
    C-SOU001

    I've used a cumilative counter and IFERROR formula however it doesn't seem to work as the cumulative counter will start at 4 so i think its causing issues.
    Last edited by AliGW; 02-25-2025 at 07:18 AM. Reason: Urgency note removed. This is a free forum, not a paid service.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,434

    Re: Urgent! Need a formula

    If you think your problem is urgent, then you should do all you can to help the people who might help you. It would certainly help if you attached a sample workbook - you can do this by following the guidelines given in the yellow banner heading at the top of the screen.

    Hope this helps.

    Pete

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,074

    Re: Urgent! Need a formula

    Try this in your sheet2:

    =TEXTSPLIT(TEXTJOIN("||",TRUE,REPT(Sheet1!A2:A10&"||",Sheet1!D2:D10)),,"|",TRUE)

    Also, it would be nice to have thread title into something more descriptive
    Never use Merged Cells in Excel

  4. #4
    Registered User
    Join Date
    01-27-2025
    Location
    Wales
    MS-Off Ver
    365
    Posts
    7

    Re: Urgent! Need a formula

    My apologies, spreadsheet uploaded.

    Really appreciate the help
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,795

    Re: Urgent! Need a formula

    How about
    Formula: copy to clipboard
    =TOCOL(IF(SEQUENCE(,MAX(Sheet1!D2:D100))<=Sheet1!D2:D100,Sheet1!A2:A100,1/0),2)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,303

    Re: Urgent! Need a formula

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Formula Help - Urgent
    By pip_kay in forum Excel General
    Replies: 3
    Last Post: 05-31-2016, 07:21 PM
  2. [SOLVED] Urgent! Need to get one row out of that formula:
    By siggiwhite in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2015, 08:42 AM
  3. //// URGENT ///// Need a Formula
    By mk_santhosh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2013, 04:01 PM
  4. [URGENT][Help with a VBA Macro - Maximum with criterias][URGENT]
    By mahmoudmerhi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2013, 03:39 PM
  5. please help with this formula - its urgent
    By seia3a in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2012, 06:19 PM
  6. Urgent help on what formula I need to use
    By darlahi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2012, 08:22 PM
  7. Need a formula urgent please help :)
    By drago in forum Excel General
    Replies: 3
    Last Post: 08-06-2009, 07:03 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