+ Reply to Thread
Results 1 to 4 of 4

Moving data only based on text content in reference cells

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Norway
    MS-Off Ver
    Office 365 on mac
    Posts
    3

    Moving data only based on text content in reference cells

    Hi.

    EDIT: New attachment with correct excel file, the wrong uploaded screenshot is removed

    I have a challenge/problem...

    I want to move data from D colomn to J through M columns, based on customers name in I, matched up against customers name in E, regardless of the order of customers in E.
    The only "static" columns are I, and cells J1 through M1
    There will only be one itemX for each costumer, but the order is random.
    The moving of values is in other words based on the reference text in E column and A column
    Hard to explain, but I thing the screenshot will make it clearer.
    Anyone? Thanks!
    Attached Files Attached Files
    Last edited by ordietel; 11-14-2017 at 07:30 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Moving data only based on text content in reference cells

    welcome to the forum. do upload an excel sample so that we do not have to manually key in your data to do a testing.

    input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand. your explanations dont seem to match what you input there. why is K2 = D3. K2 is for Customer1 and Item2. D3 is Customer3 for Item2.

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    if i really guessed it wrongly, please upload something according to my recommendations. try to use the solution i have given and we'll help to advise what went wrong.

    in J2, this gives you what you have on the screen
    =INDEX($D:$D,1+COLUMNS($J$2:J2)+(ROWS($J$2:J2)-1)*4)

    or in J2, this gives the particular customer and item number:
    =SUMIFS($D:$D,$E:$E,$I2,$A:$A,J$1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-14-2017
    Location
    Norway
    MS-Off Ver
    Office 365 on mac
    Posts
    3

    Re: Moving data only based on text content in reference cells

    Thankst for answering. The uploaded file was misleading, since it was wrong. Excel file uploaded instead

  4. #4
    Registered User
    Join Date
    11-14-2017
    Location
    Norway
    MS-Off Ver
    Office 365 on mac
    Posts
    3

    Re: Moving data only based on text content in reference cells

    Quote Originally Posted by benishiryo View Post
    or in J2, this gives the particular customer and item number:
    =SUMIFS($D:$D,$E:$E,$I2,$A:$A,J$1)
    ...and this solved it. Thanks!

+ 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: 5
    Last Post: 05-31-2017, 08:12 AM
  2. [SOLVED] Moving Rows based on cell content
    By billisnice in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-30-2015, 12:17 AM
  3. [SOLVED] remove cell content based on another cells text
    By toneNFFC in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-20-2015, 10:13 AM
  4. [SOLVED] remove cell content based on another cells text
    By toneNFFC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2015, 08:02 AM
  5. Moving data between sheets based on data content
    By usingexcelnow in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2013, 06:44 PM
  6. [SOLVED] Display text based on content of 3 cells
    By smugglersblues in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-20-2012, 12:25 PM
  7. Moving rows to another worksheet based on content of cell
    By 5tin@ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2005, 10:25 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