+ Reply to Thread
Results 1 to 9 of 9

Formula required to copy values in a Matrix as step down according to serial number

  1. #1
    Registered User
    Join Date
    11-07-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    84

    Formula required to copy values in a Matrix as step down according to serial number

    Dear All,

    I am using Excel 2013 and have a data set as shown in the sample attached

    I have the Before Data

    I would like to generate the output shown under the After

    I would like a formula in Cell H4 which I will drag across and down to get the required output according to the S.No

    Any help would be appreciated

    TIA
    Attached Files Attached Files
    Last edited by sameer79; 10-12-2019 at 02:03 PM.

  2. #2
    Forum Contributor
    Join Date
    10-13-2015
    Location
    Culloden, West Virginia
    MS-Off Ver
    2010
    Posts
    168

    Re: Formula required to copy values in a Matrix as step down according to serial number

    What are the conditions that cause each name to be populated?

    From what I see in your example, if the S.no and Item # match it = John

    if they are off by one that = Mary

    off by two that = Sam, and so on...

    Am I reading this correctly?

  3. #3
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Please try.

    H4
    Please Login or Register  to view this content.
    Regards.
    Last edited by menem; 10-20-2019 at 05:38 AM. Reason: Add code tags

  4. #4
    Registered User
    Join Date
    11-07-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    84

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Thanks Menem
    Super
    Post marked Solved, Rep Added

  5. #5
    Registered User
    Join Date
    11-07-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    84

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Dear Menem
    A small issue
    Can you modify the formula to look for Zero under the S No

    Please see the sample attached
    Thanks in advance
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Add more check zero before old formula.


    Regards.
    Attached Files Attached Files

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Please try at H4
    =IF($G5,IFERROR(INDEX($A$4:$E$4,COLUMNS($H5:H5)-$G5+1),""),"")
    Attached Files Attached Files
    Last edited by Bo_Ry; 10-12-2019 at 08:45 AM.

  8. #8
    Registered User
    Join Date
    11-07-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    84

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Dear Menem
    Thanks a lot
    Post Marked Solved

  9. #9
    Registered User
    Join Date
    11-07-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    84

    Re: Formula required to copy values in a Matrix as step down according to serial number

    Dear Ray
    Thanks a lot for your version too
    It works perfect
    Rep Added and Post marked SOLVED

+ 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] Macro required for copying above rows with formula, formatting, serial no.
    By mpsingh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2014, 02:18 PM
  2. How can I sum up values corresponding to a specific serial number?
    By rockways in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2013, 06:29 PM
  3. [SOLVED] Formulae required for serial number
    By accountant. in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-20-2013, 01:05 PM
  4. Directly print cell formula values step by step
    By SMM in forum Excel General
    Replies: 0
    Last Post: 07-08-2010, 08:27 PM
  5. print cell formula values step by step
    By SMM in forum Excel General
    Replies: 2
    Last Post: 05-26-2010, 03:58 AM
  6. Formula required - matrix!
    By drreamsurfer in forum Excel General
    Replies: 4
    Last Post: 01-05-2009, 09: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