+ Reply to Thread
Results 1 to 6 of 6

Need help moving data from one sheet to another

  1. #1
    Registered User
    Join Date
    08-12-2016
    Location
    US
    MS-Off Ver
    2013
    Posts
    33

    Need help moving data from one sheet to another

    I have a doc that I would like to have populate one from multiple sheets based on a yes or no or sold/denied not over write one another when moving the data to the one location.

    Here is what I have so far that is working on the Deaths and Live Subtraction sheets.

    =IFERROR(IFERROR(INDEX('Inventory Form'!C:C,SMALL(IF('Inventory Form'!$L$11:$L$1027="Yes",ROW($C$11:$C$1027)),ROWS($1:3))),INDEX(Newborns!C:C,SMALL(IF(Newborns!$I$10:$I$132="Sold",ROW($C$10:$C$132)),ROWS($1:3)-COUNTIF('Inventory Form'!$L:$L,"Yes")))),"")



    What I need is when died or sold is chosen from the purchased additions sheet to move the id's to the correct sheet, deaths or purchased additions . If sold is chosen it needs to take the ID's from the purchased additions page and add it to the live subtraction page in the id locations, if died is chosen then move the id's to the deaths page in the id locations, but not overwrite any of the other data being moved to these locations..

    I tried to add the following but it's not working INDEX(Purchased Additions !C:C,SMALL(IF(Purchased Additions!$M$10:$M$221="Sold",ROW($C$10:$C$132)),ROWS($1:3)

    I have attempted to attach my doc as I am sure it's easier to see there.

    Any help would be appreciated.
    Attached Files Attached Files
    Last edited by herbie000; 01-16-2018 at 05:52 PM.

  2. #2
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Excle Array forumal help

    A couple things.

    if died is chosen then move the id's
    Formulas cannot move anything. It may just be a matter of terminology you are using but I want to make sure that conceptually you understand the formula cant actually move anything. Basically the formula either returns a result or it returns an error. So we can create logic in formulas that causes a result for one formula and not another.

    It would for me at least, be helpful if you could provide a sample of expected results (manually entered) with an explanation of the logic to how you get the result. It would also be helpful to use references when explaining the location of formulas and information. In a couple places in your OP you mention acting upon some information to return a result without specifically stating locations of the information to be reviewed and/or where to return the result. It would help us help you to have those types of things explained in exact terms.

    You may also consider consolidating your sheets into a single sheet before trying to parse it out to other sheets. Excel shines when taking a single data set and breaking the information down. On the other hand databases are much better at creating relationships between separate tables/data sets and then working with it as a whole dataset.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,438

    Re: Excle Array forumal help

    Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    08-12-2016
    Location
    US
    MS-Off Ver
    2013
    Posts
    33

    Re: Excle Array forumal help

    I thought this was fairly clear esp if you take time to look at the doc-- sorry and thanks for responding.


    "What I need is when died or sold is chosen from the purchased additions sheet to move the id's to the correct sheet, deaths or purchased additions. If sold is chosen it needs to take the ID's from the purchased additions page and add it to the live subtraction page in the id locations, if died is chosen then move the id's to the deaths page in the id locations, but not overwrite any of the other data being moved to these locations."

    You are correct formulas don't "move" anything. I am not perfect with the terminology nor do I claim to be, if I was I would be helping here vs posing for help and getting me on track with terminology

    Sheets are already created and there are other items built that that move data from one location to another so I don't want to merge them back into one. But do agree if starting from day one it would be easier that way.
    Last edited by herbie000; 01-16-2018 at 06:04 PM.

  5. #5
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Excle Array forumal help

    Quote Originally Posted by herbie000 View Post
    I thought this was fairly clear esp if you take time to look at the doc-- sorry and thanks for responding.


    "What I need is when died or sold is chosen from the purchased additions sheet to move the id's to the correct sheet, deaths or purchased additions #1. If sold is chosen #2 it needs to take the ID's from the purchased additions page and add it to the live subtraction page in the id locations, if died is chosen #3 then move the id's to the deaths page in the id locations, but not overwrite any of the other data being moved to these locations."

    You are correct formulas don't "move" anything. I am not perfect with the terminology nor do I claim to be, if I was I would be helping here vs posing for help and getting me on track with terminology

    Sheets are already created and there are other items built that that move data from one location to another so I don't want to merge them back into one. But do agree if starting from day one it would be easier that way.
    1. Where on the sheet, can I put them in cell AXZ49?
    2. Chosen where, appears on many sheets?
    3. Chosen where, appears on many sheets?

    I want to point out I am not trying to be argumentative. The only thing we have to go by to help you is your written posts and your sample file. The more detailed you explain things the better (cell references, sheet names, column/row headers, etc). Much of the file you take for granted because its your file (so you understand why it is as it is), but understand we have never seen it before, have no idea what your goals are, no idea what other considerations there may be, nor anything to compare it to to know its working properly other than what you tell us. I only pointed out the terminology so that we are speaking to each other in like terms, as you very well could have meant to move the data (which is perfectly valid, albeit by other means).

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help moving data from one sheet to another

    Try to use PowerQuery

+ 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. [SOLVED] SumIF forumal with INT()
    By Buzz1126 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2017, 11:42 AM
  2. Rag rating forumal help please
    By TrainerJ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2014, 10:33 AM
  3. speed up sum if array formula with VBA??
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2013, 01:32 PM
  4. What type of should I uses? Forumal or VB
    By tinkertron in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2009, 02:40 PM
  5. Re: Seeking Help with a forumal.
    By Randy Harmelink in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2006, 05:45 PM
  6. [SOLVED] forumal does not work
    By in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-10-2005, 10:15 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