+ Reply to Thread
Results 1 to 8 of 8

Help on Transpose the Rows conatining specific words automatically...

Hybrid View

  1. #1
    Registered User
    Join Date
    02-07-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Question Help on Transpose the Rows conatining specific words automatically...

    Hi

    I have an excel sheet with approx 700 rows in which the record of bill payments made by the customers against their different phone numbers. I have to issue the customer a consolidated receipt with the numbers printed on the same. I have consolidated the date, Customer number and the total amount paid by him. But I am unable to get the phone numbers copied to the new rows corresponding to the customer name via Transpose command. I can do this manually but I want to get this automatically. A sample file is attached herewith for further reference and the results required. I am not familiar with formulas of excel but i have learn a lot from this forum. Kindly help to solve the given problem.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Help on Transpose the Rows conatining specific words automatically...

    Hello neetu in After sheet in B2 copy and paste below
    =INDEX(Before!$B$2:$B$500,MATCH(0,INDEX(COUNTIF($B$1:B1,Before!$B$2:$B$500),0),0)) and drag down

    in AFter sheet A2 copy and paste below and drag down
    =IFERROR(INDEX(Before!$A$2:$A$500,MATCH(Sheet1!B2,Before!$B$2:$B$500,0)),"")

    for amount in C2 copy paste below
    =SUMPRODUCT(--(Before!$B$2:$B$500=Sheet1!B2)*(Before!$D$2:$D$500)) and drag down

    for numbers in D2 to right side copy paste below
    =IFERROR(INDEX(Before!$C$2:$C$500,SMALL(IF(Before!$B$2:$B$500=Sheet1!$B2,ROW(Before!$B$2:$B$500)-1),COLUMNS($A$1:A1))),"")
    then hold control and shift together and hit enter now release all three keys to make it array formula
    Then drag formula down and to the right side.

    Click " * " add reputation icon in the bottom left corner of my post if this helps
    Attached Files Attached Files
    Last edited by hemesh; 02-08-2014 at 09:23 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    02-07-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Help on Transpose the Rows conatining specific words automatically...

    Thanks Hemesh for the prompt reply... but one thing that I forgot to mention that there is also some data with same customer name but in different dates. How can I solve that. Again sample file is attached herewith for reference.
    Attached Files Attached Files
    Last edited by neetu_fzr; 02-08-2014 at 11:36 AM.

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Help on Transpose the Rows conatining specific words automatically...

    Hello Find attached !
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-07-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Help on Transpose the Rows conatining specific words automatically...

    Thanks again for helping but Hemesh have you noticed one thing that the values in the column J6 to M6 should be present in Column D7 to G7 because the payment of these numbers were made on different date.

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Help on Transpose the Rows conatining specific words automatically...

    Neetu Gimme some time I Will go through and Respond You back!

  7. #7
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Help on Transpose the Rows conatining specific words automatically...

    Hello Neetu!
    in After sheet at D2 copy paste below
    =IFERROR(INDEX(Before!$C$2:$C$500,SMALL(IF(Before!$B$2:$B$500&Before!$A$2:$A$500=After!$B2&After!$A2,ROW(Before!$B$2:$B$500)-1),COLUMNS($A$1:A1))),"")
    Hold control and Shift together then hit enter. Now drag down and Drag to the Right

  8. #8
    Registered User
    Join Date
    02-07-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Help on Transpose the Rows conatining specific words automatically...

    A very big thanks again Hemesh...

+ 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. Extract rows to another sheet based on specific words + auto updates
    By scooter2012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2022, 09:17 PM
  2. [SOLVED] Macro delete rows containing specific words
    By mcranda in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2013, 05:14 PM
  3. [SOLVED] Transpose Rows to Columns VBA Code and delete specific account numbers
    By cowboys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2012, 06:10 PM
  4. Replies: 1
    Last Post: 07-13-2012, 08:17 AM
  5. [SOLVED] Transpose Columns to Rows (automatically inserts new rows)
    By kichkichkich in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-28-2012, 05:38 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