+ Reply to Thread
Results 1 to 2 of 2

Trying to combine multiple cells in multiple lines to one line with same cells as original

  1. #1
    Registered User
    Join Date
    05-25-2023
    Location
    California, USA
    MS-Off Ver
    16
    Posts
    3

    Trying to combine multiple cells in multiple lines to one line with same cells as original

    Hope this makes sense, I don't know the lingo. I have a workbook with about 800 enrty rows of data. Each row represents a purchased item in this case and event ticket. So If I buy 2 tickets, the report sends out date showing 2 rows, each for one ticket, the price, fees, donations, etc are the same for both rows, the rows are identical so if I try to take this data and plug it into any kind of summary report or pivot table, the sums I get at the end are many times the actual sales. For example if I bought half a dozen cookies and they were $1 each resulting an amount due of $6 but the bakery put each cookie in a seperate bag and each bah had a copy of the receipt for the whole order, If I take the cookie receipts and try to put them together to find out how much my cookies were there are 6 receipts each saying I owe 6 dollars so I records that I spent $36 on cookies! This is what is happening in my excel sheet. I need to take these multiple entry rows and return a single row that lists the quantity of cookies in the original rows but only the price once since it per order not per cookie. I hope this makes sense to someone, help please

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Trying to combine multiple cells in multiple lines to one line with same cells as orig

    you maybe able to setup a new column which divides by the count of rows - but need to see the data in a sample
    so if an order number then count the order numbers in the column and divide by the total

    6 orders - would be the count of receipts = 6
    amount would be $6 and then divide that by the count - back to 1 - now you can use pivot or other dashboard calculations

    A sample sheet would help here, and possibly will enable a quicker and more accurate solution for you.

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Last edited by etaf; 05-25-2023 at 05:44 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Replies: 3
    Last Post: 11-15-2020, 10:05 PM
  2. Replies: 5
    Last Post: 10-31-2017, 08:16 PM
  3. Replies: 1
    Last Post: 05-06-2016, 08:22 PM
  4. How to combine data from multiple lines into one line
    By MikeDbes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2016, 04:34 AM
  5. [SOLVED] Combine values from multiple cells into one cell, then delete duplicate lines
    By Ocean Zhang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2015, 07:01 PM
  6. Replies: 2
    Last Post: 09-19-2014, 03:47 PM
  7. Replies: 1
    Last Post: 09-18-2014, 05:17 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