+ Reply to Thread
Results 1 to 12 of 12

Finding data in other sheet and splitting cells

  1. #1
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Finding data in other sheet and splitting cells

    Hello everyone,

    I am working in this spreadsheet for service work order, and I need to create a report for it and make sure that I have all the data. On sheet "Totals" is where the customer#, name (john) (smith) two separate cells, service date, and amount needs to come for the report. On sheet "Data" I have cust#, name (smith, john) one cell, and service date(which is a specific date). On the sheet "Amount" is their cust#, date of service (which could be several dates), and amount.
    On "Total" sheet, I need the following results...
    - I have customer number on column A
    - First name - column B (from data sheet)
    - Last name - column C (from data sheet)
    - Amount on the day according to data sheet - Column D
    - Date (from data sheet) - column E

    Any ideas on the code?

    Thanks!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    You will get an answer faster and reduce the number of questions and answers about your problem by attaching the workbook. Formatting, especially on invoices and the like, can create challenges to producing the final result. If you have sensitive or confidential information in the workbook, please make a copy of the workbook and either remove that information or change the names to protect the innocent.

    I grew up in Asheville. Where are you located in the Tar Heel state?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Finding data in other sheet and splitting cells

    Thanks Leith,

    Here is the sample book. I hope this will help understand my position.

    I am about 20mi west of Ashville, NC. Right on the foothills!

    Thanks for the help!
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    Thanks for the workbook. This makes things much easier. So are you near Canton or Haywood?

  5. #5
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Finding data in other sheet and splitting cells

    Forest City...

    Does that ring a bell to you?

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    I have been out there a few times. That was a long time ago back when I was teen. I should have this working within the hour.

  7. #7
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Finding data in other sheet and splitting cells

    Next time you come, let me know... I will take you to an awesome restaurant for a meal!

  8. #8
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    Want to double check that I am doing this right. All the information on the "Data" sheet needs to be transferred over to "Totals" sheet with the names being split, right?

  9. #9
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    Here is the macro. I have attached this to a button on the "Totals" sheet. If this isn't what you need, let me know.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Finding data in other sheet and splitting cells

    Great Leith,
    Thanks for the help.

    Now, when I put in my spreadsheet, I remembered, actually needs to be looked up by account number. For I have many accounts that are listed in the total and some on them might be dormant.

    Thanks for all your help!

  11. #11
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Finding data in other sheet and splitting cells

    Hello sentinela,

    Did you want to update the macro?

  12. #12
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Finding data in other sheet and splitting cells

    If you can that would be great!

    Thanks for all the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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