+ Reply to Thread
Results 1 to 10 of 10

Info in different columns in same row

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Info in different columns in same row

    Hello,

    I'm attaching a spreadsheet in which I need to see the values for "Company" and "Amount Paid" in the same row so that I can filter the data and manipulate it further. The actual report I have is almost 5,000 lines and each "Amount Paid" is a different number of rows down from the "Company". On the attached should be a better explanation of what is needed.

    If there is a better way to show the data in the same row than what I am currently attempting, please let me know.

    Thank you in advance.

    Company Pay Info.xlsx

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Info in different columns in same row

    Hello dlorenzo,

    Unfortunately, the spreadsheet you have provided does not include any data and therefore makes it impossible to offer you a solution.
    Try to upload a spreadsheet (10-20 rows) with accurate representation of your data and clear explanation of what needs to be calculated.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    05-24-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Info in different columns in same row

    Should be attached now. Sorry about that.
    Attached Files Attached Files

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Info in different columns in same row

    You sent the same file without data.

  5. #5
    Registered User
    Join Date
    05-24-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Info in different columns in same row

    I don't understand what is going wrong with this. I'm attaching the file as I always do. I see the file attached here, and it has data when I open it.

    I'm going to save the file under a different name and try one more time.

  6. #6
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Info in different columns in same row

    First, create this helper col which associates the company all the way through
    In E4: =B4
    In E5: =IF(ISNUMBER(SEARCH("Company",B5)),B5,E4)
    Copy E5 down to E31

    Then ...
    Put in K2, normal ENTER to confirm: =INDEX($D$4:$D$31,MATCH(1,INDEX(($E$4:$E$31=I4)*($D$4:$D$31="Amount Paid:"),),0)+1)
    Copy K2, paste into K15

    Put in I11: =INDEX($E$4:$E$31,MATCH(J11,$D$4:$D$31,0))
    Copy I11, paste into I30

    Above should return the results that you seek
    -----------------------------------------------
    Success? Celebrate it, click the little star at the bottom left of my responses

  7. #7
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Info in different columns in same row

    Not sure what's happening, but I was able to access your 1st post's attachment ... and have offered a solution

  8. #8
    Registered User
    Join Date
    05-24-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Re: Info in different columns in same row

    Works great, thank you. Sorry if I had issues with the uploads.

  9. #9
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Info in different columns in same row

    Weird. All I get is a Sheet1 with no data

  10. #10
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Info in different columns in same row

    Not sure what you meant by "no data", but Op's data scenario as posted in his Sheet1 is actually rather sparse

  11. #11
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Info in different columns in same row

    Glad it worked out ok for you. Do also take a moment to hit that little star at the bottom left of my responses, won't you?

+ 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. Find duplicate info in two columns and copy info from duplicate rows
    By USGS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2011, 07:31 PM
  2. Reading info in 3 columns
    By CTCoperations in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 05-24-2011, 10:50 AM
  3. Ability to sort by Sheet, Columns, Within those columns, and Operations on Info
    By TopC1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-22-2010, 10:43 AM
  4. Move info to columns
    By fguardia in forum Excel General
    Replies: 4
    Last Post: 07-29-2010, 07:01 PM
  5. [SOLVED] compare columns of info
    By john mcmichael in forum Excel General
    Replies: 0
    Last Post: 08-19-2005, 03:05 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